View previous topic :: View next topic |
Author |
Message |
Kethreveris n00b
Joined: 16 Feb 2009 Posts: 20 Location: Rethwallen
|
Posted: Thu Sep 05, 2024 1:04 am Post subject: Dracut compression defaults to ZSTD now? |
|
|
Seems the default for "dracut" compression changed from "gzip" to "zstd" recently.
During a portage update on August 28th, 2024, "dracut" was updated, and I normally create a new initial RAM disk when that happens. Then I created a new Grub entry to use this new initial RAM disk, (leaving the old InitRD & Grub entry in place). Server could not boot with this new initial RAM disk, but complained about not being able to mount root, (I use ZFS root and EXT3 "/boot"). So initially I did not suspect "dracut".
Fussing with it, I noticed that during creation, "dracut" gave me a notice about using "zstd". I don't remember seeing that before. (And I routinely create new initial RAM disks when packages, like Virtual Box, or "dracut" are updated.)
Code: | dracut[I]: *** Creating image file '/boot/linux-6.6.30-gentoo.1b.img' ***
dracut[I]: Using auto-determined compression method 'zstd'
dracut[I]: *** Creating initramfs image file '/boot/linux-6.6.30-gentoo.1b.img' done *** |
Anyone else see this?
Seems I did not activate "zstd" compression support everywhere in my kernel. Easy enough work around whence I understood the problem. Added this to my "dracut" configuration and made a new initial RAM disk;
Don't really need "zstd" for initial RAM disks. I have plenty of room on "/boot".
So, did the default compression for "dracut" change?
If so, how do I determine, (except for that message during creation), what compression program was used for my initial RAM disks?
The manual page for "dracut" says "gzip" is the default;
Quote: | --gzip
Compress the generated initramfs using gzip. This will be done by default, unless another compression
option or --no-compress is passed. Equivalent to "--compress=gzip -9". |
Does that mean we need to update the manual page for "dracut"? _________________ Kethreveris, (aka Kethrery) |
|
Back to top |
|
|
floppymaster Developer
Joined: 07 Jul 2010 Posts: 230 Location: Detroit, MI, USA
|
|
Back to top |
|
|
Kethreveris n00b
Joined: 16 Feb 2009 Posts: 20 Location: Rethwallen
|
Posted: Thu Sep 05, 2024 6:31 am Post subject: |
|
|
Thank you, that does seem likely to prevent the problem I had. _________________ Kethreveris, (aka Kethrery) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|