mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
disk_layout: replace unused "BOOT-B" with Grub's BIOS Boot Partition
Unlike SYSLINUX, GRUB2 does not recommend embedding itself in a FAT filesystem. Instead GRUB2 prefers embedding in the space between the MBR and first partition or using a dedicated partition that is safe from tampering by fs utilities. In our case the space after the MBR is where the GPT lives so we need to use the extra partition scheme instead. The 64MB "BOOT-B" partition has never been used so we can replace it with a 2MB partition which is more than enough for GRUB.
This commit is contained in:
parent
4228c591a8
commit
cb97931478
@ -16,9 +16,9 @@
|
||||
"features": ["syslinux"]
|
||||
},
|
||||
"2":{
|
||||
"label":"BOOT-B",
|
||||
"type":"coreos-reserved",
|
||||
"blocks":"131072"
|
||||
"label":"BIOS-BOOT",
|
||||
"type":"bios",
|
||||
"blocks":"4096"
|
||||
},
|
||||
"3":{
|
||||
"label":"USR-A",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user