vm: 'system-qemu-image' forces the use of i386/BIOS GRUB.
Fixes <https://bugs.gnu.org/44511>. Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>. * gnu/system/vm.scm (system-qemu-image): Add 'bootloader' field to OS.
This commit is contained in:
parent
b51da3ccef
commit
7a20c1676a
1 changed files with 8 additions and 1 deletions
|
@ -655,7 +655,14 @@ of the GNU system as described by OS."
|
||||||
'dce)))
|
'dce)))
|
||||||
|
|
||||||
|
|
||||||
(let* ((os (operating-system (inherit os)
|
(let* ((os (operating-system
|
||||||
|
(inherit os)
|
||||||
|
|
||||||
|
;; As in 'virtualized-operating-system', use BIOS-style GRUB.
|
||||||
|
(bootloader (bootloader-configuration
|
||||||
|
(bootloader grub-bootloader)
|
||||||
|
(target "/dev/vda")))
|
||||||
|
|
||||||
;; Assume we have an initrd with the whole QEMU shebang.
|
;; Assume we have an initrd with the whole QEMU shebang.
|
||||||
|
|
||||||
;; Force our own root file system. Refer to it by UUID so that
|
;; Force our own root file system. Refer to it by UUID so that
|
||||||
|
|
Reference in a new issue