LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remove grub (https://www.linuxquestions.org/questions/linux-newbie-8/remove-grub-4175561254/)

klepow 12-11-2015 02:02 PM

remove grub
 
I have two versions of grub. One from an old distro of Debian Sarge, and one from an old version of Ubuntu. Nether of distros work anymore, but I keep getting the option, with the last one being Windows, which is the only thing currently working. I want to get rid of the two corrupt distros, which I don't think will be a problem, and install a modern distro. I just don't want any more grubs. I know I did this before. I just can't remember how.

NGIB 12-11-2015 03:14 PM

Install your new distro over top of one of the ones you want to remove. Boot the new distro and format the partition of the other distro you want removed. Once this is done, open a terminal and type: sudo update-grub

yancek 12-11-2015 03:55 PM

You need to install a new system and use its bootloader as suggested. Removing Grub before installing a new system is going to give you an unbootable machine as it is extremely unlikely your windows bootloader is booting both Linux systems. If you have the windows installation medium for whichever windows version you have you could install windows code to the MBR, that is, if you are using an MBR system. When you install another Linux system you will likely need to use the Grub bootloader to boot both as using windows is more complicated.

jamison20000e 12-11-2015 06:36 PM

Hi.

Back up your important data and yes, just install a* new GNU\Linux; wipe the others (I would do microcoughed's too but whatever :D) then install the distro* it will reinstall GRUB wiping the old one... and runs:
Code:

update-grub
to boot. ;)


All times are GMT -5. The time now is 01:16 PM.