You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Live Systems vs. Installer Systems vs. Installed Systems
In my model I'd like to remove the distinction between these three concepts as much as possible: each of these three images should carry the exact same /usr/ file system, and should be suitable to be replicated the same way.
And that is a great plan!
One obstacle I am seeing there is that most Linux distributions are using a SquashFS for their live and installer images. This is presumably so because the SquashFS is a highly compressed file system that saves download time, download traffic, and flashing time.
dracut also supports uncompressed live filesystem image (rootfs.img) but it is not used much because I guess then the ISO itself would need to be compressed.
So why not have the best of both worlds? feature request:
The ability to have compressed SquashFS but when a specific kernel parameter is configured, de-compress it at first boot. Then delete the no longer needed SquashFS to save disk space.
Why not compress the raw image?
For usability reasons. Because most image to USB writer tools do not have native compression support. It requires an extra step from the user. It requires knowing it is compressed, installing, using a compression tool, finding the decompressed file on the file system.
Presumably hard to convince Linux distributions to drop their SquashFS and compress their ISO instead.
Why decompress the SquashFS? Why not keep the SquashFS?
Cannot be mounted as read-write, even if it could,
it's slower than not using a SquashFS.
Why not use overlays?
Complex. Requires more disk space. Not the usual simple disk layout.
The text was updated successfully, but these errors were encountered:
mkosi-initrd only composes an initrd out of packages. We do not implement our own extra features like dracut or other initrd generators. Hence, if you want something like this, either propose it for systemd or some other package and install/configure that package in an initramfs generated with mkosi.
Most Linux distributions ship:
In Fitting Everything Together you mentioned:
And that is a great plan!
One obstacle I am seeing there is that most Linux distributions are using a SquashFS for their live and installer images. This is presumably so because the SquashFS is a highly compressed file system that saves download time, download traffic, and flashing time.
dracut also supports uncompressed live filesystem image (
rootfs.img
) but it is not used much because I guess then the ISO itself would need to be compressed.So why not have the best of both worlds? feature request:
The text was updated successfully, but these errors were encountered: