[Bug 1057948] New: Booting system with root on encrypted LVM does not boot anymore
http://bugzilla.suse.com/show_bug.cgi?id=1057948 Bug ID: 1057948 Summary: Booting system with root on encrypted LVM does not boot anymore Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Critical Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: holgi@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Not sure if the latest systemd or kernel update triggered this or anything else: when I try to boot my openSUSE 42.3 with a root on an encrypted LVM device, it dose not boot anymore. I'm adding a photo of the error message as attachment. After investigations I found the following workaround: Add to your boot cmd line: ... luks.name=<your encrypted device UUID>=root root=/dev/mapper/... Please tell me which other logs you need. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c1
--- Comment #1 from Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c2
--- Comment #2 from Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c3
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c4
--- Comment #4 from Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Stefan Fent
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c5
--- Comment #5 from Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c6
--- Comment #6 from Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c7
--- Comment #7 from Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c9
--- Comment #9 from Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c11
--- Comment #11 from Thomas Blume
systemd-escape: invalid option -- 'b'
comes from
modules.d/90crypt/parse-crypt.sh:43:
printf -- 'systemd-cryptsetup@luks$$(dev_unit_name -$env{ID_FS_UUID}).service"\n'
dev_unit_name (defined in modules.d/99base/dracut-lib.sh:877) runs
systemd-escape -p "$dev"
but should run
systemd-escape -p -- "$dev"
Leaving you with a systemd-cryptsetup@luks.service file which does not exist.
However, while this should probably be fixed, it's not the root cause. ID_FS_UUID is provided by udev.
Could you provide the output of: udevadm info /dev/disk/by-id/ata-SanDisk_SD5SG2256G1052E_131972401728-part8 ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c16
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c17
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c34
Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c35
Thomas Blume
It seems dracut is right, and crypttab is wrong. part8 is the Lenovo recovery partition. From rdsosreport:
/dev/sda7: UUID="b1f92535-315f-4f16-8852-08e9b5df45b6" TYPE="crypto_LUKS" PARTLABEL="openSUSE" PARTUUID="b014630f-e58c-4315-9ca3-e346f31f32e7" /dev/sda8: LABEL="Lenovo_Recovery" UUID="2C165D53165D1F60" TYPE="ntfs" PARTUUID="b7f83fe7-9e47-4789-b359-a4035c57349e"
Question is how this could happen. Did yast do anything strange during upgrade?
Holgi, can you comment? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c36
Holger Sickenberg
http://bugzilla.suse.com/show_bug.cgi?id=1057948
http://bugzilla.suse.com/show_bug.cgi?id=1057948#c37
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com