To boot live images without a disk (diskless boot, in this sense also stateless), rd.live.fsimg can be used.
Currently that directive takes a compressed archive containing a filesystem image.
But often squashfs images containing the rootfs image are provided.
This feature request is about enabling rd.live.fsimg to use squashfs images as well, this allows us to reuse the squashfs image which is already used by anaconda for installation.
This feature got implemented with
This feature can be tested by:
1. Get the squashfs.img from a livecd to some http server
2. Somehow boot with a kernel and a dracut image containing this fix
2. Modify boot param to use the following boot arguments:
3. After boot check that /run/initramfs/fsimg/ exists
(In reply to Fabian Deutsch from comment #4)
> This feature can be tested by:
> 1. Get the squashfs.img from a livecd to some http server
> 2. Somehow boot with a kernel and a dracut image containing this fix
> 2. Modify boot param to use the following boot arguments:
> root=live:http://path/to/squashfs.img rd.live.fsimg=1
> 3. After boot check that /run/initramfs/fsimg/ exists
well, there is no rd.live.fsimg in dracut code. maybe in anaconda?
The directory is only created, if "rd.writable.fsimg" is specified on the kernel cmdline.
Indeed. My memory was bad.
it should be as in comment 4, but using rd.writable.fsimg instead of rd.live.fsimg
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.