Subject: bug#51261: Guix from qcow2 image refuses to boot after reconfigure

From: Jonathan Brielmaier <[email-masked]>
Date: Mon, 18 Oct 2021 10:38:39 +0000

Imagine follow scenario:

wget
https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.3.0.x86_64-linux.qcow2

Boot the VM:
qemu-system-x86_64 -enable-kvm -m 4G -device e1000,netdev=net0 \
   -netdev user,id=net0,hostfwd=tcp::5522-:22 \
   -drive
file=guix-system-vm-image-1.3.0.x86_64-linux.qcow2,if=virtio,cache=writeback,werror=report

Inside the VM do a:
sudo su
guix system reconfigure /run/current-system/configuration.scm
reboot

Boot fails (see attached image: failed_boot.png).

Its the same if I do:
sudo su
guix pull
GUIX_PROFILE="$HOME/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
hash guix
guix system reconfigure /run/current-system/configuration.scm
reboot

~Jonathan