Can't boot manjaro after installing it

I have recently succesfully installed manjaro alongside windows 10 on my computer using the [root tip] Dual boot Manjaro and Windows tutorial on this forum
but after restarting my computer i cant get into manjaro and get back in windows.
I am trying to get the option to choose between manjaro and windows when i bootup.

Can you check the UEFI Bios settings ?

How can i check that i am kinda new to this

After starting the PC you have to type fast F2 or F10 or DEL. It really depends on your UEFI and Mainboard. Then you can access it.

1 Like

What do i need to check?

The boot order/priority of your entries.

In my bios manjaro doesnt show up but it does when i go in the live usb version and use the efibootmgr command

Then please show the output:

efibootmgr -v

Sorry for the late reaction

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0002,0003,0001
Boot0000* Windows Boot Manager  HD(2,GPT,e8db5088-5cdb-4357-adc9-35813449ef38,0x109
000,0x31800)/File(\EFI\MANJARO\GRUBX64.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.}...a....
............
Boot0001* manjaro       VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* Windows Boot Manager  HD(2,GPT,e8db5088-5cdb-4357-adc9-35813449ef38,0x109
000,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO
Boot0003* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(7,0)/CDROM(1
,0x499028,0x8000)..BO

Well, I never saw such an entry with “VenHw”, but the entry is wrong. That could be a bug of your UEFI somehow or it is a bug of efibootmgr.

Try to create the entry yourself with efibootmgr? Since i have no details about your system, I give you an example:

sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --loader "\EFI\Manjaro\grubx64.efi" --label "manjaro"

You can delete an entry with:

sudo efibootmgr --delete-bootnum 0001

https://linux.die.net/man/8/efibootmgr

I used the command to create a entry and set the disk to the efi partition /dev/sda3, but when i rebooted i was in windows again and efibootmgr -v now shows this

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0002,0003,0004,0001
Boot0000* Windows Boot Manager  HD(2,GPT,e8db5088-5cdb-4357-adc9-35813449ef38,0x109000,0x
31800)/File(\EFI\MANJARO\GRUBX64.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.}...a................
Boot0001* manjaro       VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* Windows Boot Manager  HD(2,GPT,e8db5088-5cdb-4357-adc9-35813449ef38,0x109000,0x
31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO
Boot0003* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(7,0)/CDROM(1,0x499
028,0x8000)..BO
Boot0004* manjaro       VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)

and when i use the sudo efibootmgr --delete-bootnum 0001 command i get You must specify an entry to delete (see the -b option).

ok it is a bug.

  1. Update your UEFI to the latest one.
  2. sudo efibootmgr --delete-bootnum --bootnum 0001
    Delete all entries of manjaro and recreate them. This have to be done in manjaro-chroot -a and keep sure efivarfs is loaded: ls /sys/firmware/efi and the efi partition is mounted ls /boot/efi.
  3. If that does not help, then file an issue on: GitHub - rhboot/efibootmgr: efibootmgr development tree . Note your UEFI, your verbose entries and the version of efibootmgr.

I think your system is installed aa a BIOS/GPT system.

While the following is not quite an answer to your issue - it may give you a pointer in the right direction Manjaro is installed, bios recognize harddrive, harddrive first in boot order, boots to windows anyway

\WINDOWS\system32\winload.efi means i have a UEFI system right?

Can you give more detail on step 2 i dont really know what i need to do

@JorisFort hm… maybe @linux-aarhus is right… could you post your partitioning?

sudo parted -l
Model: ATA ST2000DM008-2FR1 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      17.4kB  16.8MB  16.8MB                  Microsoft reserved partition  msftres
 2      16.8MB  1786GB  1786GB  ntfs            Basic data partition          msftdata
 3      1786GB  1786GB  537MB   fat32                                         legacy_boot, msftdata
 4      1786GB  1790GB  4295MB  linux-swap(v1)                                swap, legacy_boot
 5      1790GB  1817GB  26.8GB  ext4
 6      1817GB  2000GB  183GB   ext4


Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sdb: 256GB
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   256GB  255GB   ntfs         Basic data partition          msftdata


Model: Generic Flash Disk (scsi)
Disk /dev/sdc: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2468MB  2473MB  4194kB  primary               esp

Here is a problem. The flag have to be boot, esp (esp is just an alias for boot). Open gparted or kparted and change the flag and reinstall grub after entering manjaro-chroot -a.

manjaro-chroot -a
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg

Also remove these flags here: swap, legacy_boot

1 Like

How do i get gparted?

And when i installed manjaro i gave the efi partition the boot flag and i gave the swap partition no flags, why does it say i have them now?

gparted or kparted should be installed by default on the Live ISO. If not:

pamac install gparted

No idea who or which program does this. It could be calamares somehow or Windows.

1 Like