Manjaro doesn't boot after Windows 10 2004 update

Hi,

this is my first post here.

I have an Intel Nuc with a NVME SSD running Windows 10 and Manjaro uefi dual boot that i set up following this guide: [HowTo] Dual-boot Manjaro - Windows 10 - Step by Step

Today I ran the Windows 10 2004 update and the machine restarted a few times.
The problem is that I don't have the screen where I can choose which OS to boot. Windows 10 is booted immediately on every boot.
I have no chance to start a grub console or something.

This is what efibootmgrgives me on the Manjaro live system:
BootCurrent: 0005 Timeout: 1 seconds BootOrder: 0005,0006,0000,0004,0002,0003,0001 Boot0000* Windows Boot Manager Boot0001* Manjaro Boot0002* UEFI : LAN : PXE IP4 Intel(R) Ethernet Connection (6) I219-V Boot0003* UEFI : LAN : PXE IP6 Intel(R) Ethernet Connection (6) I219-V Boot0004* UEFI : Samsung SSD 970 EVO Plus 250GB : PART 5 : OS Bootloader Boot0005* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader Boot0006* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader

How do I get back the screen where I can choose to boot manjaro or windows?

Every hint is highly appreciated.

Thanks

In the live session, open a terminal and run the following command to change the bootorder:

sudo efibootmgr -o 0005,0006,0002,0000,0004,0003,0001

restart your system, without the live usb attached, to see if you get the Grub.

If not, again from the live post the ouput of the following commands:

sudo parted -l
(that is lowecase L)

efibootmgr -v

sudo blkid

Thanks for your help.

Changing the bootorder didnn't bring back the grub.

sudo parted -l
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sda: 7852MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2396MB  2400MB  4194kB  primary               esp


Model: Unknown (unknown)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system     Name                          Flags
 1      1049kB  556MB  555MB   ntfs            Basic data partition          hidden, diag
 2      556MB   660MB  104MB   fat32           EFI system partition          boot, esp
 3      660MB   676MB  16.8MB                  Microsoft reserved partition  msftres
 4      676MB   125GB  124GB                   Basic data partition          msftdata
 5      125GB   126GB  867MB   ntfs                                          hidden, diag
 6      126GB   126GB  537MB   fat32                                         msftdata
 7      126GB   135GB  8590MB  linux-swap(v1)
 8      135GB   178GB  42.9GB  ext4
 9      178GB   250GB  72.2GB  ext4
efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0005,0006,0000,0002,0003,0004,0001
Boot0000* Windows Boot Manager	HD(2,GPT,99fa6bfb-b664-4100-9da7-21112bfbbdec,0x109000,0x31800)/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.}...9................
Boot0001* Manjaro	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* UEFI : LAN : PXE IP4 Intel(R) Ethernet Connection (6) I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(1c697a04a892,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0003* UEFI : LAN : PXE IP6 Intel(R) Ethernet Connection (6) I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(1c697a04a892,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* UEFI : Samsung SSD 970 EVO Plus 250GB : PART 5 : OS Bootloader	PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-56-91-B4-6E-0B)/HD(6,GPT,85201d3c-8d72-4f51-b610-e33926de394b,0xea60000,0x100000)..BO
Boot0005* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x4765c8,0x8000)..BO
Boot0006* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(2,MBR,0x0,0x4765c8,0x2000)..BO
sudo blkid
/dev/nvme0n1p1: LABEL="Wiederherstellung" UUID="0876DCB476DCA3AA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="388b2c8e-d42f-4db2-af41-8d2b4fbc9c76"
/dev/nvme0n1p2: UUID="5ADD-2491" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="99fa6bfb-b664-4100-9da7-21112bfbbdec"
/dev/nvme0n1p3: PARTLABEL="Microsoft reserved partition" PARTUUID="5152c8fd-2286-4f10-8daf-9b17b00fb9e1"
/dev/nvme0n1p4: TYPE="BitLocker" PARTLABEL="Basic data partition" PARTUUID="9c193c29-d0f4-40c1-8212-3fdb5a21e6ab"
/dev/nvme0n1p5: UUID="481A5B871A5B7144" TYPE="ntfs" PARTUUID="1ca3d909-ba4d-4809-a785-51d8834583ed"
/dev/nvme0n1p6: UUID="9495-29EE" TYPE="vfat" PARTUUID="85201d3c-8d72-4f51-b610-e33926de394b"
/dev/nvme0n1p7: UUID="132d5d63-b55e-4052-9f25-87f19c087381" TYPE="swap" PARTUUID="a2bef15c-51f2-4e2b-92d8-47ccc441ac2c"
/dev/nvme0n1p8: UUID="4a6a3a2c-e7b1-410d-a582-c63926f6489b" TYPE="ext4" PARTUUID="6dd68331-ab69-4717-aff9-a99f2ae9f875"
/dev/nvme0n1p9: UUID="3189373a-4c06-434b-a957-fa9a6f2f6470" TYPE="ext4" PARTUUID="a6249ae9-1bc1-40fb-a0aa-046601a083c0"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sda1: UUID="2019-10-28-12-02-02-00" LABEL="MJRO1812" TYPE="iso9660"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="73B1-93B6" TYPE="vfat"
1 Like

First, switch off any Fastboot or other hibernation feature in Windoze as this could prevent you from writing changes to some parts of your disks.

Then boot into a live session again.

Your boot order is still not correct. Please apply the following command, exactly:

sudo efibootmgr -o 0001,0005,0006,0000,0004,0002,0003

Check result with

sudo efibootmgr -v

Then reboot normally.

When this was successful then apply in the Manjaro session

sudo update-grub

to add your Windoze to the grub boot menu.

1 Like

My bad. I made a mistake in the boot order. @Wollie's command got it right.

You can also have a look at the boot sequence in the UEFI Bios.

1 Like

I did

sudo efibootmgr -o 0001,0005,0006,0000,0004,0002,0003

and checked it with

sudo efibootmgr -v

and it showed me that the change of the bootorder was done like expected.

But unfortunately the pc booted to windows on the next bootup without showing grub.

How can I fix this?

We can try creating a new efi bootloader entry and see if it will work:

sudo efibootmgr -c -d /dev/nvme0n1 -p 6 -L MANJARO -l \EFI\manjaro\grubx64.efi

Next run

efimootmgr -v

again to get the boot order number for this new entry and try the boot order change command to put this new one at the top. Reboot and see if it works.

If none of this will work, you might be looking at re-installing Grub. Here is the wiki post:

Restore the GRUB Bootloader - Manjaro Linux

1 Like

Do yourself a favour and deep six Windoze for good. As long as it's on your system this is likely to be a recurring issue.

Good riddence to bad rubbish. It appears even @gohlip has seen the light and given up on dual booting. :rofl:

1 Like

This also didn't work. The machine booted up Windows again.

Do I have to undo the changes of the bootorder before restoring Grub? How?

Could you please post the output of

efibootmgr -v

again ?

efibootmgr -v
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0009,0007,0000,0002,0003,0001
Boot0000* Windows Boot Manager	HD(2,GPT,99fa6bfb-b664-4100-9da7-21112bfbbdec,0x109000,0x31800)/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.}...9................
Boot0001* Manjaro	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* UEFI : LAN : PXE IP4 Intel(R) Ethernet Connection (6) I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(1c697a04a892,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0003* UEFI : LAN : PXE IP6 Intel(R) Ethernet Connection (6) I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(1c697a04a892,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0007* MANJARO	HD(6,GPT,85201d3c-8d72-4f51-b610-e33926de394b,0xea60000,0x100000)/File(EFImanjarogrubx64.efi)
Boot0008* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x4765c8,0x8000)..BO
Boot0009* UEFI : USB : KingstonDataTraveler 2.0PMAP : PART 1 : OS Bootloader	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(2,MBR,0x0,0x4765c8,0x2000)..BO
1 Like

You could try removing those none functional efi bootloader entries:

sudo efibootmgr -b 0001 -B
sudo efibootmgr -b 0007 -B

Now make sure that you are connected to internet in your live session and follow the instructions in the link above. When prompted after sudo manjaro-chroot -a type 1 (instead of 0). Apply the instructions for re-installing the Grub in UEFI mode. Skip the part for creating an ESP since you already have one dedicated for Manjaro. Good luck!

0001 is the one I already had when I posted here. Should I really delete it?

It is that it is not pointing to any bootloader but you can leave it as it it is.

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

Forum kindly sponsored by