[NTLUG:Discuss] Copying Linux partitions
Jack Snodgrass
jack+ntlug at mylinuxguy.net
Wed Jul 23 19:55:35 CDT 2003
On Wed, 23 Jul 2003 19:17:24 -0500, Brett Grayson wrote:
> Its been years since I've messed with something like Symantec Ghost...
> but does anyone know if it, or any other program can be used to 'image'
> your linux partitions?
>
> I have an identical size drive that I would like to swap with the boot
> drive on my RH8 file server ... any suggestions? I'd rather not have to
> rebuild the thing, I'm just moving in a faster drive.
>
> As usual, any help is appreciated. If you would like, you can argue
> about ghosting etiquette for the next week :) ... I prefer to start from
> the bottom of the sector!
If the drive was a different size... ( or if the partimage program from
the other thread doesn't work ) you could do something like:
make a boot floppy
mount your new drive,
format it
partion it as desired ( maybe you want to change the size
or type of the partitions )
mount your new drive as /mnt/img
use rsycn to copy / to /mnt/img your new drive.
remove the old drive.
boot with the boot floopy and re-run grub or lilo
this is what I did to go from a 60Gig /dev/hda drive to
200Gig SATA /dev/hde drive.
jack
More information about the Discuss
mailing list