Dual-Boot [SOLVED]: How would grub2 be affected when deleting the main OS?

Dual-Boot [SOLVED]: How would grub2 be affected when deleting the main OS?

Home Forums Dual Boot Dual-Boot [SOLVED]: How would grub2 be affected when deleting the main OS?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36098

    Anonymous

    QuestionQuestion

    So I was wondering what would happen to grub2 if someone uses several OSes on the same computer and then deletes one of them?

    For instance I installed Elementary OS and Ubuntu 16.04 and now the computer uses the grub2 that Elementary OS installed.

    What would happen if I decided to delete Elementary OS and keep using my computer with only Ubuntu?

    Would there be errors while booting?

    #36099

    Anonymous

    Accepted AnswerAnswer

    Yes, since grub’s config file is usually stored in the /boot folder of the OS that installed it, deleting that OS would cause grub to fall into rescue mode. It can easily be repaired though.

    The best method to avoid problems, is to boot an OS that you are keeping. Reinstall grub from that OS. Then, delete the OS you are removing and update grub.

    Source: https://askubuntu.com/questions/986897/how-would-grub2-be-affected-when-deleting-the-main-os
    Author: ravery
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.