image: Introduce the mbr-hybrid-raw image type.

Until 209204e23b and
d57cab7641, the default image type used by "guix
system image" was an MBR image with an ESP partition.

Having both an MBR image and an ESP partition is handy because the image will
boot on most x86 based systems using legacy BIOS and/or UEFI.

We now have a distinction between MBR images and EFI images. Introduce a new
MBR hybrid image type and default to it to restore the default behaviour.

This also fixes the images section of (gnu ci) that was trying to install a
BIOS bootloader on an EFI, GPT image and failing to do so.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Mathieu Othacehe 2023-09-09 17:57:25 +02:00
parent 00a1ee15cd
commit e5ed1712da
No known key found for this signature in database
GPG key ID: 8354763531769CA6
4 changed files with 43 additions and 9 deletions

View file

@ -1169,7 +1169,7 @@ Some ACTIONS support additional ARGS.\n"))
(debug . 0)
(verbosity . #f) ;default
(validate-reconfigure . ,ensure-forward-reconfigure)
(image-type . mbr-raw)
(image-type . mbr-hybrid-raw)
(image-size . guess)
(install-bootloader? . #t)
(label . #f)