On Monday 04 August 2008 21:52, Scarletdown wrote: > I'm going to be upgrading my primary hard drive (80GB) with a new 500GB > drive today. The old drive has 7 assorted partitions on it: > > /dev/hda1 - / > /dev/hda5 - /tmp > /dev/hda6 - /root > /dev/hda7 - /opt > /dev/hda8 - /var > /dev/hda9 - /usr > /dev/hda10 - /workspace > > So, what would be the easiest way to transfer everything from the old > drive to the new one? I remember from previous experience that just > doing a straight up copy from one to the other didn't work. I need to > copy and > 1: keep all permissions intact > 2: Copy my boot loader from the old drive to the new one > (unfortunately, I can't remember if GRUB went on the mbr or on the boot > record of the first partition)
I like to use cfdisk to play with partitions. It's in the gpart package. Consider using LVM2 for this. It makes life better. Read the LVM HOWTO in http://tldp.org . Leave the /boot outside of LVM. Do you really need all those different filesystems? For copying files, instead of cp, use rsync -axhP . -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]