GNU bug report logs -
#26815
[PATCH 0/3] Hybrid UEFI disk image
Previous Next
Reported by: Marius Bakke <mbakke <at> fastmail.com>
Date: Sun, 7 May 2017 14:36:02 UTC
Severity: important
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi Marius,
>
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * gnu/system/vm.scm (qemu-image): Add GRUB-EFI to inputs. Append 40MiB EFI
>> System Partition.
>> * gnu/build/vm.scm (install-efi): New procedure.
>> (initialize-hard-disk): Generate grub EFI blob when ESP is present.
>
> [...]
>
>> +(define (install-efi esp grub.cfg)
>> + "Write a self-contained Grub UEFI blob to the mounted ESP using GRUB.CFG."
>
> I’m really nitpicking here, but the spelling is “GRUB”. :-)
Aah, forgot it was an acronym. Will fix!
>> + (with-output-to-file grub.cfg
>> + (lambda _
>> + (format #t
>> + "insmod part_msdos~@
>
> Nitpicking too, but I have a preference for the more explicit:
>
> (call-with-output-file grub.cfg
> (lambda (port)
> (format port …)))
Duly noted.
> Do I get it right that ‘disk-image’ will now give us UEFI-enabled
> images? (Should we mention it in guix.texi?)
Indeed! It should even work on EFI-enabled ARM hardware.
It probably deserves a mention in the manual somewhere. Will have a look.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.