After a motherboard repair, the option to boot into manjaro has dissappeared

Is that inside the ESP( /dev/nvme0n1p2 ) or the 6th partition? :thinking:

Thats just inside the /mnt/boot/efi like you asked before

That is very strange because:

are identical in that case…

Due to real life (It’s 22:32 here) i’m handing the resolution to @stephane if you don’t mind.
Else i can continue in morning my time…

Okay thanks a lot and have a good night !

error in path it should be /boot/efi/EFI/

efibootmgr -c -d /dev/sdX -p N -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
efibootmgr -v

I don’t understand what do you mean by that

@stephane, the path is correct from the point of view of the ESP, it should not start with the lowercase efi

@koebelt, you seem to have lost your UEFI entry for Manjaro…
See the difference of the output you provided, above:

This entry was lost:

Boot0000* manjaro       HD(1,GPT,12db9e9d-3025-438a-8b25-02648e6fe6f2,0x800,0x108800)/File(\EFI\Manjaro\grubx64.efi)

Can you provide the complete output of:

  • sudo fdisk -x
  • ls -la /dev/disk/by-uuid
  • ls -la /dev/disk/by-partuuid

Hello back ! Sorry for the delay…
Here the output of the commands :

[manjaro@manjaro ~]$ sudo fdisk -x
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SK hynix BC511 HFM512GDJTNI-82A0A       
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 90A7EED1-79A4-4D7E-B97D-039FE87E7D70
First LBA: 34
Last LBA: 1000215182
Alternative LBA: 1000215215
Partition entries LBA: 2
Allocated partition entries: 128

Device             Start        End   Sectors Type-UUID                            UUID                                 Name Attrs
/dev/nvme0n1p1      2048    1085439   1083392 DE94BBA4-06D1-4D40-A16A-BFD50179D6AC 12DB9E9D-3025-438A-8B25-02648E6FE6F2 Basic data partition
                                                                                                                             RequiredPartition
/dev/nvme0n1p2   1085440    1290239    204800 C12A7328-F81F-11D2-BA4B-00A0C93EC93B 68D20E24-1153-45E6-8997-64BF6DB004F3 EFI System Partition
                                                                                                                             
/dev/nvme0n1p3   1290240    1323007     32768 E3C9E316-0B5C-4DB8-817D-F92DF00215AE D6844E2F-7FE4-4193-B388-ADC74D5299BF Microsoft reserved partition
                                                                                                                             
/dev/nvme0n1p4   1323008  671746047 670423040 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 DA960469-A08E-45CA-97D2-CEEEE80FB2DD Basic data partition
                                                                                                                             
/dev/nvme0n1p5 671746048  738861478  67115431 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 F94F2E3D-0B0A-11EB-B046-34CFF6D96BBE Basic data partition
                                                                                                                             
/dev/nvme0n1p6 738861479 1000215182 261353704 0FC63DAF-8483-4772-8E79-3D69D8477DE4 EA17CCE5-3455-7540-9A5B-22FEB614C6F3      


Disk /dev/loop0: 20.84 MiB, 21856256 bytes, 42688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 596.41 MiB, 625385472 bytes, 1221456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1.61 GiB, 1732997120 bytes, 3384760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 632.48 MiB, 663203840 bytes, 1295320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: Flash Disk      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors Id Type Start-C/H/S  End-C/H/S Attrs
/dev/sda1  *         64 6077687 6077624  0 Empt       0/2/1 1021/21/24    80
/dev/sda2       6077688 6085879    8192 ef EFI   1021/21/25 1022/91/24 

,

[manjaro@manjaro ~]$ ls -la /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 180 Dec 28 15:54 .
drwxr-xr-x 8 root root 160 Dec 28 15:54 ..
lrwxrwxrwx 1 root root  10 Dec 28 15:54 1AFD-57C6 -> ../../sda2
lrwxrwxrwx 1 root root  10 Dec 28 15:54 2020-10-01-14-09-49-00 -> ../../sda1
lrwxrwxrwx 1 root root  15 Dec 28 15:54 3AEB-CFD5 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root  15 Dec 28 15:54 66A8EB30A8EAFD85 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root  15 Dec 28 15:54 ab36f5d2-acbf-4fa5-9122-6ed3aadf980f -> ../../nvme0n1p6
lrwxrwxrwx 1 root root  15 Dec 28 15:54 C492744392743C4C -> ../../nvme0n1p4
lrwxrwxrwx 1 root root  15 Dec 28 15:54 DAED-E00C -> ../../nvme0n1p5

,

[manjaro@manjaro ~]$ ls -la /dev/disk/by-partuuid
total 0
drwxr-xr-x 2 root root 160 Dec 28 15:54 .
drwxr-xr-x 8 root root 160 Dec 28 15:54 ..
lrwxrwxrwx 1 root root  15 Dec 28 15:54 12db9e9d-3025-438a-8b25-02648e6fe6f2 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root  15 Dec 28 15:54 68d20e24-1153-45e6-8997-64bf6db004f3 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root  15 Dec 28 15:54 d6844e2f-7fe4-4193-b388-adc74d5299bf -> ../../nvme0n1p3
lrwxrwxrwx 1 root root  15 Dec 28 15:54 da960469-a08e-45ca-97d2-ceeee80fb2dd -> ../../nvme0n1p4
lrwxrwxrwx 1 root root  15 Dec 28 15:54 ea17cce5-3455-7540-9a5b-22feb614c6f3 -> ../../nvme0n1p6
lrwxrwxrwx 1 root root  15 Dec 28 15:54 f94f2e3d-0b0a-11eb-b046-34cff6d96bbe -> ../../nvme0n1p5

Ok looking at the combined output of those it seems that either one of us made a mistake…

Which means your UEFI-entry was pointing to partition 1 instead of 2 as intended, so…

  1. Start your Live media iso of Manjaro.
  2. Open a terminal
  3. Execute: sudo systemd-mount /dev/nvme0n1p6 /mnt
  4. Execute: sudo manjaro-chroot /mnt
  5. We will skip the step to remove the old UEFI-menu entry because you already seem to have lost that one…
  6. Execute the efibootmgr line that @stephane gave with modifications, like this:
    sudo efibootmgr --verbose --create --disk=/dev/nvme0n1 --part=2 --label=“Manjaro Linux” --loader="\EFI\Manjaro\grubx64.efi"
  7. Check the created entry to be sure that it is using the 68d20e24-1153-45e6-8997-64bf6db004f3 partition with:
    efibootmgr --verbose
  8. Reboot into your system, it should now boot into Manjar because that was last added to the UEFI-menu entries…
1 Like

Okay it finally works ! I tried to reboot several times into windows and manjaro and it still works just fine !
Thanks a lot to both of you @TriMoon and @stephane !
The mistake was probably on my side, sorry for wasting your time :sweat_smile:

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