Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted
  1. Boot to ubuntu.
  2. Format your bootable partition with gparted.
  3. In gparted set the bootable flag again to the formatted partition.
  4. 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

Boot-Repair

share|improve this answer

You simply need to re-install grub. Boot Ubuntu and run

sudo grub-install /dev/sda
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.