GNU bug report logs - #66207
Cannot boot any recent VM built with “guix system image -t qcow2”

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ricardo Wurmus <rekado@HIDDEN>; dated Tue, 26 Sep 2023 07:42:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 1 Oct 2023 21:06:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 01 17:06:54 2023
Received: from localhost ([127.0.0.1]:35500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qn3eQ-0008IM-7w
	for submit <at> debbugs.gnu.org; Sun, 01 Oct 2023 17:06:54 -0400
Received: from sender3-of-o58.zoho.com ([136.143.184.58]:21839)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1qn3eO-0008ID-Hx
 for 66207 <at> debbugs.gnu.org; Sun, 01 Oct 2023 17:06:53 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1696194389; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=dQKx/+ayKDZfk9WZH8Xnkk21vL3ZNoDBX1pq/eoMOIniPTDXK6EtFkVQqsVcdBInOR62kJQQnSOidqJKVM83vLtkfqFsaY+uKyB6HY6/xDjDfNHB771UXS4cBEQHKZJHxjV6aNdgHWhilIMTwqBAZ4D29QCurCC+dx4sYq6kO28=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1696194389;
 h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To;
 bh=gSLWAnlSsPJQ9InLFZNrkW7CVrOg6q+vC9PtSSUfA6I=; 
 b=m00b3ZsjNsUH0GlTFQzibMyT4O0iscghRnLGs5OiRho6ExW0ileQnhhgw3hsJDxK2SLPP72KqxGmVedyw7QVrEBeIS5Q68P7BvvYQLUxc7gCG7RHa5PabbyeV/fyGerrYjB9cQ7yn/xYplux2aiWrDi5n9YsoxTMqb21Dxrwj34=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1696194389; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To;
 bh=gSLWAnlSsPJQ9InLFZNrkW7CVrOg6q+vC9PtSSUfA6I=;
 b=V5twSBviHn4UvLWhQpZj7v1nClogoH2dy2iYgzlV4AQk6vvz9y+IfHKiGAlljwqs
 fSMxTzATZy4JfCjvlfP+ayKx0otlJ5geE3lAVVf3/hMQhOzxD6TUlNQPZybGUyTtqqk
 A4sdcnyJYMMiO5juJ/J1WXlI5OkIbRxOHKa3zx6Y=
Received: from localhost (i5E862C05.versanet.de [94.134.44.5]) by
 mx.zohomail.com with SMTPS id 1696194387466105.7827945939083;
 Sun, 1 Oct 2023 14:06:27 -0700 (PDT)
References: <87jzsd4c1b.fsf@HIDDEN> <87wmw8t1ut.fsf@HIDDEN>
 <877co7s7vc.fsf@HIDDEN> <87h6nas77g.fsf@HIDDEN>
 <87v8bq6ql7.fsf@HIDDEN>
User-agent: mu4e 1.10.7; emacs 29.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#66207: Cannot boot VMs with grub-efi-bootloader
Date: Sun, 01 Oct 2023 22:59:21 +0200
In-reply-to: <87v8bq6ql7.fsf@HIDDEN>
Message-ID: <87ttraqchb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66207
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Mathieu Othacehe <othacehe@HIDDEN> writes:

> Now it looks to me that what Ricardo is observing is not linked to any
> of the changes mentioned above.  When using the grub-efi-bootloader,
> Grub is never installed in the post-MBR gap. This was already the case
> in 1.4.0 and is still true. Those images cannot be booted without the
> qemu -bios option unless I'm mistaken.

FWIW I tried the 1.4.0 image at
https://ftpmirror.gnu.org/gnu/guix/guix-system-vm-image-1.4.0.x86_64-linux.=
qcow2,
which did boot just fine.

I suppose that one isn=E2=80=99t using the grub-efi-bootloader.

It=E2=80=99s quite possible that I=E2=80=99m one of only few people who are=
 unaware of
the =E2=80=9C-bios=E2=80=9D option to qemu.  So there really isn=E2=80=99t =
any bug or regression
here, it=E2=80=99s just that my primitive mental model (use =E2=80=9Cguix s=
ystem=E2=80=9D to
build a VM, run with qemu) had not required upgrading until now.

For the benefit of people like me or newcomers perhaps the documentation
could make the dependency between the use of the grub-efi-bootloader and
additionally required qemu arguments a little clearer.

--=20
Ricardo




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 1 Oct 2023 20:22:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 01 16:22:25 2023
Received: from localhost ([127.0.0.1]:35449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qn2xM-0006xv-Se
	for submit <at> debbugs.gnu.org; Sun, 01 Oct 2023 16:22:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34128)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1qn2xJ-0006xg-Sz
 for 66207 <at> debbugs.gnu.org; Sun, 01 Oct 2023 16:22:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1qn2wx-0003Vi-T7; Sun, 01 Oct 2023 16:21:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=OgN9+oywmVMSgrBZNGJsJpGk9w/SHzYPn9994cNYI/4=; b=KgAKTNGg3uXb2aqUdNaJ
 1RTYy2EuXtgA35QrSmIkniI5heEGvxsW38oqmQoEIM7uezK+TqIiVhD/lT6WGO0yI2ysXycl0hRKQ
 MsF0Ccvn8jB1/arKyePNn9Uu4jscfoNA40fAS/BLCGpcQY8YM728PaJCrU3hCipaGmVilh9OIFTMt
 piT0RiLVsxjR/ue6sthks50tgvM/yHaCPvV1hgNv/mQWGVZ5wYQtgv64QdX6rp9WWQkSm3Tyqd1Dg
 96Q3z6ws5fw6THkoY/dWAjeaVM2fYDXyl6ho+VMATcrXRanvZUpkmr8xDOmcc8UGt1TdIsshDpUkX
 kpnQXSBGAWrdjw==;
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#66207: Cannot boot VMs with grub-efi-bootloader
References: <87jzsd4c1b.fsf@HIDDEN> <87wmw8t1ut.fsf@HIDDEN>
 <877co7s7vc.fsf@HIDDEN> <87h6nas77g.fsf@HIDDEN>
Date: Sun, 01 Oct 2023 22:21:56 +0200
In-Reply-To: <87h6nas77g.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sun, 01 Oct 2023 17:17:23 +0200")
Message-ID: <87v8bq6ql7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66207
Cc: Ricardo Wurmus <rekado@HIDDEN>, 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hey,

Some context around that.

Before recent commits, when we were producing qcow2 or raw images,
those were MBR images with an EFI partition. If the grub-bootloader
was used, then Grub was installed both in the post-MBR gap
and in the EFI partition. This means that a single image could be booted
with or without the qemu -bios option, i.e both in BIOS legacy
or in EFI mode.

Commit d57cab764122af69d52d8cc9c843456044e5d7bc changed the default
behaviour and the produced images were by default MBR images, without
EFI partitions.

I changed that with e5ed1712da049b1c3dcf01e0a7e02e48a8aff012 and
dfaeaae9c7e7283b99ad10aef3e61402e9820bc7 which introduced a new image
type called mbr-hybrid-raw, which is now the default image type,
restoring the previous behaviour.

Now it looks to me that what Ricardo is observing is not linked to any
of the changes mentioned above.  When using the grub-efi-bootloader,
Grub is never installed in the post-MBR gap. This was already the case
in 1.4.0 and is still true. Those images cannot be booted without the
qemu -bios option unless I'm mistaken.

Hope it helps,

Mathieu






Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 1 Oct 2023 19:51:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 01 15:51:47 2023
Received: from localhost ([127.0.0.1]:35391 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qn2Tj-00063z-3R
	for submit <at> debbugs.gnu.org; Sun, 01 Oct 2023 15:51:47 -0400
Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:60661)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1qn2Th-00063m-1z
 for 66207 <at> debbugs.gnu.org; Sun, 01 Oct 2023 15:51:45 -0400
Received: by mail-qk1-x734.google.com with SMTP id
 af79cd13be357-77575233633so431756585a.0
 for <66207 <at> debbugs.gnu.org>; Sun, 01 Oct 2023 12:51:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1696189883; x=1696794683; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ofOfy5eQxLwBB4QtkM5e/oaxXEeKlOQVpucusPpYuVY=;
 b=l7i8ugZVt6ZOpRPR2qiFlnQDs2LGlkNYRP7/xS0g0CxxZ4jSH4EGzgb93uE3tN0rPH
 WlYZMXFjUNJM5EZQPjn0TqQwY0hTVHtSzB3kOEtvfZqg+sKQJUJGisufiTKDAJm2DfsN
 e+ZNKEo172UCGxtKcd3GbdiMc72Mb2X+1D/P+OIQIURgMVtLC3LZxnLDA2viAzWzgjj2
 sW80klqiei3DzxvYyGHri621623b2MGPoqpAbs5Me+maMPjYbyZu31eo6mD+Mv+UlDQF
 Hev5PVbC8uhsOMK01YFd8ePSjjTLKDUXymFMSO9/+s8/YO3uukFTZVdCFsLb6HVFESx7
 pqHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1696189883; x=1696794683;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ofOfy5eQxLwBB4QtkM5e/oaxXEeKlOQVpucusPpYuVY=;
 b=Sh6qVtlN9EUcXUGh/wCn3Qx9+INH5xlqjrSW10bvDerjDd/pqZ0Fq8cGTO4c9kKKFh
 2VuVZvR0dL1YeOtpbYQmgjXGWT1N3sJcJQD5Buob7P9vRsVQ+jnnIO6zq8RO5bhYyIwf
 dxOcVjqsz5IfeLU7xpu3bJvkiV4M0e/0+6SQL2VfQl/tbcu4Qsk6Wu1lUrtY6OgwTFNG
 f3UtpD4vT7z8AOqEMvEdLoLyvIqie6NwIFVxrE+IBfSR7zHWw2an4WDB0NqdLpc27tV/
 5z8EYFOnE44ZXdNy3BPUkC9zJSr8xnCSl7QDaz/AQ9re3CZFKr8nmdhA9aJcV2DfrXVc
 mPZg==
X-Gm-Message-State: AOJu0Yy4OUZejK/RXQ64VdqvE3s11bbB40D6X09EgO/UKyrlpUSCYf7N
 k1PXYumnrUrmZzkeIM+XCiwkPat2gZA=
X-Google-Smtp-Source: AGHT+IGhpyksMwrm/SM6x3gyz/cB/+1tfJ4ggk2sIJw2dj40/BLOy501J6cV3Z922uobIMChDHjqRw==
X-Received: by 2002:a05:620a:3710:b0:774:2113:743a with SMTP id
 de16-20020a05620a371000b007742113743amr12016426qkb.19.1696189883114; 
 Sun, 01 Oct 2023 12:51:23 -0700 (PDT)
Received: from hurd (dsl-10-136-90.b2b2c.ca. [72.10.136.90])
 by smtp.gmail.com with ESMTPSA id
 e16-20020ad44190000000b006516780a0a5sm8511878qvp.117.2023.10.01.12.51.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 01 Oct 2023 12:51:22 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#66207: Cannot boot VMs with grub-efi-bootloader
References: <87jzsd4c1b.fsf@HIDDEN> <87wmw8t1ut.fsf@HIDDEN>
 <877co7s7vc.fsf@HIDDEN>
Date: Sun, 01 Oct 2023 15:51:21 -0400
In-Reply-To: <877co7s7vc.fsf@HIDDEN> (Ricardo Wurmus's message of "Sat,
 30 Sep 2023 22:39:41 +0200")
Message-ID: <875y3q6s06.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66207
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

[...]

> It=E2=80=99s due to the bootloader.  This field from the bare bones templ=
ate
> works:
>
>   (bootloader (bootloader-configuration
>                 (bootloader grub-bootloader)
>                 (targets '("/dev/sdX"))))
>
> but this from the desktop template doesn=E2=80=99t:
>
>   (bootloader (bootloader-configuration
>                 (bootloader grub-efi-bootloader)
>                 (targets '("/boot/efi"))))
>
> The manual for =E2=80=9Cguix system=E2=80=9D gives a somewhat complicated=
 invocation
> that I only found out about later:
>
>           image=3D$(guix system image --image-type=3Dqcow2 \
>                   gnu/system/examples/lightweight-desktop.tmpl)
>           cp $image /tmp/my-image.qcow2
>           chmod +w /tmp/my-image.qcow2
>           qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000=
 \
>                              -bios $(guix build ovmf)/share/firmware/ovmf=
_x64.bin

Ah, I remember tripping on this.  GNOME Boxes can be built with ovmf
support and be able to boot with either a BIOS or UEFI bootloader but
bare QEMU cannot do so (and upstream appeared keen on keeping QEMU dumb
and keep the nicer abstractions for virtual-manager or GNOME Boxes
(maybe that's handled by libvirtd, I don't know).

> I haven=E2=80=99t tried it yet, but I assume that providing this extra =
=E2=80=9C-bios=E2=80=9D
> option would fix it.  It wasn=E2=80=99t necessary before, though, and I t=
hink
> it=E2=80=99s an inconvenient complication when running Guix VMs.
>
> Perhaps an example invocation of qemu-system-* could be added as a
> comment to the templates?

Or a simple nudge to the reference in the info manual?  This would avoid
duplicating the information (easing maintenance).  I think there's a way
to format it so that it opens directly as a URL in Emacs at least,
though I don't know the details.

--=20
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 1 Oct 2023 15:17:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 01 11:17:50 2023
Received: from localhost ([127.0.0.1]:35148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qmyCc-0003hO-94
	for submit <at> debbugs.gnu.org; Sun, 01 Oct 2023 11:17:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46494)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qmyCa-0003h9-O0
 for 66207 <at> debbugs.gnu.org; Sun, 01 Oct 2023 11:17:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qmyCD-000110-Ck; Sun, 01 Oct 2023 11:17:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=dIweBYlIbr7Glque71o5TH2apr9xVMcIgtWYc/ckWLs=; b=nFKNPfgRQw/sa7zdYH5k
 cgCOwnrQCv5Hwj2c61690EdSH+MDsAoi2QeXKBPvsSHObExuX/ata/QJAjhy8ysREWQCrOtf4x7Sq
 0N/+nQ+UQQfrUcOwBdgb6wNqXeZY4F5+K6NygUU9S86Rgtsj3VPaMIMB+vMa2hCkoCv+3H+4nielp
 Jey8Dw2AvtjzPaELQ90jsA43rDa3sNmSciLLZE7H5AhXTxHmLTgbG0rqa1GHmOOm0NlhYohAixqU3
 wK3m3wBXBseFrpLqdAK2pGHiGfi0k/p+vQRhEIJ1OeahJi/sNxc5R3+n3poxyzZ7u9cRXKVbwupqP
 Rx2wgrxzK7JdiQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#66207: Cannot boot VMs with grub-efi-bootloader
References: <87jzsd4c1b.fsf@HIDDEN> <87wmw8t1ut.fsf@HIDDEN>
 <877co7s7vc.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 =?utf-8?Q?Vend=C3=A9miair?=
 =?utf-8?Q?e?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de
 la Cuve
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 01 Oct 2023 17:17:23 +0200
In-Reply-To: <877co7s7vc.fsf@HIDDEN> (Ricardo Wurmus's message of "Sat,
 30 Sep 2023 22:39:41 +0200")
Message-ID: <87h6nas77g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66207
Cc: 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Ricardo Wurmus <rekado@HIDDEN> skribis:

> The manual for =E2=80=9Cguix system=E2=80=9D gives a somewhat complicated=
 invocation
> that I only found out about later:
>
>           image=3D$(guix system image --image-type=3Dqcow2 \
>                   gnu/system/examples/lightweight-desktop.tmpl)
>           cp $image /tmp/my-image.qcow2
>           chmod +w /tmp/my-image.qcow2
>           qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000=
 \
>                              -bios $(guix build ovmf)/share/firmware/ovmf=
_x64.bin
>
> I haven=E2=80=99t tried it yet, but I assume that providing this extra =
=E2=80=9C-bios=E2=80=9D
> option would fix it.  It wasn=E2=80=99t necessary before, though, and I t=
hink
> it=E2=80=99s an inconvenient complication when running Guix VMs.

It means that =E2=80=98--image-type=3Dqcow2=E2=80=99 can now end up creatin=
g EFI images.
Perhaps not so bad in practice since you can still create MBR images,
AIUI?

> Perhaps an example invocation of qemu-system-* could be added as a
> comment to the templates?

Yes, except maybe for those templates that are used as examples under
=E2=80=9CUsing the Configuration System=E2=80=9D.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 30 Sep 2023 20:51:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 30 16:51:22 2023
Received: from localhost ([127.0.0.1]:59844 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qmgvq-00020R-7T
	for submit <at> debbugs.gnu.org; Sat, 30 Sep 2023 16:51:22 -0400
Received: from sender3-of-o59.zoho.com ([136.143.184.59]:21989)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1qmgvl-00020F-7R
 for 66207 <at> debbugs.gnu.org; Sat, 30 Sep 2023 16:51:20 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1696107052; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=MCxIRKbNs2POhtMS2hEfBRzIG+aQCgEn0Kaj20jb7CJwltBzKd96VzrDRz1M/yIjNDbaFHcZO0Wks3UIZvO37FLtq8zeHx9quXgvvnyyaaIj827eURtAPORGoG4HZhjY6iaMTS2B8gtf2zms297mb1DABAuf8Ixvi0JRVbCp8dI=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1696107052;
 h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To;
 bh=pv773xo6ognTPG5944li+d6Q0pyVAfmNlA4YjmJcCUo=; 
 b=PNk6CLPiXYnNUEFYSDDv3DAgsj9gOBSp25sH8mptGj3VBwNLrl/9bzeSl/luswzwq8RwFHC9sD5hLmkfBXgQoqbtWPpv69IyC/ZZcSpXO71Is9hATdAuTkOnkRoGYJvlDp6pPOWjgkC/iordAgSR1tMC2OqjkqJ21dbUBZMxUKQ=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1696107052; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To;
 bh=pv773xo6ognTPG5944li+d6Q0pyVAfmNlA4YjmJcCUo=;
 b=gBfc/5O86HL0a+QD84VrBjlurciaodnnUheNXGOTq+QgLDZyKzikYihUil3wqqks
 gQyxIyRd39c/PJyolb5aJnXXJPNcI4iUa3mWH5W/P9JzgCyFqjWdouggWh4vngaCwaT
 1vOYd3/Gj5opkNJ+WZCGKIjF5x0HX83yOc2XdhFU=
Received: from localhost (i5E862C05.versanet.de [94.134.44.5]) by
 mx.zohomail.com with SMTPS id 1696107050603905.8388396139493;
 Sat, 30 Sep 2023 13:50:50 -0700 (PDT)
References: <87jzsd4c1b.fsf@HIDDEN> <87wmw8t1ut.fsf@HIDDEN>
User-agent: mu4e 1.10.7; emacs 29.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#66207: Cannot boot VMs with grub-efi-bootloader
Date: Sat, 30 Sep 2023 22:39:41 +0200
In-reply-to: <87wmw8t1ut.fsf@HIDDEN>
Message-ID: <877co7s7vc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66207
Cc: 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Ricardo Wurmus <rekado@HIDDEN> skribis:
>
>> I=E2=80=99m trying to build a more recent VM image than 1.4.0.  The 1.4.=
0 qcow2
>> image that=E2=80=99s available for download on the Guix website boots fi=
ne, but
>> any image created with a current Guix cannot be booted.
>>
>> I=E2=80=99m on Guix commit be5bec47f7942a5e4d2a30eadd9a6fa4c715e88b.
>>
>> I ran
>>
>>     ./pre-inst-env guix system image -t qcow2 \
>>         doc/os-config-lightweight-desktop.texi
>>
>> to generate the VM image and then I used
>>
>>     qemu-system-x86_64 -enable-kvm \
>>                        -m 4096 -monitor stdio \
>>                        -drive file=3D/tmp/guixvm.qcow2,id=3Dmyhd \
>>                        -vnc :1
>>
>> and connected Remmina to :1.
>>
>> The fan spins up to top speed and I see =E2=80=9CBooting from Hard Disk=
=E2=80=A6=E2=80=9D with
>> no progress whatsoever.
>
> There have been recent changes in this area:
>
>   6bd17a0806 image: Do not allow BIOS bootloader and GPT.
>   e5ed1712da image: Introduce the mbr-hybrid-raw image type.
>
> The latter changes the default image type.  Before that, there was:
>
>   d57cab7641 image: Add mbr-raw-image-type and use by default.
>
> I=E2=80=99m not sure if this could explain the problem.

It=E2=80=99s due to the bootloader.  This field from the bare bones template
works:

  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets '("/dev/sdX"))))

but this from the desktop template doesn=E2=80=99t:

  (bootloader (bootloader-configuration
                (bootloader grub-efi-bootloader)
                (targets '("/boot/efi"))))

The manual for =E2=80=9Cguix system=E2=80=9D gives a somewhat complicated i=
nvocation
that I only found out about later:

          image=3D$(guix system image --image-type=3Dqcow2 \
                  gnu/system/examples/lightweight-desktop.tmpl)
          cp $image /tmp/my-image.qcow2
          chmod +w /tmp/my-image.qcow2
          qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \
                             -bios $(guix build ovmf)/share/firmware/ovmf_x=
64.bin

I haven=E2=80=99t tried it yet, but I assume that providing this extra =E2=
=80=9C-bios=E2=80=9D
option would fix it.  It wasn=E2=80=99t necessary before, though, and I thi=
nk
it=E2=80=99s an inconvenient complication when running Guix VMs.

Perhaps an example invocation of qemu-system-* could be added as a
comment to the templates?

--=20
Ricardo




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 30 Sep 2023 10:03:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 30 06:03:37 2023
Received: from localhost ([127.0.0.1]:57699 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qmWoy-0002Dn-NM
	for submit <at> debbugs.gnu.org; Sat, 30 Sep 2023 06:03:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qmWor-0002DN-Eo
 for 66207 <at> debbugs.gnu.org; Sat, 30 Sep 2023 06:03:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qmWoW-0003CV-IE; Sat, 30 Sep 2023 06:03:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=/lMMFkBIkgCHlYVYNj8vGfTEtoJRWpzT9OcrqXaLVYM=; b=X7D6vknK1uyezXamywLi
 ZySnd1leZdBuL2Ogjr5FjVB0F/PIySenWcQmEOqPkrFfgdbPT9UTZu3jYo6+/aS6GRBYWwhCYH5j+
 v3KF3Aaig+RQoj7iP4M3jvvmX9HO0iopJ4/7EOnGr9ZUye2n94oIf51ue/X/st0j19CdEGUxkKHOk
 fzj1zX1QNSaO3/TCzyAd0bWyMRBOfVKxjbH4ZBIoM22b3DewXG375z/2Si3gGiVFBsx3Z7aMWhH2T
 5HP9E80iSKm8vIh8NPP/6aQhhYZTJ8+n6PPbzB5sZbs+s32KosRhi5xFV3Lf6NqsJlXF73jIrZqol
 MGUeCGErm/dbYQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#66207: Cannot boot any recent VM built with
 =?utf-8?Q?=E2=80=9Cguix?= system image -t =?utf-8?Q?qcow2=E2=80=9D?=
References: <87jzsd4c1b.fsf@HIDDEN>
Date: Sat, 30 Sep 2023 12:03:06 +0200
In-Reply-To: <87jzsd4c1b.fsf@HIDDEN> (Ricardo Wurmus's message of "Tue,
 26 Sep 2023 09:32:49 +0200")
Message-ID: <87wmw8t1ut.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66207
Cc: 66207 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Ricardo Wurmus <rekado@HIDDEN> skribis:

> I=E2=80=99m trying to build a more recent VM image than 1.4.0.  The 1.4.0=
 qcow2
> image that=E2=80=99s available for download on the Guix website boots fin=
e, but
> any image created with a current Guix cannot be booted.
>
> I=E2=80=99m on Guix commit be5bec47f7942a5e4d2a30eadd9a6fa4c715e88b.
>
> I ran
>
>     ./pre-inst-env guix system image -t qcow2 \
>         doc/os-config-lightweight-desktop.texi
>
> to generate the VM image and then I used
>
>     qemu-system-x86_64 -enable-kvm \
>                        -m 4096 -monitor stdio \
>                        -drive file=3D/tmp/guixvm.qcow2,id=3Dmyhd \
>                        -vnc :1
>
> and connected Remmina to :1.
>
> The fan spins up to top speed and I see =E2=80=9CBooting from Hard Disk=
=E2=80=A6=E2=80=9D with
> no progress whatsoever.

There have been recent changes in this area:

  6bd17a0806 image: Do not allow BIOS bootloader and GPT.
  e5ed1712da image: Introduce the mbr-hybrid-raw image type.

The latter changes the default image type.  Before that, there was:

  d57cab7641 image: Add mbr-raw-image-type and use by default.

I=E2=80=99m not sure if this could explain the problem.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66207 <at> debbugs.gnu.org:


Received: (at 66207) by debbugs.gnu.org; 26 Sep 2023 07:50:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 03:50:37 2023
Received: from localhost ([127.0.0.1]:47127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ql2q4-0003uq-NA
	for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 03:50:37 -0400
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21195)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1ql2pv-0003uT-Rk
 for 66207 <at> debbugs.gnu.org; Tue, 26 Sep 2023 03:50:34 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1695714611; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=Efuyle+G3UCgaXaxA62L2m0zUvv0FeCPmye+y/silc14uOZlLBwmlFGj99Td24dMA39pwHaIc9ZSGjfDMPpjocl1Sor/RdRATdz/snXiDPlfLkhZuBgFOqA+C56rBfDLjafPem+3PGi2xS/+j6ktuUnExTEao/5oirKtgSA+7Jg=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1695714611;
 h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=p7SVK/JL3jKmJNAY+FDY7r6VGOfKU6VdolALK+HPeWg=; 
 b=exdvWUQt4tJAsOlowVjHi7vcNgp3LCMNdLtXfhwISf7cARh2dqbDmb0o6snZRQkqSQdSYj63mi9sGo0rzT3HzpZqTluwKzNOyzS9Mm3XGtrXwYlEpWO5ISbgRNPskJd4Rq0rcdmsLWgOhmeUhfuaXHqrvtw7FqmVjvmLGDMN/cs=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1695714611; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:From:To:To:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc;
 bh=p7SVK/JL3jKmJNAY+FDY7r6VGOfKU6VdolALK+HPeWg=;
 b=Bh/R720EijyJflKDttvE6tTJJjHHcNH2bJSef9SkUTItEalhaqeUnD/12KOYobvO
 pPMZcKn7lcVrYCh4qEigwdPQJ6qNnnMcu+raavTLaJ4i8bjuTcFp49czJyS3asyS6yS
 RidbK27cjFmcaUG5kr50N850JfA0KOWIydtxW1t8=
Received: from localhost (233-111-142-46.pool.kielnet.net [46.142.111.233]) by
 mx.zohomail.com with SMTPS id 1695714610314150.39057716292064;
 Tue, 26 Sep 2023 00:50:10 -0700 (PDT)
References: <87jzsd4c1b.fsf@HIDDEN>
User-agent: mu4e 1.10.7; emacs 29.0.92
From: Ricardo Wurmus <rekado@HIDDEN>
To: 66207 <at> debbugs.gnu.org
Subject: Re: Cannot boot any recent VM built with =?utf-8?Q?=E2=80=9Cguix?=
 system image -t =?utf-8?Q?qcow2=E2=80=9D?=
Date: Tue, 26 Sep 2023 09:48:46 +0200
In-reply-to: <87jzsd4c1b.fsf@HIDDEN>
Message-ID: <87fs314bm8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66207
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Ricardo Wurmus <rekado@HIDDEN> writes:

> I=E2=80=99m trying to build a more recent VM image than 1.4.0.  The 1.4.0=
 qcow2
> image that=E2=80=99s available for download on the Guix website boots fin=
e, but
> any image created with a current Guix cannot be booted.
>
> I=E2=80=99m on Guix commit be5bec47f7942a5e4d2a30eadd9a6fa4c715e88b.
>
> I ran
>
>     ./pre-inst-env guix system image -t qcow2 \
>         doc/os-config-lightweight-desktop.texi

Interestingly, the configuration in doc/os-config-bare-bones.texi does
boot fine.

--=20
Ricardo




Information forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Sep 2023 07:41:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 03:41:40 2023
Received: from localhost ([127.0.0.1]:47110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ql2hP-0000xW-Ne
	for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 03:41:39 -0400
Received: from lists.gnu.org ([2001:470:142::17]:49182)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1ql2hM-0000xE-1C
 for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 03:41:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rekado@HIDDEN>)
 id 1ql2h3-0001fC-MF
 for bug-guix@HIDDEN; Tue, 26 Sep 2023 03:41:17 -0400
Received: from sender3-of-o57.zoho.com ([136.143.184.57])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rekado@HIDDEN>)
 id 1ql2h1-0003dP-Kf
 for bug-guix@HIDDEN; Tue, 26 Sep 2023 03:41:17 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1695714069; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=RlrcUhA5gykoPYEC1Y62fefxSbPtyYKKG3f2vOYZqPXKuY9H9d+YEHhigGtEBZSumEl59lkrJi24AstWiuqen1K4AHvnXKvqYOIU2zPqMDe7H7xcKYIv4eOSgIIKfSyZUHOEyOR4r5GBGIWn52BlQ2DJgknGEbAlEz+l+SAy9cI=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1695714069;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To;
 bh=r27ovu18qflYX3kDWYeuD1WGRQwjIIjd+o5WVzYrkYg=; 
 b=XK3BRg97rNYjLm2UDJ7J5+P3DsdI6zDqyVyhn7k5UhqKHzSKs001/KznX0LTDu7jr8Wc4M5sRwdDKkU/cf2L86jhy4h6Lic4z1g/o6HXDo6C4bC69eACx23L3KyvbVTmwuxlbTpt0o8804J3RlWxuEIKWXxEiyUBnVbaLyvgIyE=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1695714069; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc;
 bh=r27ovu18qflYX3kDWYeuD1WGRQwjIIjd+o5WVzYrkYg=;
 b=XAZuhSDOL7fkvV7A1jug9wEJI4Y8Y7uGKAb9qXFrBuO/vkQPRkC3Lll6mJoMwzKv
 kUOJfUIj5nOfZHbyVBFRdl+iPqI7P8a1bGRt8XhbjhpTIoRBirHM8xJDNMYIksDN12R
 az99Oq9x0aWWgtwMtav1PUrh5mQUaLVw3dA5HTFw=
Received: from localhost (233-111-142-46.pool.kielnet.net [46.142.111.233]) by
 mx.zohomail.com with SMTPS id 169571406774912.96421115509736;
 Tue, 26 Sep 2023 00:41:07 -0700 (PDT)
User-agent: mu4e 1.10.7; emacs 29.0.92
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: Cannot boot any recent VM built with =?utf-8?Q?=E2=80=9Cguix?=
 system image -t =?utf-8?Q?qcow2=E2=80=9D?=
Date: Tue, 26 Sep 2023 09:32:49 +0200
Message-ID: <87jzsd4c1b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
Received-SPF: pass client-ip=136.143.184.57; envelope-from=rekado@HIDDEN;
 helo=sender3-of-o57.zoho.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

I=E2=80=99m trying to build a more recent VM image than 1.4.0.  The 1.4.0 q=
cow2
image that=E2=80=99s available for download on the Guix website boots fine,=
 but
any image created with a current Guix cannot be booted.

I=E2=80=99m on Guix commit be5bec47f7942a5e4d2a30eadd9a6fa4c715e88b.

I ran

    ./pre-inst-env guix system image -t qcow2 \
        doc/os-config-lightweight-desktop.texi

to generate the VM image and then I used

    qemu-system-x86_64 -enable-kvm \
                       -m 4096 -monitor stdio \
                       -drive file=3D/tmp/guixvm.qcow2,id=3Dmyhd \
                       -vnc :1

and connected Remmina to :1.

The fan spins up to top speed and I see =E2=80=9CBooting from Hard Disk=E2=
=80=A6=E2=80=9D with
no progress whatsoever.

--=20
Ricardo




Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#66207; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 1 Oct 2023 21:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.