![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
В Wed, 03 Dec 2014 16:26:17 +0100
Per Jessen
Andrei Borzenkov wrote:
On Wed, Dec 3, 2014 at 4:56 PM, Per Jessen
wrote: See $SUBJ - with mkinitrd, there was always a couple of lines listing which modules had been included.
kernel modules or dracut/mkinitrd module?
Both.
Dracut modules are printed in the beginning of lsinitrd output: dracut modules: bash warpclock i18n ifcfg drm plymouth dm kernel-modules lvm resume rootfs-block terminfo udev-rules biosdevname systemd usrmount base fs-lib shutdown suse Upstream now has -m option to print only modules, you may consider opening bug report to request it. I do not think mkinitrd printed kernel modules either. Suitable approximation is lsinitrd /boot/initrd | grep lib/modules/ What I really miss is the easy way to unpack and rebuild initrd (it is concatenation of several compressed cpio images so trivial zcat | cpio does not work). I'm tempted to send patch for "lsinitrd -x".
I was migrating some 13.1 systems to 13.2 and because the cmdline arguments syntax for nfs root was changed, I occasionally ended up with a non-booting system, so I needed to check that the initrd was built with the right options+modules.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org