-
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
Move /boot filesystem to partition 3 #669
Comments
I admire your optimism! Are there plans to transition existing systems? (would bootupd handle something like this?) |
Nope. The change should only affect Ignition, which isn't relevant after the first boot. |
The boot filesystem was moved to partition 3 recently. Let's update the code to be a little more dynamic about finding the boot paritition so we can be forward and backward compatible. For more context see: - coreos/fedora-coreos-tracker#669 - coreos/coreos-assembler#1820
The boot filesystem was moved to partition 3 recently. Let's update the code to be a little more dynamic about finding the boot paritition so we can be forward and backward compatible. For more context see: - coreos/fedora-coreos-tracker#669 - coreos/coreos-assembler#1820
The fix for this went into stable stream release |
The boot filesystem was moved to partition 3 recently. Let's update the code to be a little more dynamic about finding the boot paritition so we can be forward and backward compatible. For more context see: - coreos/fedora-coreos-tracker#669 - coreos/coreos-assembler#1820
Describe the enhancement
The current x86_64 partition layout looks like this:
with the BIOS-BOOT partition omitted from the 4Kn image. Change it to look like this:
with the BIOS-BOOT partition included in the 4Kn image. Likewise move
/boot
to partition 3 on non-x86 arches.System details
All platforms
Additional information
We're planning to implement #581 via Dracut glue in the initramfs, activated by an Ignition config. Users will be able to write some FCC sugar to specify a mirrored disk layout. This will desugar to an Ignition config which creates the appropriate partitions on each of the mirrored disks, and the Dracut glue will then handle copying the necessary data. The detailed proposal is in coreos/enhancements#3 and a WIP PR is in coreos/fedora-coreos-config#718.
To avoid rerunning
grub-install
from the initramfs, the recreated BIOS-BOOT partition needs to be at the same offset as the old one. Currently that offset is 512 MiB, since BIOS-BOOT comes after/boot
and the ESP. That constant is awkward to hardcode into FCCT. Thus, we're planning to swap BIOS-BOOT and/boot
so BIOS-BOOT is at the beginning of the disk.Everything that wants to mount
/boot
should be doing it by filesystem label (or partition label), not by index, but we wanted to raise this issue for visibility.The text was updated successfully, but these errors were encountered: