dracutdevs / dracut

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

fix(dmsquash-liveiso): failure to iso-scan boot Fedora .iso images #2466

Closed FGrose closed 1 year ago

FGrose commented 1 year ago

Set up the iso image file loop device with the -P, --partscan option to force the kernel to scan the partition table on the newly created loop device.

This seems to solve the problem with the Fedora .iso images.

Checklist

Fixes #2464

LaszloGombos commented 1 year ago

@FGrose Thanks !

From the description of the problem it seems to me that https://github.com/dracutdevs/dracut/issues/2183 is fixing a similar issue . Can you confirm that https://github.com/dracutdevs/dracut/issues/2183 does not resolve your issue and we would need both https://github.com/dracutdevs/dracut/issues/2183 and this current PR ?

Or perhaps this PR is a (better) alternative to https://github.com/dracutdevs/dracut/issues/2183 ?

FGrose commented 1 year ago

Turns out that #2196, the fix for #2183 was the effective fix in my test that was based on dracut 059-10.fc39. Closing #2466 and #2464.