mkinitrd

Hello,
Iḿ using kiwi tumbleweed and all is good except in the live image I’m having this error both with terminal ** *sudo mkinitrd ***in the live imageand also as result of the calamares installer:

Creating initrd: /boot/initrd-5.2.11-1-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-5.2.11-1-default 5.2.11-1-default
findmnt: can't read (null): No such file or directory
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'multipath' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'stratis' will not be installed, because command 'stratisd-init' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
findmnt: can't read (null): No such file or directory
dracut: dracut module 'nfs' will not be installed, because command 'rpc.statd' could not be found!
dracut: dracut module 'nfs' will not be installed, because command 'mount.nfs' could not be found!
dracut: dracut module 'nfs' will not be installed, because command 'mount.nfs4' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'kiwi-live' cannot be found or installed.
Generating  /boot/initrd-5.2.11-1-default targets failed
  • The dracut-kiwi-live is intalled but the ***python3-kiwi ***was installed in the building of the image but is not present now in the image itself.

Thanks maybe is this the wrong place? Any help welcome.:wink:

What are you trying to do?

Are you attempting to update the kernel in a live USB? That won’t work for entirely different reasons. The kernel is pretty much fixed for the live image.

If you want Tumbleweed on a USB such that you can update the kernel, then best to actually install to that USB drive.

Agreed regarding why you might want to manually modify the initrd of a kernel…
Why not simply accept the pre-compiled kernel?
And, if the kernel and any other packages are not the current releae, then after the image is running, the as usual

zypper dup

Else,
If you don’t want to wait for the next Kiwi image,
Update the image on your own before distributing it…

TSU

Hi,

then after the image is running, the as usual zypper dup

That was exactly what I have I done in the live iso so I think this is installer problem config.
Thanks.

Hello,
Maybe I was not clear enough, so this is the resolution of the problem:

  • Is a dracut and calamares issue:
https://github.com/calamares/calamares/issues/1245

thanks.