Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?