GNU bug report logs -
#44511
guix system vm-image fails when using grub-efi-bootleader
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44511 in the body.
You can then email your comments to 44511 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#44511
; Package
guix
.
(Sun, 08 Nov 2020 04:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 08 Nov 2020 04:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Attempting to build the lightweight-desktop.tpml image configuration using:
$ guix system vm-image gnu/system/examples/lightweight-desktop.tmpl --verbosity=10 --no-offload
ends up crashing with:
--8<---------------cut here---------------start------------->8---
populating...
creating FAT partition...
mkfs.fat 4.1 (2017-01-24)
mounting root partition...
[ 2314.084305] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
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 "
[ 2315.563173] reboot: Restarting system
[ 2315.569476] reboot: machine restart
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
Backtrace:
1 (primitive-load "/gnu/store/wjnqppa67w1cql169d1z5dmcldj?")
In ./gnu/build/vm.scm:
198:12 0 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?)
./gnu/build/vm.scm:198:12: In procedure load-in-linux-vm:
guest VM code exited with a non-zero status 256
--8<---------------cut here---------------end--------------->8---
The value of the --efi-directory argument (/fs/dev/vda) of the grub-install
command seems suspicious to me.
Thanks,
Maxim
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 10 Nov 2020 20:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 10 Nov 2020 20:33:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 44511-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> 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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Dec 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.