Manjaro Grub inside UEFI BIOS option

Hello All,

I just installed manjaro-kde-20.0.3-200606-linux56 in my HP laptop model 17-bs049dx. I already have Windows 10 and Linux Mint 20. I am writing this from Linux Mint as I could not configure Manjaro wifi. Manjaro wifi setup will be next. But first, after installation I found Manjaro is not there in first grub menu. There is a new entry UEFI setting. Inside UEFI setting there is another option - BIOS options. Inside BIOS option, there is another menu where Manjaro is one option. Inside Manjaro option, there is Manjaro grub menu.
How could I get Manjaro grub menu first?
Please help.

Thanks.

You might try grub-customizer... but it sounds like you are booting using Mint20 as the Primary OS. If that is the way they were installed then that's the way they are most stable running. Playing with grub often results in serious errors. A tiny style issue link Mint shows up before manjaro in grub is many times best left alone.

1 Like

Thanks for your reply. But how do I use grub-customizer? Also from where should I use it, Manjaro or Mint?
It's really difficult to go through so many layers to get to Manjaro. It's not so for any other distros. There must be some way to get them under one grub menu at the beginning. I do not want to remove Manjaro without giving it a try.
Please help.

Thanks.

Are you using a mixed EFI and MBR boot?

What's mixed EFI?
At the time of installation it didn't ask me where to put grub. So I guess it's not MBR. The Manjaro grub menu is inside UEFI setting option (as I mentioned). So I think it must be EFI. I don't know if it's mixed or not. I installed Linux Mint as MBR boot. Windows 10 preinstalled came with laptop.
However, I can see all the OSes inside UEFI setting inside BIOS option. Also, along with Manjaro, I am able to boot into those OSes from Manjaro grub menu.

Thanks.

Mixed in this context means you have installed both EFI based system and MBR based system.

This is why.

Boot your Linux Mint - then open a terminal and list the content of /sys/firmware/efi. If your output is similar to below - you are using EFI. Repeat with Manjaro.

➜  ~ ls /sys/firmware/efi
config_table  esrt              fw_vendor  runtime-map
efivars       fw_platform_size  runtime    systab

I am almost certain that Windows is installed as EFI - mostly because Secure Boot only works with EFI.

In theory it is possible to change your grub menu by editing the files in /etc/grub.d but there is so many places such edit can go wrong - and when it goes wrong - it may render your system not bootable.

And for the record - I have no idea how to do it.

Yes, they are almost same.

ls /sys/firmware/efi

Mint

config_table
efivars
esrt
fw_platform_size
fw_vendor
runtime
runtime-map
systab
vars

Manjaro

config_table
efivars
esrt
fw_platform_size
fw_vendor
runtime
runtime-map
systab

Thanks.

Please post the output of:
efibootmgr -v

I did this from Linux Mint as I have wifi here.

BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0002,2002,3002,0001,0000,2004
Boot0000* manjaro HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\manjaro\grubx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0002* ubuntu HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot3002* Internal Hard Disk or Solid State Disk RC

If it's needed I can do it again from Manjaro.

Thanks.

1 Like

We can try the following command to set manjaro at the top of the boot order:

sudo efibootmgr --bootorder 2001,0000,0002,2002,3002,0001,2004

Hopefully after running the command and rebooting you will get Manjaro's Grub boot menu as default.

:arrow_right: Edit: corrected the boot order

Nothing happened.

sudo efibootmgr --bootorder 2001,0002,0000,2002,3002,0001,2004
Invalid BootOrder order entry value 2001,0002,0000,2002,3002,0001,2004
^
efibootmgr: entry 2004 does not exist

sudo efibootmgr --bootorder 2001,0002,0000,2002,3002,0001

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0002,0000,2002,3002,0001
Boot0000* manjaro
Boot0001* Windows Boot Manager
Boot0002* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot3002* Internal Hard Disk or Solid State Disk

efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0002,2002,3002,0001,0000,2004
Boot0000* manjaro HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\manjaro\grubx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0002* ubuntu HD(1,GPT,50c70081-2413-42d7-9dd3-e61fd681eafc,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot3002* Internal Hard Disk or Solid State Disk RC

Thanks.

I am sorry. There was an error in the boot order in the command I gave before (see the edit). Please try again:
sudo efibootmgr --bootorder 2001,0000,0002,2002,3002,0001

I saw that. I tried again. But nothing happened.

I think, I should make myself clearer. I do not need the change in boot order. Right now, when I start my laptop Mint grub menu appears. Inside that menu UEFI setting and so on. Deep inside there is Manjaro grub/boot menu. I need that Manjaro grub menu to be there when I start my laptop, in stead of Mint grub menu.

Thanks.

That is what was supposed to happen when you ran that command. I don't know what might be going on. Perhaps other forum members looking in will have some ideas.

I assume that you have run sudo update-grub from within mint. That would allow mint to detect Manjaro and add it to the top level grub menu. However, that still won't work, because Mint doesn't (yet?) know how to boot Manjaro (except for Manjaro's fallback option under the advanced menu.)

Let Manjaro be first in boot order (control grub) as it can boot the other OS's without drama. Which ever OS control's grub needs to run update-grub whenever the kernels change anywhere else on the system.

I ran update-grub from Manjaro too. When I rebooted after update-grub, no menu appeared. So I went to BIOS option, boot into Mint, ran update-grub there and restored Mint grub menu at the beginning. I know I have to run update-grub from Manjaro. But before that, do I have to do something, as the Manjaro menu is residing deep inside?

Thanks.

If Mint is not detecting Manjaro, it is possible that os-prober is either not installed or was explicitly disabled in /etc/default/grub. Mint enables it by default at least in my setup. But if Mint's grub menu shows windows, then os-prober is probably working. Were there any errors during the Manjaro install?

If you used grub-customizer in Mint, then run it again (in Mint) and add Manjaro to the menu. This is an example of why grub-customizer is not generally recommended here, because it usually causes extra complications sooner or later. But it's is not clear that you used grub-customizer.

Otherwise, I'm out of ideas. I use Manjaro's grub menu on my desktop with Manjaro, Windows, Mint and various guest Linux's(distro hopping.) The biggest hassle I have with multi-boot is remembering to update-grub from Manjaro when something changes grub.cfg in one of the other Linux's.

Do you mean this went straight to Manjaro's desktop or login screen?

Mint is detecting Manjaro. But I am not able to boot into Manjaro from Mint grub menu. If I select Manjaro, it freezes. I don't know how to see Manjaro boot process. In Mint, if I press ESC key during boot, it shows each step. But it Manjaro I don't know how to do that. So I cannot tell you where it gets stuck.
I am not using grub-customizer.

Thanks.

I did update-grub in Manjaro and when I restarted Mint grub menu didn't appear and a blank screen appeared. So I went to BIOS setup, from there boot into Linux Mint and did update-grub there.

Thanks.

This is a known limitation of "other" linux's. Manjaro and Arch load CPU micro-code fixes as part of the boot process, unlike most other linux. Grub 2.04 supports the arch/Manjaro booting variant, but earlier versions don't (many Debian based distros are still on grub 2.02 or 2.03)

But if you use the fallback initramfs boot option under Advanced Options for Manjaro you should be able to boot Manjaro from Mint. If that still ends up in a black/blank screen after a couple of minutes, then there is probably a graphics driver issue. If the blank screen still happens, please provide the output from
inxi -Fxxxza --no-host
(from Mint is fine.)

Forum kindly sponsored by