mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
a3ab43f49a
commit
19c14d95b3
1 changed files with 6 additions and 6 deletions
|
@ -911,13 +911,13 @@ (define* (auto-partition! disk
|
|||
|
||||
(let* ((start-partition
|
||||
(and (not has-extended?)
|
||||
(not esp-partition)
|
||||
(if (efi-installation?)
|
||||
(user-partition
|
||||
(fs-type 'fat32)
|
||||
(esp? #t)
|
||||
(size new-esp-size)
|
||||
(mount-point (default-esp-mount-point)))
|
||||
(and (not esp-partition)
|
||||
(user-partition
|
||||
(fs-type 'fat32)
|
||||
(esp? #t)
|
||||
(size new-esp-size)
|
||||
(mount-point (default-esp-mount-point))))
|
||||
(user-partition
|
||||
(fs-type 'ext4)
|
||||
(bootable? #t)
|
||||
|
|
Loading…
Reference in a new issue