0

I am pretty sure this is a common beginner mistake and it is already answered, but i couldn't find anything helpful.
So since this happened to me twice, I would like to know where my mistake is and what i can do to prevent this.
Also it would be awesome if there was a way of fixing this without losing my data.

What happened is, I created another ext4 partition alongside my existing Xubuntu system (consisting of a EFI and a ext4 partition) and then installed Peppermint on it (the first time this happened it was Windows 7, so i don't think the OS matters at all). Both OS worked perfectly fine, but when I decided to delete the new partition (the one with Peppermint), i couldn't boot it any more, instead it would show me a grub console where I could enter commands. I can still boot from a live Disc tho.

Thank you for helping and being an awesome community allaround. Johannds

1 Answers1

0

The issue is coming because your new distro (Peppermint) override grub boot loader (in your MBR). When you install your new distro, grub will use as boot partition the other ext4 partition.

The solution consists to ask newly installed distro do not install grub (not sure it's always possible). Then from your exiting Xubuntu, from Terminal, do a sudo update-grub which detect your new operating system.

When you want to delete your temporary operation system, delete the partition from Xubuntu, then run again sudo update-grub to clean up the old entries.

For now you have to repair your grub (not required to reinstall everything). You can follow this process :

https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd

ob2
  • 3,653