View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 24 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sun Jun 11, 2006 11:22 pm 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
neutron68: I resized my partitions everytime I upgraded my dirves and never had a problem with LILO. Have you checked your partitons to verify that there are no errors on it before using Ghost?

I resized all partitions (except for the SWAP) to larger sizes.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 2:57 am 
Offline
Joined: Sat Aug 21, 2004 1:12 am
Posts: 32
Location: Sydney, Australia
I used g4u and gparted. g4u to copy from the old drive 160GB to the new drive 300GB and then gparted to resize the /myth partition. Both programs have bootable ISO images. I used a CD-RW. gparted may be able to copy and resize in one process. I didn't know about gparted until after I used g4u, which does not resize partitions.


Top
 Profile  
 
PostPosted: Tue Jun 13, 2006 9:44 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
The clone hard drive made with Ghost 2003 booted fine after fixing LILO.
I used the Ultimate Boot CD to boot the computer - I chose "Tom's boot disk" from the UBCD menu.

Here's the summarized procedure:

- Cloned the partitions from drive 1 to drive 2 with Ghost 2003 - resizing partitions as desired
- I swapped out drive1 and changed drive2 to be the master drive
- I Booted with UBCD
Code:
mkdir /mnt/partition1
mount -o rw /dev/hda1 /mnt/partition1
chroot /mnt/partition1
cd /boot
/sbin/lilo -v
exit
reboot

...and all worked

I would like to know how the other person avoided having to fix LILO after using Ghost 2003. The one-step operation is the goal.

Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 07, 2007 5:22 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Quote:
I used the Ultimate Boot CD to boot the computer


Just an FYI, I used the KnoppMyth's install CD quitting out of the install menu and then using neutron68's instructions. Just a little quicker if you don't have access to UBCD. The /mnt/hda1 directory already existed.

Code:
mount -o rw /dev/hda1 /mnt/partition1
chroot /mnt/partition1
cd /boot
/sbin/lilo -v
exit
reboot


Top
 Profile  
 
 Post subject: fixing lilo
PostPosted: Tue Jun 26, 2007 8:57 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
What am I doing wrong? I used this code to fix lilo after using Ghost 2003 to copy a R5D1 Knoppmyth drive 6-9 months ago. Now, it doesn't work with R5E50 or R5F1

Code:
mkdir /mnt/partition1
mount -o rw /dev/hda1 /mnt/partition1
chroot /mnt/partition1
cd /boot
/sbin/lilo -v
exit
reboot


I am currently using the Knoppmyth live cd to boot the pc and to get a command line to type the commands.

I get a warning that "/proc/partitions does not exist, disk scan bypassed".

After reboot, the Linux boot text complains that the drive is read only. HUH? Above I told it to mount the drive as read/write (the -o rw command).

I'm at a loss to understand why it worked before and doesn't work now?! See anything obvious?

For now, I'm going to run "fsck.ext3 -f /dev/hdb1" on my source drive, then copy the drive again to the hda1 drive and see if that helps any.

<update> It didn't help.

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject: Re: fixing lilo
PostPosted: Wed Jun 27, 2007 7:18 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
neutron68 wrote:
What am I doing wrong?


I did this today, and this is how:

    Perform a backup on the existing disk.
    Shut down the box
    Transfer the old disk to another channel and place the new one
    Perform a clean Knoppmyth install on the new disk, and setup.
    Become root
    Mount the old disk's /myth partition (e.g. "mkdir /mnt/olddisk && mount /dev/hdc3 /mnt/olddisk")
    copy the files from the old disk's /myth with "cp -pR /mnt/olddisk/* /myth/"
    perform a restore (KM will read the /myth/backup/* you just copied)
    Test, then shutdown
    Remove old disk


No need for ghost at all. Lilo is reinstalled when you reinstall and will work.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject: Re: fixing lilo
PostPosted: Wed Jun 27, 2007 8:48 am 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
manicmike wrote:
No need for ghost at all.

For my application of cloning a working Knoppmyth install to another hard drive of a different size, I want to clone and resize partitions in the same step. In my searches I have not found another piece of software will clone and resize partitions at the same time.

In my previous Ghost clone/resize ventures, I was cloning from a smaller hard drive to a bigger hard drive. This time, I am moving from an 80GB drive down to a 20GB drive to free up the 80GB drive for other uses. (Before you ask: no, the big hard drive does not have more data on it than the target small hard drive will hold. :) ) Perhaps moving down to a smaller drive is the problem with LILO?

Last night, I tried using the gparted LiveCD to try and duplicate what Ghost does. Gparted will copy partitions and resize partitions, but it cannot do both these steps at once - making it impossible to clone from a big hard drive down to a small hard drive. (I have not tried Ghost4Linux, because I have read it cannot resize partitions.)

A friend just suggested that I use gparted to downsize the partitions on my source big hard drive before cloning them to the small hard drive. I suppose this will work for this instance where I am going to erase the big hard drive after a successful clone, anyway. I'll have to give this a try before I give up. But for future cloning, I will most likely want to leave the source hard drive untouched as a backup.

Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 27, 2007 8:11 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
More proof that questions come in clusters around here... ;-) http://mysettopbox.tv/phpBB2/viewtopic.php?t=15696 This thread links to a couple that discusses ways of doing this without anything extra like ghost. Yes, ghost will work, but there are other answers.


Top
 Profile  
 
PostPosted: Thu Jul 12, 2007 7:41 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
I took my Ghost 2003 problem to a new thread - and found a solution!

http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=15853

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu