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?
- Boot to ubuntu.
- Format your bootable partition with gparted.
- In gparted set the bootable flag again to the formatted partition.
sudo update-grubto 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