Web lists-archives.com

Re: Trouble booting lvm raid/luks system with latest kernel in Testing




On Wed, Jul 4, 2018, at 3:08 PM, deloptes wrote:
> Alex Gould wrote:
> 
> > I imagine I will need to fix some settings for initramfs, grub, crypttab,
> > fstab, or something, but I'm not sure how to proceed.
> 
> I would compare content of new and old initrd
> 
> lsinitramfs /boot/initrd-.... > initrd.1.content
> lsinitramfs /boot/initrd-.... > initrd.2.content
> 
> diff -ub initrd.2.content initrd.1.content
> 
> is there something missing?

Thank you,

There were some differences that might be relevant, unfortunately I'm not sure what they mean. The first change listed below looks suspicious to me.

--- initrd.old.content  2018-07-04 15:10:50.031303390 -0700
+++ initrd.new.content  2018-07-04 15:11:08.463538144 -0700
@@ -28,7 +28,7 @@
 conf
 conf/conf.d
 conf/conf.d/resume
-conf/conf.d/cryptroot
+conf/modules
 conf/arch.conf
 conf/initramfs.conf
 etc

[....]

@@ -1038,10 +1038,10 @@
 lib/x86_64-linux-gnu/libm.so.6
 lib/x86_64-linux-gnu/libm-2.27.so
 lib/x86_64-linux-gnu/libcryptsetup.so.12
-lib/x86_64-linux-gnu/libcryptsetup.so.12.2.0
+lib/x86_64-linux-gnu/libcryptsetup.so.12.3.0
 lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
 lib/x86_64-linux-gnu/libgcrypt.so.20
-lib/x86_64-linux-gnu/libgcrypt.so.20.2.2
+lib/x86_64-linux-gnu/libgcrypt.so.20.2.3
 lib/x86_64-linux-gnu/librt.so.1
 lib/x86_64-linux-gnu/librt-2.27.so
 lib/x86_64-linux-gnu/libjson-c.so.3
@@ -1077,6 +1077,7 @@
 lib/modprobe.d/systemd.conf
 lib/cryptsetup
 lib/cryptsetup/askpass
+lib/cryptsetup/functions
 lib/udev
 lib/udev/rules.d
 lib/udev/rules.d/56-lvm.rules
@@ -1389,6 +1390,8 @@
 init
 lib64
 lib64/ld-linux-x86-64.so.2
+cryptroot
+cryptroot/crypttab
 usr
 usr/lib
 usr/lib/x86_64-linux-gnu