-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change initramfs compression mode from zstd
to xz
to save space on ESP
#168
Comments
Thanks, this helped me gain crucially enough space to allow firmware updates.. with no noticeable difference in boot speed |
Wow, I changed it and it works. Now the laptop is updated! Thank you |
Why not I feel that changing it to
I feel like you aren't thinking about the fact that generating an initramfs image takes more time than updating something like 100 packages on a fast SSD. A good solution would be to make the user choose the level of the ZSTD compression (with level 10 as default) |
The user is free to set whatever option they want in We've freed up space elsewhere, so I don't think this issue is valid any longer. |
Okay but which option is ideal? |
Older installs that still have a 512mb (which includes all HP Dev Ones) ESP are getting "low space" warnings. Resizing the ESP on existing installs cannot be done automatically, and if the installation is encrypted, doing it manually is a pain.
A quick way to free up a little space is to change initramfs compression to
xz
. This can be done manually by changingCOMPRESS=zstd
toCOMPRESS=xz
in/etc/initramfs-tools/initramfs.conf
and regenerating initramfs (sudo update-initramfs -c -k all
). I propose we make this the default automatically.We may need to take more drastic steps later, but this seems like a good quick improvement.
The text was updated successfully, but these errors were encountered: