How to get grub at boot to select between Windows and Manjaro?

Hello there!

Not sure how to explain this, but a friend installed Manjaro on a USB Hard drive, but still has Windows installed on his main drive, but he wants to have it so his system boots into Manjaro automatically, but not sure how to do that since grub doesn't appear at boot.

What he is currently doing is just booting into windows, going into advanced boot options once booted in, and clicking use a device and then booting into Manjaro that way

Is there anyway to get grub at boot to select manjaro there and not have to boot into Windows? In the boot priority in bios, these are the only options he gets, and "USB Hard disk" just tells him "No media detected"

Any help is greatly appreciated!

Check at your bios setup if there is a way to put manjaro entry in it.
If you cannot, tell us what is computer make and model.

Also at manjaro terminal, provide (print)

efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi

parted -l --> small 'L', not 'one'; all info of all disks, do not omit or truncate
If error message in any of above command, print error message and proceed to next command.

1 Like

Apologies for late reply, I believe this is what you wanted!

Efibootmgr6
https://pastebin.com/4jfMEwys

parted command
https://pastebin.com/YCVrc52v

blkind command
https://pastebin.com/KDRZd1SQ

findmnt command
https://pastebin.com/ZSZDNMjF

findmnt /boot/efi command
https://pastebin.com/LXys9Hxr

Just wondering, any problem with printing output and copy and paste on this forum?
Isn't that easier? For both of us?

First, is secure boot disabled?
Anyway, in Manjaro terminal, do this.

sudo efibootmgr -o 0002 0000
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi

At second command if error message says 'no directory /boot/efi/efi/boot', make directory and do again second command.

sudo mkdir /boot/efi/efi/boot

If you still have any problem, you did not tell us computer make and model. Tell us.
And have you tried to go to bios and see if you

Some have problems in their uefi firmware, some need working through their bios, some are tied in with microsoft and they won't boot non-shim linux efi (but there is a workaround)
When rebooted to manjaro PRINT again 'efibootmgr' from the terminal.

ps: I take it you no longer have ubuntu. After fixing this problem, you can remove ubuntu stuff.
After, not before; because we may want to use ubuntu shim entry to boot manjaro if the computer is tied in with microsoft.

sudo efibootmgr -b 0001 -B
sudo efibootmgr -b 000D -B
sudo rm -Rf /boot/efi/efi/ubuntu
2 Likes

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

Forum kindly sponsored by Bytemark