-
Notifications
You must be signed in to change notification settings - Fork 59
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
increase size of our /boot partition for new installs #1465
Comments
While we're at it, we could also resize the ESP (on 4Kn disks, or everywhere) to fix #993 (comment). We currently have to use FAT16 at least on the 4Kn ESP, which isn't standards-compliant. |
Also of note is https://fedoraproject.org/wiki/Changes/BiggerESP |
For UKIs, they will live in We could move everything to the ESP but that would mean using a different partition layout for BIOS & UEFI setups or do the change on first boot. We could merge the EFI & boot partitions on first boot for UEFI setups to get more space and move everything to the ESP. But would that be worth the complexity increase to skip a bootloader indirection layer and get 512 MB back? Not sure about what we want to do. In terms of space, we already need 3 times sizeof(kernel + initramfs) space for updates right now and we'll need the same for UKIs. |
We discussed this in the community meeting today.
We also discussed briefly the potential challenges. From what I understand they are:
It was determined that we don't think there is significant work related to people's existing Ignition configurations other than just communicating to them they may need updating. In the case where people are reprovisioning root everything gets moved around anyway. In the case where they aren't and a boundary would be violated Ignition will error. We just need to make people aware of the error and the necessary fix. We decided that writing a Fedora change proposal for this change would be a good idea to socialize it more widely. |
The proposal made by @keszybz on the devel list (when discussing the BiggerESP change proposal) seems interesting:
|
Another suggestion from Benjamin is to merge We would thus only loose the space used by the BIOS GRUB partition and everything else would be in the combined EFI/boot partition. Also related to ostreedev/ostree#1719 & ostreedev/ostree#2753. |
We discussed this in the community meeting today. Specifically we discussed the side-proposal mentioned in #1465 (comment). It seems to have some merit, but would need ostreedev/ostree#1951 (as mentioned by @travier above) and we'd also need to determine if all architectures could pick up the change (combined ESP and /boot) without issue (i.e. does petitboot support VFAT?). We may try to send a mail to the mailing list to see if the side-proposal could gain steam. |
xref #1353, which requests a larger reserved partition in the aarch64 image. |
While I'm normally in favour of less partitions, I'm not 100% sure about merging /boot an /boot/efi partitions... I was thinking of using fs-verity to verify this new initoverlayfs thing we are working on, which I am placing in /boot as of today with vfat I'm not sure if there are alternate verification techniques that can be used there. But am open to ideas... In automotive at the moment, boot time is a focus so every millisecond matters. I know ext4 also has pretty decent boot metrics, so this is also worth considering as a factor. vfat is even simpler, so maybe it's even faster (or slower?), I genuinely don't know. https://elinux.org/images/0/02/Opdenacker-finding-best-block-filesystem.pdf https://www.youtube.com/watch?v=kLxM4FyiVpQ&ab_channel=TheLinuxFoundation |
Although nevermind, thinking about this more, we can have just a vfat partition, if we need functionality from a more advanced filesystem like ext4/erofs , we can just loopback mount a file with that filesystem contained. So scratch what I said before, one single vfat partition actually does make sense to me as long as it can be mounted faster or at an equivalent rate than an ext4 filesystem on boot. |
Interesting read that proposes a partition scheme: https://0pointer.net/blog/fitting-everything-together.html. The article covers a number of topics, each one bringing more info about the partitioning scheme. It is summarized in the "Partitions Setup" section. |
Right now our /boot partition size is
384M
. We have decided that we want to increase our /boot partition size because we have been hitting out of space issues.We also believe that we should limit this change to newly deployed systems (i.e. don't try to re-arrange the partition table of updating systems).
In this ticket we should discuss:
coreos-installer
The text was updated successfully, but these errors were encountered: