Migrating to a new disk

Hadders fedora at workingwithit.com
Mon Nov 27 03:55:11 UTC 2006


Hi all,
  I have an old 120GB hard disk, and a much newer, 320GB hard disk.

I'd like to migrate my linux (FC5) setup to this newer disk, and also 
want to enlarge the partitions.

This may seem naive but can I....

i) Boot up using the FC5 linux rescue mode
ii) Manually partition the new disk, using fdisk
iii) Use e2label and set the labels to be the same on the new disk 
partitions as the old, what is the command to tell me the current labels?
iii) Mount both the old and new disks partitions into temporary 
directories I create
iv) Do a 'cp -Rv /old-part/* /new-part/' command? Will that get ALL 
files, including hidden dot files?
v) Edit the new copies, fstab and alter the mount points accordingly, 
that aren't using labels?

Any pointers will be appreciated.

Thank You.
Hadders






More information about the fedora-list mailing list