mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -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
|
(let* ((start-partition
|
||||||
(and (not has-extended?)
|
(and (not has-extended?)
|
||||||
(not esp-partition)
|
|
||||||
(if (efi-installation?)
|
(if (efi-installation?)
|
||||||
(user-partition
|
(and (not esp-partition)
|
||||||
(fs-type 'fat32)
|
(user-partition
|
||||||
(esp? #t)
|
(fs-type 'fat32)
|
||||||
(size new-esp-size)
|
(esp? #t)
|
||||||
(mount-point (default-esp-mount-point)))
|
(size new-esp-size)
|
||||||
|
(mount-point (default-esp-mount-point))))
|
||||||
(user-partition
|
(user-partition
|
||||||
(fs-type 'ext4)
|
(fs-type 'ext4)
|
||||||
(bootable? #t)
|
(bootable? #t)
|
||||||
|
|
Loading…
Reference in a new issue