You are not logged in.

#1 2021-04-26 00:06:15

bluman
Member
Registered: 2020-03-15
Posts: 3

[SOLVED] Initramfs doesn't find LUKS root on Dell Inspiron 7306 2n1

I'm trying to install Arch on a new Dell Inspiron laptop with a fancy Intel Optane SSD.

According to the laptop's user manual: "With the M.2 2280 Intel Optane Memory H10, the Intel Optane Memory is the primary drive."

The disk is split into one larger (/dev/nvme0n1) and one smaller (/dev/nvme1n1) section. I'm fairly certain the smaller section is the Optane Memory section, and the "primary" drive.

My preference is to get this working with EFISTUB and a subvolumed btrfs root, but I'm willing to experiment with GRUB, systemd-boot, and ext4 as well. I've just been using btrfs with no subvolumes the last couple of tests to try and get something working and then tweak it how I want from there.

I've tried re-configuring this over a dozen different ways on both the Optane Memory and main SSD drives with mostly the same errors, I'm clearly missing something here.

Configurations for the last test, truncated to relevant parts:

BIOS Information:
Inspiron 7306 2n1
BIOS Version = 1.1.8
Processor Type = 11th Gen Intel(R) Core(™) i5-1135G7 @2.40Ghz
SATA/NVMe Operation = RAID On
M.2 PCIe SSD Storage Interface = On
Drive Information =  Type="512GB H10 HBRPEKNX0202A NVMe Intel 512GB" Device="H10 HBRPEKNX0202A NVMe Intel 512GB"
Fastboot = Thorough


Output for fdisk -l:

Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: H10 HBRPEKNX0202A NVMe INTEL 512GB      
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: 28801FF1-05F0-4F2E-84E8-DC6716C5940E

Device         Start        End    Sectors   Size Type
/dev/nvme0n1p1  2048 1000215182 1000213135 476.9G Linux filesystem


Disk /dev/nvme1n1: 27.25 GiB, 29260513280 bytes, 57149440 sectors
Disk model: H10 HBRPEKNX0202AO NVMe INTEL 32GB      
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: 31323032-3430-4130-B130-303731343034

Device            Start      End  Sectors  Size Type
/dev/nvme1n1p1     2048  1050623  1048576  512M EFI System
/dev/nvme1n1p2  1050624 17844223 16793600    8G Linux swap
/dev/nvme1n1p3 17844224 57149376 39305153 18.7G Linux filesystem

Output for blkid:

/dev/nvme0n1p1: PARTUUID="a7cdb1eb-b2aa-8d4d-8b9a-b93420ba678f"
/dev/nvme1n1p1: UUID="D33B-B95B" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d778cd82-4bb8-b543-9f67-1e379a04ca6f"
/dev/nvme1n1p2: LABEL="swapdrive" UUID="26f6c20f-8d91-444c-a790-7b9ac6f2ce8f" TYPE="swap" PARTUUID="2978bb5f-8908-a644-ad3b-80b81d78f013"
/dev/nvme1n1p3: UUID="e3246277-53f1-4cbe-9342-ebd3e0822263" TYPE="crypto_LUKS" PARTUUID="f93af271-695a-e644-84dc-69c8231916bc"

/etc/fstab:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/luksroot LABEL=butter
UUID=aca70a65-6d78-4c17-aee1-b882feb474d7	/         	btrfs     	rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/	0 0

# /dev/nvme1n1p1
UUID=D33B-B95B      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/nvme1n1p2 LABEL=swapdrive
UUID=26f6c20f-8d91-444c-a790-7b9ac6f2ce8f	none      	swap      	defaults  	0 0

efibootmgr --verbose output:

BootOrder: 0002,0001,0003,0000,0004
Boot0002* Arch Linux (EFISTUB)	HD(1,GPT,d778cd82-4bb8-b543-9f67-1e379a04ca6f,0x800,0x100000)/File(\vmlinuz-linux)r.d...l.u.k.s...n.a.m.e.=.e.3.2.4.6.2.7.7.-.5.3.f.1.-.4.c.b.e.-.9.3.4.2.-.e.b.d.3.e.0.8.2.2.2.6.3.=.l.u.k.s.r.o.o.t. .r.o.o.t.=./.d.e.v./.m.a.p.p.e.r./.l.u.k.s.r.o.o.t. .r.w. .i.n.i.t.r.d.=.\.i.n.t.e.l.-.u.c.o.d.e...i.m.g. .i.n.i.t.r.d.=.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g.

/etc/mkinitcpio.conf

MODULES=()
BINARIES=()
FILES=()
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block sd-encrypt filesystems fsck)

RESULT:
Saw the lovely new Sun font I configured. Ran two jobs in parallel, looking for /dev/disk/by-uuid/<uuid> and /dev/mapper/luksroot. Ran for 1:30 and stopped with both.

Output fortunately fit on one screen, was exactly as follows with some fluff cut off at the end:

Welcome to Linux!

[  OK  ] Created slice system-systemd\x2dcryptsetup.slice.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Local File Systems.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Sockets.
	 Starting Create list of static device nodes for the current kernel...
	 Starting Journal Service...
	 Starting Load Kernel Modules...
	 Starting Coldplug All udev Devices...
[  OK  ] Finished Create list of static device nodes for the current kernel...
	 Starting Create Static Device Nodes in /dev.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Create Static Device Nodes in /dev.
	 Starting Rule-based Manager for Device Events and Files.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Started Journal Service.
[  OK  ] Finished Coldplug All udev Devices.
[ TIME ] Timed out waiting for device /dev/disk/by-uuid/e3246277-53f1-4cbe-9342-ebd3e0822263.
[DEPEND] Dependency failed for Cryptography Setup for luksroot.
[DEPEND] Dependency failed for /dev/mapper/luksroot.
[DEPEND] Dependency failed for Initrd Root Device.
[DEPEND] Dependency failed for File System Check on /dev/mapper/luksroot.
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Reload Configuration from the Real Root.
[DEPEND] Dependency failed for Local Encrypted Volumes.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Initrd File Systems.
[  OK  ] Started Emergency Shell.
[  OK  ] Reached target Emergency Mode.
You are in emergency mode. After logging in, type "journalctl -xb" to view <etc>

Cannot open access to console, the root account is locked <etc>

Press Enter to continue.

EDIT: Edited some poor formatting.
2ND EDIT: Maybe I should have posted this under the "Installation" subforum.

Last edited by bluman (2021-04-26 01:06:19)

Offline

#2 2021-04-26 00:25:06

loqs
Member
Registered: 2014-03-06
Posts: 19,014

Re: [SOLVED] Initramfs doesn't find LUKS root on Dell Inspiron 7306 2n1

Offline

#3 2021-04-26 00:43:27

bluman
Member
Registered: 2020-03-15
Posts: 3

Re: [SOLVED] Initramfs doesn't find LUKS root on Dell Inspiron 7306 2n1


Thank you, I'll try the workaround suggested and mark as [SOLVED] if it works. I'll know to look in the bug reports in the future.

Offline

Board footer

Powered by FluxBB