I have linux mint which I don`t need, besides my ubuntu. It resides on bootable partition. How do I remove it without destroying mbr?
2 Answers
- Boot to ubuntu.
- Format your bootable partition with gparted.
- In gparted set the bootable flag again to the formatted partition.
- Run
sudo update-grub
to reinstall grub.
Explanation: As there is no mint, grub won't detect the kernel, but it will reinstall itself to mbr with ubuntu kernel.
If you messed up everything and want to correct things. Boot a live cd and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && sudo boot-repair
You simply need to re-install grub. Boot Ubuntu and run
sudo grub-install /dev/sda