On Sun, 22 Sep 2019 22:40:45 +0200, Thomas Meyer <thomas@xxxxxxxx> wrote: > I want to achive the following setup with dracut: > > 1.) mount fs on some temp mountpoint > 2.) losetup /dev/loop0 from a file inside the fs from 1 > 3.) mount rootfs from /dev/loop0 > > any ideas how to achive this setup with dracut? all help is appreciated If you check the dmsquash-live dracut module which resides in /usr/lib/dracut/modules.d/90dmsquash-live or some likely place, you will see that scripts will boot using root filesystem image file which is mounted through loopback device.
Attachment:
pgpD2DyJcakAy.pgp
Description: PGP signature