dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
599 stars 398 forks source link

USB boot/squashfs mount issue/Question #1587

Closed treedavies closed 1 year ago

treedavies commented 3 years ago

Hi dracutdevs,

I am attempting to boot from a USB drive using kernel 5.4.41 with a initramfs built with Dracut 0.50 from syslinux/isolinux. This is done on a LFS system. I specifically include the dmsquash-live module in my /etc/dracut.conf

My menu config looks like: linux /LiveOS/vmlinuz.x86_64 root=live:CDLABEL=Physix-Project rd.live.image APPEND initrd=/LiveOS/initramfs-img.x86_64

At boot, the system halts soon after the following message. dracut: FATAL: Don't know how to handle 'root=live:Physix-Project

I see the root=live:CDLABLE=<label> used by several other distro's live images. If I use an initrd/initramfs from those distros, it works.

So my question is: What is needed, and missing, from my initramfs to recognize this option?

best regards, Tree

stale[bot] commented 1 year ago

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

LaszloGombos commented 1 year ago

@treedavies you might need the iso-scan/filename=PATH_TO_ISO argument as well and your .iso file should be labeled Physix-Project.

If you do not have an iso, than perhaps our test suite can be helpful for your case - https://github.com/dracutdevs/dracut/blob/master/test/TEST-16-DMSQUASH/test.sh

We usually do not flag issue with "bug" label that are questions about the project.

stale[bot] commented 1 year ago

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.