help with moving to another hd
I have a 30GB drive that has the following config:
hdb1 - 5.5G - Reiserfs - /
hdb5 - 21G - Reiserfs - data partition
hdb6 - 2G - Swap
and I'v installed a 160GB drive as my pri master with the following config:
hda1 - 15G - FAT32 - Win XP
hda5 - 6.5G - Reiserfs
hda7 - 1G - Swap
hda8 - 100G - Reiserfs
The other partitions I'm planning to use for other OSes.
Anyway, I'm using GRUB as my boot manager and I believe it's installed into the mbr of my hda drive. But it's still set up to boot hdb1 and use hdb5 and hdb6 as my data and swap partitions.
I want to make hda5 my new /, and hda8 and hda7 as my data and swap partitions. I know I can just use a live cd to copy the data all over to each respective partition, and edit fstab on hda5 so that it uses the hda partitions, but how do I edit/update GRUB so that it boots hda5, and not hdb1?
For example, I can edit /boot/grub/menu.lst to use hda5 while I'm booted into hdb1, but then if I run update-grub, will that work? Or should I copy the data over, and then edit /boot/grub/menu.lst on hda5? In that case, how do I update GRUB?
Also, should I install GRUB onto the boot sector of /dev/hda5 in addition to copying the data over? Or should I do both - install it into the mbr of hda and the boot sector of hda5?
The other option I considered was to do a fresh install to hda5 and during the installation add hda8 and hda7 to fstab. I could then install and set up GRUB to be my boot manager, and once I can boot up fine to hda5, use the live cd to copy the data from hdb to hda. If I do this, are there any files I shouldn't overwrite or should manually edit after I copy the data over?
Thanks.
God bless
Hiran
|