Grub Question (Solved)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Lendo

Grub Question (Solved)

Post by Lendo »

I have Mint 11 on sda and crunchbang on sdb. If I format sdb and run sudo update-grub, will my system boot? Or will I get error code 22 again?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
tdockery97
Level 14
Level 14
Posts: 5058
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: Grub Question

Post by tdockery97 »

You don't specify which OS is controlling your boot. Is it Mint or Crunchbang? If it is sdb then formatting it will indeed make it so that you cannot boot Mint. If that's the case, before formatting sdb, boot into Mint on sda, open a Terminal, and type:

Code: Select all

sudo grub-install /dev/sda
That will put Mint in control of the bootloader and you can format sdb without ill effect.
Mint Cinnamon 20.1
Lendo

Re: Grub Question (Solved)

Post by Lendo »

Thanks, that worked.
Locked

Return to “Installation & Boot”