GRUB question. I want to delete the partition of the distro that installed GRUB...
I have two distros and windows installed. I only want one distro (I have decided on Ubuntu) and windows. But, the other distro, the one that I want to eradicate is the last one installed and it is its GRUB in the MBR.
I know what happens from experience if I just delete that partition with a liveCD - GRUB won't boot anything on reboot.
What do I need to do from within Ubuntu or the other Linux before deleting the partition of the second distro so that I have a working GRUB when I reboot ?
From within Ubuntu, you should be able to do sudo grub-install hd0.
If you run into problems, follow B4 in the "Grub Booting Tips" link in my signature. You'll need to know some partition information to make sure you setup the root correctly.
Then you should be able to just delete the other partition.
I suggest that before you delete anything, prepare a bootable USB drive or floppy drive with grub or other bootloader installed on it. Boot from that, and figure out how to load any of your installed OS's from it. Use the configuration that works from that device to recreate the grub installation after you remove the partition, bearing in mind that your partiton removal may alter the disk numbering/ordering seen by the bootloader. This will be a good learning experience about bootloaders.
|All times are GMT -5. The time now is 10:21 PM.|