Well, It booted again straight into Windows and Manjaro still doesn’t appear int the boot options…
Then your boot-loader in the ESP was not \EFI\Manjaro\grubx64.efi
…
- Try to mount your ESP(
/dev/nvme0n1p2
) at/mnt/boot/efi
after you have performed that mount command i gave, with similar syntax. - Look for your boot-loader inside
/mnt/boot/efi
and subdirectories for correct filename and path (minus/mnt/boot/efi
)
Also dont forget that windoze needs to be shut down all the way.
(not its ‘hybrid sleep’ or whatever that is used by default)
disk & UUID are not the same ( compare line boot manjaro & windows )
UUID & number partition should be the same
check ( before chroot )
sudo lsblk -fs
sudo efibootmgr -v
Those commands outputs me :
[manjaro@manjaro ~]$ sudo lsblk -fs
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 4.0 0 100% /run/miso/sfs/
loop1 squashfs 4.0 0 100% /run/miso/sfs/
loop2 squashfs 4.0 0 100% /run/miso/sfs/
loop3 squashfs 4.0 0 100% /run/miso/sfs/
sda1 iso9660 Joliet Ext MANJARO_KDE_2011 2020-10-01-14-09-49-00
└─sda iso9660 Joliet Ext MANJARO_KDE_2011 2020-10-01-14-09-49-00 0 100% /run/miso/boot
sda2 vfat FAT12 MISO_EFI 1AFD-57C6
└─sda iso9660 Joliet Ext MANJARO_KDE_2011 2020-10-01-14-09-49-00 0 100% /run/miso/boot
nvme0n1p1 ntfs Récupération 66A8EB30A8EAFD85
└─nvme0n1
nvme0n1p2 vfat FAT32 3AEB-CFD5
└─nvme0n1
nvme0n1p3
└─nvme0n1
nvme0n1p4 ntfs C492744392743C4C
└─nvme0n1
nvme0n1p5 exfat 1.0 DAED-E00C
└─nvme0n1
nvme0n1p6 ext4 1.0 ab36f5d2-acbf-4fa5-9122-6ed3aadf980f
└─nvme0n1
[manjaro@manjaro ~]$ sudo efibootmgr -v
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0007,0002,0003,0001
Boot0001* Intel Corporation: Realtek PXE B01 D00 BBS(Network,Intel Corporation: Realtek PXE B01 D00,0x0)/PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/IPv4(0.0.0.00.0.0.0,0,0)......ISPH
Boot0002 USB: BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0003* SK hynix BC511 HFM512GDJTNI-82A0A-CY06N05801CG46I3F BBS(HD,SK hynix BC511 HFM512GDJTNI-82A0A-CY06N05801CG46I3F,0x400)/PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-0A-55-F3-CF)......ISPH
Boot0004* Wi-Fi IPV6 Network PciRoot(0x0)/Pci(0x14,0x3)/MAC(34cff6d96bba,1)/Wi-Fi(00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0005* IPV4 Network - Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(3822e2126602,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0006* Generic PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)N.....YM....R,Y.....ISPH
Boot0007* Windows Boot Manager HD(2,GPT,68d20e24-1153-45e6-8997-64bf6db004f3,0x109000,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.}........................ISPH
Boot0008* IPV6 Network - Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/MAC(3822e2126602,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
I’ve run your 1. :
[manjaro@manjaro ~]$ sudo systemd-mount /dev/nvme0n1p6 /mnt
Started unit mnt.mount for mount point: /mnt
[manjaro@manjaro ~]$ sudo systemd-mount /dev/nvme0n1p2 /mnt/boot/efi
Started unit mnt-boot-efi.mount for mount point: /mnt/boot/efi
But I’m not sure how to do the second part of your reply…
That is not neccesary true, because the M$ boot-loader can be inside the ESP of the first disk, while the boot-loader for Manjaro is in the ESP of the other disk.
That last part can be done like any other directory inspection, eg. change directory into it and examine using the ls -la
command
Okay, so I’m sure that the 6th partition is the one with Manjaro installed on , I checked it with a partition manager on Windows, and I found the Manjaro boot-loader here :
[manjaro@manjaro efi]$ ls
EFI mach_kernel System 'System Volume Information'
[manjaro@manjaro efi]$ ls EFI/Manjaro/
grubx64.efi
Is that inside the ESP( /dev/nvme0n1p2
) or the 6th partition?
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…
- Start your Live media iso of Manjaro.
- Open a terminal
- Execute: sudo systemd-mount /dev/nvme0n1p6 /mnt
- Execute: sudo manjaro-chroot /mnt
- We will skip the step to remove the old UEFI-menu entry because you already seem to have lost that one…
- 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" - Check the created entry to be sure that it is using the
68d20e24-1153-45e6-8997-64bf6db004f3
partition with:
efibootmgr --verbose - Reboot into your system, it should now boot into Manjar because that was last added to the UEFI-menu entries…
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
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.