installer: Create bios_grub partition when it is needed.

* gnu/installer/parted.scm (auto-partition!): Only check for ESP on EFI
installations.
This commit is contained in:
Miguel Ángel Arruga Vivas 2020-10-17 14:20:41 +02:00
parent a3ab43f49a
commit 19c14d95b3
No known key found for this signature in database
GPG key ID: 634C6E8979FABEC2

View file

@ -911,13 +911,13 @@ (define* (auto-partition! disk
(let* ((start-partition
(and (not has-extended?)
(not esp-partition)
(if (efi-installation?)
(and (not esp-partition)
(user-partition
(fs-type 'fat32)
(esp? #t)
(size new-esp-size)
(mount-point (default-esp-mount-point)))
(mount-point (default-esp-mount-point))))
(user-partition
(fs-type 'ext4)
(bootable? #t)