Grub repair

After installing zorinOS 16 on the same sda disk (sda3) as another Linux distribution already installed on another partition (sda4), the hoped-for grub menu at boot time is not displayed.
Please let me know what Terminal commands to enter to restore it.

Does the other Linux Distro use SystemD boot?

If not; Can you please check your grub timeout:

sudo nano /etc/default/grub

Ensure it is set to 10

Test that you can pull up the Grub Menu at boot by tapping the esc or tab key (EFI Boot) or the Left Shift key (MBR Legacy - you can just hold this key down instead of stabbing at it) from the motherboard splash screen.
If that is working, then we likely do not have to repair grub.

Great, thanks for reply, yes grub timeout is set to 10 but it boots with the other menu grub I installed first, However, I would like to boot the PC to the GRUB menu of zorinOS.. All installed on UEFI Boot not legacy one.

What about

Hidden, Sir

Try setting that to menu.
Once done, tap ctrl+x, then the y key, then enter
Now, run

sudo update-grub

Reboot and test.

here is the menu grub...

If you change this file, run grub-mkconfig -o /boot/grub/grub.cfg

afterwards to update /boot/grub/grub.cfg.

GRUB_DISTRIBUTOR="Kali $(cat "/etc/Kali-version"|cut -d" " -f2)"

Uncomment to disable graphical terminal (grub-pc only)


The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo'


Font used on the graphical terminal:


Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux


Uncomment to disable generation of recovery mode menu entries


Enable os-prober to find other distros


Theme & Background


1 Like

I tried that before, but menu grub still boot from other distro, not zorinOS.

You can add the line if it is not present.
I see your other distro is Kali (Great OS). I do not think that should interfere with an Ubuntu based distro, but I am not certain on that.
You might try

sudo grub-install /dev/sda3

Then boot into Kali and run

sudo grub-install /dev/sda4

Reboot and see if you have access to the menu. Ensure that your Grub Files include
GRUB_TIMEOUT_STYLE=menu and if you add that line, to run

sudo update-grub

That really Should Work... The usual other cause of osprober failing to recognize a distro is if one is installed MBR and the other EFI.

Typing sudo update-grub shows kali found on dev/sda1, "the zorin distro is on sda4" but not shown after update done...

Ah ok, the OP said sda4. Please adjust the commands as needed.

receive my dearest greetings

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.