The numbering is weird, though. On my system here ─ exclusively dedicated to Manjaro; I don’t do Windows ─ all entries start with “000”, and the only other entries beside the SSD are for removable devices.
The output showed that the order was changed. But when I rebooted (of course Windows booted again). I manually entered Manjaro and hit efibootmgr and saw that the bootorder doesn’t have 0000.
I think I got into trouble now. I was trying to change the name from 0000 to Manjaro. On doing that now my boot entry for Manjaro is gone. I can’t get into Manjaro. Could you help me?
Once you know the number of the Manjaro boot option ─ let’s assume it is “0000”, but change this in the command below if required ─ you could try this…
sudo efibootmgr -b 0000 -a
sudo efibootmgr -o 0000,<your-other-entries-here>
Once you know the number of the Manjaro boot option ─ let’s assume it is “0000”, but change this in the command below if required ─ you could try this…
efibootmgr -b 0000 -a
efibootmgr -o 0000,<your-other-entries-here>
Wow, got my bootfile back and I’m in Manjaro once again.
Posting output of efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 3003,3001,2001,2002,2003
Boot0001* Manjaro HD(1,GPT,40811db9-6242-4be3-bf29-63dcbc0233d2,0x800,0x104000)/File(\EFI\Manjaro\grubx64.efi)
Boot0003* Windows Boot Manager HD(1,GPT,40811db9-6242-4be3-bf29-63dcbc0233d2,0x800,0x104000)/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.}...M................
Boot2001* USB Drive (UEFI) RC
Boot2002* Internal CD/DVD ROM Drive (UEFI) RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Boot3001* Internal Hard Disk or Solid State Disk RC
Boot3003* Internal Hard Disk or Solid State Disk RC
Still Windows is booting directly and the original problem exists.
And why does Manjaro’s Boot Number always disappear after resart?? I am pretty sure I added Manjaro’s boot number before restart and efibootmgr also outputed Manjaro’s number in the bootorder.
I don’t know if this will be much of help but 3 hours earlier pamac pushed major update to my PC. It was Mikah what was installed originally. But it’s Nibya I guess. I mean to ask did fallback image create any trouble with the bootloader?
There was an update to the GRUB theme, but that’s really all that could be pertinent to the early boot process.
No, it was most definitely your reinstallation of Microsoft Windows that ruined your Manjaro boot. Windows is notorious for doing that ─ it wants to claim the machine for itself. Even now with Microsoft’s strongly improved attitude towards GNU/Linux, that part still hasn’t changed.
However it’s sad to say, I got the workaround via Windows bcdedit. The article that @chomsky linked had a command in the last checklist. What that command did is it pointed my bootloader to grub64 on boot. I wanted to make things work from Manjaro but this time I needed Windows help to solve the issue. I am marking @chomsky answer as solution.
I respect your effort. Thanks @Aragorn . Well you taught me how to get my bootloader file back. I learnt something new. Happy Linux, happy Manjaro.
Thanks @chomsky. Indeed bcdedit did the trick. Well, I wanted workaround from Linux and not Windows but I got what I needed and my problem has been solved.