all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 44511@debbugs.gnu.org
Subject: bug#44511: guix system vm-image fails when using grub-efi-bootleader
Date: Sat, 07 Nov 2020 23:41:44 -0500	[thread overview]
Message-ID: <87mtzsiho7.fsf@gmail.com> (raw)

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	other threads:[~2020-11-08  4:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08  4:41 Maxim Cournoyer [this message]
2020-11-10 20:32 ` bug#44511: guix system vm-image fails when using grub-efi-bootleader Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtzsiho7.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=44511@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.