Subject: Re: bug#44511: guix system vm-image fails when using grub-efi-bootleader
From: Ludovic Courtès <[email-masked]>
To: Maxim Cournoyer <[email-masked]>
Cc: [email-masked]
Date: Tue, 10 Nov 2020 21:32:36 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Maxim Cournoyer <[email-masked]> skribis:

> Attempting to build the lightweight-desktop.tpml image configuration using:
>
> $ guix system vm-image gnu/system/examples/lightweight-desktop.tmpl --verbosity=10 --no-offload

[...]

> installing bootloader...
> Backtrace:
>            1 (primitive-load "/gnu/store/8v2p9vi8249z31f8gsvrdf3c0b4
> In ./gnu/build/vm.scm:
>     485:6  0 (initialize-hard-disk "/dev/vda" #:bootloader-package _ 
> ./gnu/build/vm.scm:485:6: In procedure initialize-hard-disk:
> ERROR:
>   1. &message: "'/gnu/store/8jf4yz2vb77d7ww1q42x3hqr5bd6nwl3-grub-efi-2.04/sbin/grub-install --boot-directory /fs/boot --bootloader-id=Guix --efi-directory /fs/dev/vda' exited with status 1; output follows:\n\n "

Fixed in 7a20c1676a8421f3ac06a2634a27c2837293df0b by mimicking what
‘virtualized-operating-system’ does.

> file-size: /gnu/store/0llx3y194278l5ksr4xh9kc64mh8nn8d-nss-certs-3.52.1/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: No such file or directory
> file-size: /gnu/store/8i7j0d7hwz56hkzd83cwbdfnir2d1g68-profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: No such file or directory

Oh, I’ll address this one separately.

Thanks,
Ludo’.