mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
fix(disk_util): Switch back to gptmbr.bin for our MBR boot code.
Using the classic mbr.bin was only needed during the transition from syslinux 3 to 6 because the behavior of gptmbr.bin changed after 3. Now that the transition is done and cgpt supports the new scheme now it is time we switched back. This avoids depending on using a hybrid MBR.
This commit is contained in:
parent
3a5388d259
commit
476bae747e
@ -15,8 +15,8 @@ import uuid
|
||||
# First sector we can use.
|
||||
GPT_RESERVED_SECTORS = 34
|
||||
|
||||
# Default MBR boot code for hybrid MBRs
|
||||
DEFAULT_MBR_BOOT_CODE = '/usr/share/syslinux/mbr.bin'
|
||||
# Default MBR boot code for GPT
|
||||
DEFAULT_MBR_BOOT_CODE = '/usr/share/syslinux/gptmbr.bin'
|
||||
|
||||
|
||||
class ConfigNotFound(Exception):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user