Replies: 4 comments 2 replies
-
Please post your kernel/dracut command line. It should look similar to the test case dracut comes with - https://github.com/dracutdevs/dracut/blob/master/test/TEST-16-DMSQUASH/test.sh#L42 Perhaps the issue is that you do NOT need rootfs.img - squashfs.img should be able to contain a normal file system directly. |
Beta Was this translation helpful? Give feedback.
-
My kernel command line was Running it with
The systemctl output is: I had the squashfs image contain the root filesystem by itself before, but that gave the same results. I switched to the roofs.img approach as that is the traditional way according to dracut.cmdline(7) |
Beta Was this translation helpful? Give feedback.
-
@LaszloGombos By removing the rootfs.img layer and adding In the dmesg log I see this error: How can I fix this sysroot mount issue? |
Beta Was this translation helpful? Give feedback.
-
@piano1029 You might be running into #1820 . I would be valuable for the project (and also for you) to confirm. You do not need to remove systemd from your rootfs to try this - you can just disable including systemd for the generated initramfs. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've made a live cd with this structure
Linux itself and dracut's first few parts boot fine, but when attempting to mount the root filesystem it goes bad:
In the recovery shell I've mounted the the squashfs.img file to /squash and after that tried to mount the rootfs.img file using
mount /squash/LiveOS/rootfs.img /rootfs
, but this responds withmount: /rootfs: /dev/loop1 already mounted or mount point busy.
, dmesg and journalctl don't show anything.Beta Was this translation helpful? Give feedback.
All reactions