Dual boot win10/manjaro gnome lands me at grub menu

Installed windows 10, no issues there, after installing manjaro gnome I’m only able to get to grub command prompt
everything is using uefi, but it seems like grub does not install and/or update during install. Just as a test I installed ubutu and it works perfectly, installs and creates grub boot menu as it should. I can also install manjaro alone without installing windows first and there are no problems.


You read this, right?

Firstly, did you disable secureboot for your Manjaro installation? [1]
If you did, read this first post completely and do the [Additional UEFI commands] in step 6.

Since you are getting to the grub prompt, you can start at step 4 instead of using the install media.
If still having problems, look at the “Difficult UEFI setup” section and follow the links there.

[1] - the latest calamares installer should allow secureboot installation though I haven’t tested it.
(My setup is set to disable secureboot.)

Yes secure boot is off.

Continue reading the link. :grinning:
Oh, if at step 4, you cannot get the grub.cfg to appear,

check out (and assuming you do not have a separate boot partition)

grub> ls /boot/
copy out the vmlinuz and intramfs files like vmlinuz-4.14-x86_64 and initramfs-4.14-x86_64.img
note the correct one listed in your case.

then continue with

grub> probe -u $root --set=abc
grub> linux /boot/vmlinuz-4.14-x86_64 root=UUID=$abc rw
grub> initrd /boot/initramfs-4.14-x86_64.img
grub> boot

use the correct vmlinuz and initramfs files that you copied.
Continue from step 6.

Good night. I’ll hear from you tomorrow.

I followed the directions here and everything looked okay during the process however I’m still landing at grub command prompt. I’m able to boot into my install with:
grub> search.file /etc/manjaro-release root
grub> configfile /boot/grub/grub.cfg

I’m using my install right now. However even after grub-install and update-grub and all the additional steps I’m still no further ahead than before, other than I can now get into my manjaro install with the two grub commands above which is a start!

The guide also asked me to perform these commands and then post the output so here it is
Commands requested:
efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi

Output: https://pastebin.com/N1xS4sa4

Calling @gohlip! (One of our resident GRUB experts).

@gohlip?

Is there a program like boot-repair I can install on Manjaro?

Good night. I’ll hear from you tomorrow

Morning,
Will answer in a couple of hours later.
Need coffee.

Do not use boot repair, even if on Ubuntu.

What’s computer make and model?
Did you follow the links in the link?

Thank you!

Which of the additional commands have you tried?
Run this (again)

sudo efibootmgr -c -d /dev/nvme0n1 -p 2 -L "Manjaro" -l "\EFI\Manjaro\grubx64.efi"

and after that run this and post the output (no need for pastebin for this):

efibootmgr -v

You seem to have an Ubuntu entry as your “current” boot. You don’t have Ubuntu installed (now).

2 Likes

sudo efibootmgr -c -d /dev/nvme0n1 -p 2 -L “Manjaro” -l “\EFI\Manjaro\grubx64.efi”
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0004,0005,0000
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0004* WDC WD10EZEX-60WN4A0
Boot0005* Samsung SSD 960 PRO 512GB
Boot000B USB DISK 2.0 PMAP
Boot0010* WDC WD10EZEX-60WN4A0
Boot0011* Samsung SSD 960 PRO 512GB
Boot0016* hp v165w 1638
Boot0019* USB DISK 2.0 PMAP
Boot001A* WDC WD10EZEX-60WN4A0
Boot001B* Samsung SSD 960 PRO 512GB
Boot001C* hp v165w 1638
Boot001D* USB DISK 2.0 PMAP
Boot001E* TOSHIBA External USB 3.00
Boot0002* Manjaro

efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0004,0005,0000
Boot0000* Windows Boot Manager HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…l…
Boot0001* ubuntu HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* Manjaro HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\Manjaro\grubx64.efi)
Boot0004* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot0005* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot000B USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot0010* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot0011* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot0016* hp v165w 1638 BBS(HD,0x0)…BO
Boot0019* USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot001A* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot001B* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot001C* hp v165w 1638 BBS(HD,0x0)…BO
Boot001D* USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot001E* TOSHIBA External USB 3.00 BBS(HD,0x0)…BO

I do not have ubuntu installed anymore.

It seems now you have it working, but sometimes it fails again after boot.
So try reboot and see.
If it fails, get into Manjaro and post again the output of

efibootmgr -v
ls /boot/efi/EFI
2 Likes

It is still not working.

sudo efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0002,0001,0004,0005,0000
Boot0000* Windows Boot Manager HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…l…
Boot0001* ubuntu HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* Manjaro HD(2,GPT,aabde78f-5e12-4234-9b30-f5d18c70904f,0xe1800,0x32000)/File(\EFI\Manjaro\grubx64.efi)
Boot0004* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot0005* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot000B USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot0010* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot0011* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot0016* hp v165w 1638 BBS(HD,0x0)…BO
Boot0019* USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot001A* WDC WD10EZEX-60WN4A0 BBS(HD,0x0)…BO
Boot001B* Samsung SSD 960 PRO 512GB BBS(HD,0x0)…BO
Boot001C* hp v165w 1638 BBS(HD,0x0)…BO
Boot001D* USB DISK 2.0 PMAP BBS(HD,0x0)…BO
Boot001E* TOSHIBA External USB 3.00 BBS(HD,0x0)…BO

ls /boot/efi/EFI
Boot Manjaro Microsoft ubuntu

And is your ‘parted -l’ complete?
Omitted any disk? Need data of All disks.
Done “sudo update-grub” ?

@AgentS, thanks partner.
Haven’t seen you for a while.
Long road trip?

It would be helpful if you shared more words to describe the boot behavior…
What is the screen you go to?

OK, it is not an unknown problem but a weird case.
Well, in these weird cases you have no easy choice.
I assume you have used this command during your previous actions (it 's in the tutorial):

sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi

If not, this is the last easy choice.

The last sane choice is to see if you can set the boot order from UEFI menus. Some people reported that they could only get to this option after they assigned an Admin password to UEFI.

The other choice is to fake Manjaro bootloader as “ubuntu”.
If you want to try, do this:

sudo mv  /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/shimx64.efi
sudo cp /boot/efi/EFI/Manjaro/grubx64.efi /boot/efi/EFI/ubuntu/shimx64.efi
sudo efibootmgr -o 0001,0002,0004,0005,0000

I wish you luck!

2 Likes

What additional information is required that isn’t in my original post or the ones following? I guess I don’t know what I don’t know.

Will give what you said a try though.

What you just had me do worked perfectly. I now get exactly what what I need. Thank you kind sir, you’ve saved me from my own ineptitude.

Will I have to worry about any future updates messing this up?

Only if you do not pay good attention to the forum Update announcements. Remember, you are running a rolling-release. Learn safe practices.

Forum kindly sponsored by Bytemark