Installing dracut on the install client

Robert Markula robert at markula.org
Mon Jan 28 11:27:47 CET 2019


Am 28.01.19 um 09:28 schrieb Thomas Lange:
>     > Am 23.01.19 um 08:07 schrieb Thomas Lange:
>     >> > anyone succeeded in installing dracut on a Debian stretch client using FAI?
>     >> I'm installing all my machines using dracut. I have this line in my
>     >> package_config file:
>     >> 
>     >> dracut initramfs-tools-
>
>     > It seems that LVM is the culprit. Using dracut, as soon as the root
>     > filesystem resides on LVM, the system panics. However, using the exact
>     > same config, but with initramfs-tools instead of dracut, everything
>     > works as it should.
> You need rd.auto as additional kernel cmdline parameter if you use LVM
> for the root filesystem. See man dracut.cmdline for more info.
>

Thanks for that one, missed it so far. But even with 'rd.auto' missing
it should just drop to the dracut shell, not induce a kernel panic. And
indeed, adding this to the kernel command line still does not resolve
that error. So there must be missing something else.

Interestingly enough, even adding 'rd.break=cmdline' ends in a kernel
panic before dropping to a shell.

Btw, the last entry right before the kernel panic is:

<snip>
/init: error while loading shared libraries
</snip>

Do you use something else dracut-related in your config?


More information about the linux-fai mailing list