Installing dracut on the install client
Robert Markula
robert at markula.org
Sun Jan 27 23:34:19 CET 2019
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.
Test cases:
* LVM + dracut: fails
* LVM + initramfs-tools: works
* non-LVM + dracut: works
*** disk_config LVM: ***
<snip>
# Physical disks
disk_config disk1 bootable:1 fstabkey:uuid
primary /boot 1GiB ext4 defaults,errors=remount-ro
primary - 18GiB- - -
# LVM layer
disk_config lvm
vg vgmain disk1.2
vgmain-root / 10GiB ext4 defaults,errors=remount-ro
vgmain-home /home 1GiB ext4 defaults,noexec,nosuid,nodev
vgmain-srv /srv 1GiB- ext4 defaults,noexec,nosuid,nodev
vgmain-tmp /tmp 1GiB ext4 defaults,noexec,nosuid,nodev
vgmain-var /var 2GiB ext4 defaults,nosuid
vgmain-vartmp /var/tmp 1GiB ext4
defaults,noexec,nosuid,nodev
vgmain-swap swap 1GiB swap sw
</snip>
*** disk_config non-LVM: ***
<snip>
# Physical disks
disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid
primary / 2G-50G ext4 rw,noatime,errors=remount-ro
logical swap 200-10G swap sw
logical /home 100- ext4 rw,noatime,nosuid,nodev createopts="-L
home -m 1" tuneopts="-c 0 -i 0"
</snip>
More information about the linux-fai
mailing list