I would like to check which of those kernel modules from the running
system were included in the initrd. I want to rule out that the 24.04
initrd misses a module. So can you filter the list of files in the
initrd by the loaded modules and diff the result. So can you either
provide the list of files in both initrds or run the filtering on your
side?

So code for that should be something like:

lsinitramfs /path/to/working-initrd > working
lsinitramfs /path/to/faulty-initrd > faulty
lsmod > lsmod-output
for module in $(cut -f 1 -d ' ' lsmod-output); do grep -w "${module}.ko" 
working; done > working2
for module in $(cut -f 1 -d ' ' lsmod-output); do grep -w "${module}.ko" 
faulty; done > faulty2
diff -u working2 faulty2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076912

Title:
  broken initrd.img after upgrade to 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2076912/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to