remove 1st HD
I have two HDs with different versions of linux on each. Grub is on the MBA of hda. I need to remove hda and promote hdb to hda.
Can I do anything before I do this so that once done, I will be able to bring up the new hda (the old hdb)? Thanks! |
i guess you should change grub and install it to current hdb.
|
You could change an option in GRUB so that hda thinks it is hdb, and vice versa. However, I would suggest changing your bootloader to reflect the changes in disc position and boot from a rescue medium, mount the partition that contains your /etc/fstab file and edit it accordingly (ie change all hdas to hdbs, and vice versa). Save the file. Reboot.
|
oh yeah - i forgot to mention the fstab. :p i had to do the same exact thing when i removed my windows hda and made my linux hdb the new hda, except i use lilo. but overall the process was very easy. just make the necessary changes to grub, fstab, and your MBR as Thymox and i have outlined here and it should work fine.
|
I booted hdb, ran grub and used /dev/hdb as the target.
I then went to /boot/grub/ and edited grub.conf so that the original (hd0,0) entries were removed and then changed the (hd1,0) to (hd0,0). I powered down, took out the old hda and made hdb -> hda and rebooted. It all works. Thanks for the help. |
All times are GMT -5. The time now is 10:52 AM. |