Installing Manjaro on an nvme with an EFI partition on another disk fails

As mentioned i don’t use grub, so try this page: GRUB - ArchWiki

Regarding your remark about grub not knowing where to look for the root fs : note that the grub error message I posted in the first message mentions the right nvme partition UUID : 88cf8012-7fc3-4ee1-b671-aedf6fe32a18

If that is shown it is not from grub, but from your initrd most likely, in which case you are missing the NVMe drivers in your kernel or modules i guess…

But anyhow chopping off info is not helpful, in case of typos you dont notice…
UUID’s are no secret to keep hidden, they are randomly generated…

Thanks, the arch wiki page doesn’t mention any grub.cfg inside the EFI dir. Maybe this is ubuntu specific ?

Grub is universal, not disto specific, so you could handcraft it also…
But anyhow you obviously are past the Grub-Menu anyhow, because your message mentions data from outside the grub menu…

Oh I thougt so because the grub rescue> shows right after the error message about the missing device.

Maybe I’ll take a shot at making the file myself if using the standard tools fail.

You mention missing NVMe drivers in my kernel or modules. Is there something that I can do to fix this if this is indeed causing the issue ?

Check if the nvme and nvme-core modules are available on that system and inside the initrd.

Here is info from my Kubuntu system:

> modinfo nvme nvme-core
filename:       /lib/modules/5.19.0-35-generic/kernel/drivers/nvme/host/nvme.ko
version:        1.0
license:        GPL
author:         Matthew Wilcox <willy@linux.intel.com>
srcversion:     BD647EB440902AFA7FE3AE7
alias:          pci:v*d*sv*sd*bc01sc08i02*
alias:          pci:v0000106Bd00002005sv*sd*bc*sc*i*
alias:          pci:v0000106Bd00002003sv*sd*bc*sc*i*
alias:          pci:v0000106Bd00002001sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd0000CD02sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd0000CD01sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd0000CD00sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd00008061sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd00000065sv*sd*bc*sc*i*
alias:          pci:v00001D0Fd00000061sv*sd*bc*sc*i*
alias:          pci:v00001D97d00002263sv*sd*bc*sc*i*
alias:          pci:v0000C0A9d0000540Asv*sd*bc*sc*i*
alias:          pci:v00001E49d00000041sv*sd*bc*sc*i*
alias:          pci:v00001CC1d00005350sv*sd*bc*sc*i*
alias:          pci:v00001E4Bd00001202sv*sd*bc*sc*i*
alias:          pci:v00001E4Bd00001002sv*sd*bc*sc*i*
alias:          pci:v00001E4Bd00001001sv*sd*bc*sc*i*
alias:          pci:v00001F40d00005236sv*sd*bc*sc*i*
alias:          pci:v00002646d0000501Esv*sd*bc*sc*i*
alias:          pci:v00002646d0000501Bsv*sd*bc*sc*i*
alias:          pci:v00002646d0000501Asv*sd*bc*sc*i*
alias:          pci:v00002646d00005016sv*sd*bc*sc*i*
alias:          pci:v00002646d00005018sv*sd*bc*sc*i*
alias:          pci:v00002646d00002263sv*sd*bc*sc*i*
alias:          pci:v00002646d00002262sv*sd*bc*sc*i*
alias:          pci:v00001CC4d00006302sv*sd*bc*sc*i*
alias:          pci:v00001CC4d00006303sv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A809sv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A80Bsv*sd*bc*sc*i*
alias:          pci:v00001D97d00002263sv*sd*bc*sc*i*
alias:          pci:v000015B7d00002001sv*sd*bc*sc*i*
alias:          pci:v00001C5Cd0000174Asv*sd*bc*sc*i*
alias:          pci:v00001C5Cd00001504sv*sd*bc*sc*i*
alias:          pci:v00001344d00006001sv*sd*bc*sc*i*
alias:          pci:v00001344d00005407sv*sd*bc*sc*i*
alias:          pci:v00001CC1d00008201sv*sd*bc*sc*i*
alias:          pci:v000010ECd00005762sv*sd*bc*sc*i*
alias:          pci:v00001CC1d000033F8sv*sd*bc*sc*i*
alias:          pci:v00001B4Bd00001092sv*sd*bc*sc*i*
alias:          pci:v00001987d00005016sv*sd*bc*sc*i*
alias:          pci:v00001987d00005012sv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A822sv*sd*bc*sc*i*
alias:          pci:v0000144Dd0000A821sv*sd*bc*sc*i*
alias:          pci:v00001C5Fd00000540sv*sd*bc*sc*i*
alias:          pci:v00001C58d00000023sv*sd*bc*sc*i*
alias:          pci:v00001C58d00000003sv*sd*bc*sc*i*
alias:          pci:v00001BB1d00000100sv*sd*bc*sc*i*
alias:          pci:v0000126Fd00002263sv*sd*bc*sc*i*
alias:          pci:v00001B36d00000010sv*sd*bc*sc*i*
alias:          pci:v00008086d00005845sv*sd*bc*sc*i*
alias:          pci:v00008086d0000F1A6sv*sd*bc*sc*i*
alias:          pci:v00008086d0000F1A5sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A55sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A54sv*sd*bc*sc*i*
alias:          pci:v00008086d00000A53sv*sd*bc*sc*i*
alias:          pci:v00008086d00000953sv*sd*bc*sc*i*
depends:        nvme-core
retpoline:      Y
intree:         Y
name:           nvme
vermagic:       5.19.0-35-generic SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        3B:C3:DF:AD:34:ED:94:5C:3B:FF:9A:00:E2:0D:68:76:A4:6A:A9:69
sig_hashalgo:   sha512
signature:      89:B2:20:4D:DC:A3:99:97:33:69:B4:12:DE:78:94:C2:81:DA:14:22:
		D8:BC:96:3F:36:CD:10:89:70:F7:1A:ED:69:F7:3A:73:D0:4B:E3:52:
		FF:FA:19:D6:A6:89:A8:3E:AE:75:43:6C:D4:1C:82:3D:AA:50:28:8B:
		BE:1C:4F:C0:7E:4B:7C:F0:8D:54:19:AA:4D:06:95:45:D1:D4:A8:B9:
		73:D8:18:8D:D9:A1:73:91:8B:89:09:B6:2D:71:19:03:1B:4D:5E:94:
		DF:42:DF:40:33:33:ED:65:0E:1D:47:EB:B4:AF:FC:F8:F7:29:04:5C:
		6C:57:6F:94:F4:3D:A6:1C:01:64:96:0B:14:40:F0:58:A4:CA:46:DE:
		E2:6D:DA:A3:2F:2F:8F:AA:DC:F6:73:3E:2D:E9:24:FB:3B:79:CE:2F:
		1F:8B:06:9A:AD:BF:13:22:40:1F:15:32:25:B1:89:4F:77:09:C2:DB:
		81:FA:1F:C9:8F:DC:F2:FA:87:57:49:5C:09:83:A0:3B:D2:AB:D2:4C:
		61:48:7E:60:44:A3:C7:10:14:4D:D7:CE:94:C4:69:8F:C2:07:23:90:
		9E:08:63:4C:23:9A:2A:3F:20:39:AC:D3:4E:E8:2B:19:94:EA:D2:DE:
		8B:D2:E0:DA:5E:CB:38:53:07:E1:4D:15:88:0D:79:E7:DE:8F:06:C0:
		7A:A6:10:33:73:50:C0:A9:2A:C7:2D:75:69:04:C3:0C:20:4A:30:AA:
		57:D2:DA:41:12:EE:BF:4A:C5:2A:35:FE:D8:39:19:02:82:AF:30:90:
		76:89:A0:30:A4:8A:31:55:45:7D:B7:CE:B0:C9:98:69:69:88:D8:E5:
		2A:F5:BB:35:3C:5D:8B:C1:38:7E:CC:08:F4:53:E7:EC:E7:60:DE:11:
		E1:06:DF:D2:E6:78:2D:F0:55:63:56:32:80:C7:8A:2B:C4:15:6B:3B:
		CE:6B:84:45:C2:16:C2:9E:08:3C:5C:C3:E0:36:A9:6C:84:27:59:0E:
		58:4C:D8:09:76:B9:CC:E3:DF:49:C7:51:DA:6B:A6:45:6D:2B:D2:5F:
		2C:85:8A:3E:79:43:60:77:F8:C4:6D:E6:A8:51:00:2E:BB:6F:B1:62:
		47:EA:39:E6:44:5A:9C:7C:45:61:35:DF:CC:9B:01:B9:7D:DF:E5:EE:
		2D:61:F7:17:2F:81:1E:04:19:A4:55:F4:C2:56:FB:7E:22:A2:76:58:
		F9:00:83:06:49:90:8B:F0:D1:2D:4D:80:C0:7C:7E:10:C6:A3:24:57:
		0E:6E:FA:92:D6:2A:D0:E6:F0:D6:0B:93:C4:6A:E1:43:8A:93:E1:3B:
		E2:F6:D1:7E:3C:84:05:72:04:49:EE:02
parm:           use_threaded_interrupts:int
parm:           use_cmb_sqes:use controller's memory buffer for I/O SQes (bool)
parm:           max_host_mem_size_mb:Maximum Host Memory Buffer (HMB) size per controller (in MiB) (uint)
parm:           sgl_threshold:Use SGLs when average request segment size is larger or equal to this size. Use 0 to disable SGLs. (uint)
parm:           io_queue_depth:set io queue depth, should >= 2 and < 4096
parm:           write_queues:Number of queues to use for writes. If not set, reads and writes will share a queue set.
parm:           poll_queues:Number of queues to use for polled IO.
parm:           noacpi:disable acpi bios quirks (bool)
filename:       /lib/modules/5.19.0-35-generic/kernel/drivers/nvme/host/nvme-core.ko
version:        1.0
license:        GPL
srcversion:     BDB252A57932AED4DCF69A9
depends:        
retpoline:      Y
intree:         Y
name:           nvme_core
vermagic:       5.19.0-35-generic SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        3B:C3:DF:AD:34:ED:94:5C:3B:FF:9A:00:E2:0D:68:76:A4:6A:A9:69
sig_hashalgo:   sha512
signature:      83:9F:7A:78:74:D9:6E:44:9F:D1:70:2E:8D:FE:C2:54:FA:81:65:5B:
		1D:09:BD:30:A5:41:A2:45:40:96:F6:19:15:79:1B:83:C8:79:61:B7:
		67:CC:D7:C0:91:52:6D:17:78:12:EC:8A:25:17:9C:99:C8:B2:03:97:
		1D:73:4D:69:46:27:8D:D0:71:72:BB:49:D4:5A:A4:51:45:1B:82:A3:
		A7:3E:B2:79:C6:FD:41:0D:1E:0E:A9:1B:E7:C4:EF:20:9D:E2:75:80:
		C7:EE:28:4C:87:53:4F:CA:5E:BC:2D:7C:41:8B:6C:3C:22:2D:B3:ED:
		4B:15:82:51:76:F5:53:AF:2E:49:1F:E6:16:ED:58:F2:6E:E9:27:5E:
		99:DE:48:53:4F:F1:79:72:D0:8A:48:F3:3B:8D:5C:77:3F:E8:E8:17:
		D1:ED:BB:29:2D:F8:B6:FF:25:6D:75:2E:9F:B7:C8:A1:64:F3:82:97:
		C0:3E:B6:57:2F:52:68:81:9F:16:86:A5:4D:8C:15:87:82:3B:F4:2C:
		CE:07:F2:F4:AE:04:D5:E8:C8:02:AE:D5:F5:F1:E1:50:AF:1A:54:37:
		47:7C:05:52:99:99:4C:85:BF:B1:B0:26:4B:C6:51:F8:E1:EF:12:E8:
		25:06:F6:50:48:BA:A0:66:0B:01:CF:38:69:A0:04:4F:AF:7E:3C:38:
		97:BF:CD:1D:D7:86:FB:41:F8:35:C4:9B:02:4A:41:B3:14:B0:0F:2D:
		D4:49:64:AE:86:BD:1F:98:0A:AE:47:D3:00:8D:58:CB:20:23:76:B3:
		3F:75:87:CD:94:43:97:B0:42:84:0E:FA:9E:D8:BC:D8:66:75:7C:FA:
		30:B4:6D:C4:7C:25:34:78:54:00:88:4A:78:FD:B1:4D:35:47:9A:A2:
		DE:0B:61:F2:B0:4E:21:06:79:16:CF:71:C2:6C:04:FA:F0:63:29:F2:
		D8:4E:4A:63:65:34:63:F3:9A:0E:9C:42:B2:46:90:05:B7:28:FC:69:
		2F:01:08:29:3D:82:03:65:93:CB:FE:4F:AB:46:5B:DD:64:1E:3B:1A:
		8C:24:09:40:15:10:21:19:B7:B9:1E:73:B1:7B:51:82:9C:53:35:12:
		4B:ED:14:42:11:FE:04:4C:CF:A3:83:DE:ED:CA:93:03:3D:4C:6C:5F:
		BA:6F:C7:A7:87:1A:34:84:14:3B:43:0B:AF:BA:B6:5E:02:0F:BD:05:
		68:FB:DE:E5:52:06:0D:CF:79:BB:7B:CD:88:51:5D:79:AF:1C:E6:29:
		B4:8A:DA:05:AB:37:A2:D5:22:18:A5:48:64:E3:14:FB:F9:9E:4D:4C:
		B5:76:8A:F1:BB:B0:A2:0A:A3:C1:70:C1
parm:           multipath:turn on native support for multiple controllers per subsystem (bool)
parm:           iopolicy:Default multipath I/O policy; 'numa' (default) or 'round-robin'
parm:           admin_timeout:timeout in seconds for admin commands (uint)
parm:           io_timeout:timeout in seconds for I/O (uint)
parm:           shutdown_timeout:timeout in seconds for controller shutdown (byte)
parm:           max_retries:max number of retries a command may have (byte)
parm:           default_ps_max_latency_us:max power saving latency for new devices; use PM QOS to change per device (ulong)
parm:           force_apst:allow APST for newly enumerated devices even if quirked off (bool)
parm:           apst_primary_timeout_ms:primary APST timeout in ms (ulong)
parm:           apst_secondary_timeout_ms:secondary APST timeout in ms (ulong)
parm:           apst_primary_latency_tol_us:primary APST latency tolerance in us (ulong)
parm:           apst_secondary_latency_tol_us:secondary APST latency tolerance in us (ulong)

The Arch-wiki says it’s already included in the kernel, but who knows: maybe they forgot it in the 6.x version you are running: Solid state drive/NVMe - ArchWiki

Thanks for the reference !

I checked and saw that these were indeed included inside the kernel 6.1 and the generated initrd.

So, I thought I’d made a mess by passing my old / as the home partition of my new system, so I decided to backup everything and start from scratch.

I created on the HDD :

  • a 300MiB efs FAT32 partition mounted at /boot/efi
  • an encrypted 900GiB LUKS partition mounted at /home
  • a 8GiB swap partition.

On the SSD:

  • a single ext4 230GiB partition mounted at /

I installed manjaro again with this partition scheme. After reboot, I sadly get the same message as before, only the UUID associated with the system partition has changed…

I tried to generate a new boot entry using grub-install just in case, it apparently went well.

When I used grub-mkconfig however, I had the following output:

[manjaro-i3 /]# grub-mkconfig -o /boot/grub/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done

This grub-probe warning sounds somewhat alerting.
sdb was the USB live stick.

Also, one thing I’m confused about is that although a Manjaro entry has been created inside the HDD efs partition EFI dir during the fresh install, there is also a /boot/efi dir on the NVMe system partition. Isn’t it weird ?

Is the UEFi support enabled in the mainboard bios ?

Yes : when I boot using the USB stick, I get to choose between Bios and Uefi mode.

One question regarding the efs partition and /boot folder.

Using the partition scheme described above, the installer created the *.efi files in an EFI folder located on the HDD. But it also created a boot folder under the root located on the SSD. This folder contains the grub folder, the initramfs files etc. Shouldn’t these also be located on my HDD ? It’s not clear to me during which step the EFI will have enough “context” to be able to access the nvme and mount volumes.

I tried to create a vfat partition on my HDD in calamares mounted at /boot, not /boot/efi, but then I get a warning stating that I should have a partition mounted at /boot/efi, otherwise the system wouldnt boot.

Should I just ignore the warning, install this way, then generate the efi file afterwards ?

OK, so my question / lead regarding where things under /boot should live (answer: on the HDD) was the right one.

I got it working using the standard GUI calamares.

In comparison with this scheme,

just a few adjustments:

  • I added an ext4 partition on the HDD, mounted at /boot. (The big adjustment, really)
  • I could not use LUKS. For some reason, I was unable to unlock the drive at boot time :man_shrugging: . So I switched to standard ext4.

I used the boot Calamares flag for the efs partition, swap for the swap partition, and root for the root partition.

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