From unknown Sat Jun 21 03:21:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64593 <64593@debbugs.gnu.org> To: bug#64593 <64593@debbugs.gnu.org> Subject: Status: =?UTF-8?Q?=E2=80=98guix?= system =?UTF-8?Q?image=E2=80=99?= fails to create image while invoking =?UTF-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= Reply-To: bug#64593 <64593@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:21:34 +0000 retitle 64593 =E2=80=98guix system image=E2=80=99 fails to create image whi= le invoking =E2=80=98grub-bios-setup=E2=80=99 reassign 64593 guix submitter 64593 Ludovic Court=C3=A8s severity 64593 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 05:33:49 2023 Received: (at submit) by debbugs.gnu.org; 13 Jul 2023 09:33:49 +0000 Received: from localhost ([127.0.0.1]:53408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJshn-0004o3-QO for submit@debbugs.gnu.org; Thu, 13 Jul 2023 05:33:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:39752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJshi-0004nm-UW for submit@debbugs.gnu.org; Thu, 13 Jul 2023 05:33:47 -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 ) id 1qJshh-0003xv-3H for bug-guix@gnu.org; Thu, 13 Jul 2023 05:33:41 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJshe-0007ZJ-T1 for bug-guix@gnu.org; Thu, 13 Jul 2023 05:33:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=IqG3MRjGyN4XSs/8Z5NVO6fYhnD2nS4vAVZYY3rOo/w=; b=E5EOpJ1hQO0e5GBA3H5JdEEuyqAri351cTq2gDrbez7D2xJIvxd9uGu7 YYfXu70ZpmUpdREIGTsfv0Axz5HYjRrJzO28UhqeCbKSVA9FQZXjuK5SS ZAFdn8O3BJSwzXDukOCJL7CrOB2c+TabvP7ATZvDuJICxBn1db1LtsfQG Y=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.01,202,1684792800"; d="scan'208";a="61317907" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2023 11:33:33 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= X-Debbugs-Cc: Yann Dupont , Sergey Trofimov , Josselin Poiret X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 25 Messidor an 231 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Pintade 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: Thu, 13 Jul 2023 11:33:33 +0200 Message-ID: <87sf9syx3m.fsf@inria.fr> 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 Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 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, PDS_BTC_ID=0.41, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, There seems to be a recent regression: --8<---------------cut here---------------start------------->8--- $ cat mini-os.scm=20 (use-modules (gnu)) =20 (operating-system (host-name "mini-1") =20 (bootloader (bootloader-configuration=20 (bootloader grub-bootloader) (targets '("/dev/sda")))) (file-systems (cons (file-system=20 (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (kernel-arguments (list "console=3Dtty0 console=3DttyS0,115200"))) $ guix system image mini-os.scm [...] building /gnu/store/99wmrm4ali4f4pnii21rlhjvpfds762j-boot.drv... building /gnu/store/6gra5cyiilyv3dm3jc7yhkga0kygblhn-system.drv... building /gnu/store/xf50b8cm7ida4rgxp2q69vp2jhsl3kzp-grub.cfg.drv... building /gnu/store/69nhv7idhf1i7a3j8pdchkdd5jj5fl7l-partition.img.drv... building /gnu/store/74sxq3x9gwq0wlwqrrs0lqkr0n14p1kd-partition.img.drv... building /gnu/store/dnqxyq1x7fd5131rby4z46rx8wkzw1k6-genimage.cfg.drv... building /gnu/store/rvq9sqk55qwk27j8m3gjhba7f4zjid2k-disk-image.drv... -builder for `/gnu/store/rvq9sqk55qwk27j8m3gjhba7f4zjid2k-disk-image.drv' f= ailed with exit code 1 build of /gnu/store/rvq9sqk55qwk27j8m3gjhba7f4zjid2k-disk-image.drv failed View build log at '/var/log/guix/drvs/rv/q9sqk55qwk27j8m3gjhba7f4zjid2k-dis= k-image.drv.gz'. guix system: error: build of `/gnu/store/rvq9sqk55qwk27j8m3gjhba7f4zjid2k-d= isk-image.drv' failed $ zcat /var/log/guix/drvs/rv/q9sqk55qwk27j8m3gjhba7f4zjid2k-disk-image.drv.= gz | tail -20 INFO: hdimage(image): writing GPT INFO: hdimage(image): writing protective MBR INFO: hdimage(image): writing MBR /gnu/store/0f4z2i472rfd3qphl82j7jm49qgm672d-grub-2.06/sbin/grub-bios-setup:= error: cannot find a device for . (is /dev mounted?). Backtrace: 2 (primitive-load "/gnu/store/i6khnb475pxagfvjwnhi09z07n5?") In ice-9/eval.scm: 619:8 1 (_ #(# ("/gn?" ?) ?)) In ./guix/build/utils.scm: 812:6 0 (invoke "/gnu/store/0f4z2i472rfd3qphl82j7jm49qgm672d-g?" ?) ./guix/build/utils.scm:812:6: In procedure invoke: ERROR: 1. &invoke-error: program: "/gnu/store/0f4z2i472rfd3qphl82j7jm49qgm672d-grub-2.06/sbin/= grub-bios-setup" arguments: ("-m" "device.map" "-r" "hd0,msdos2" "-d" "." "images/imag= e") exit-status: 1 term-signal: #f stop-signal: #f environment variable `PATH' set to `/gnu/store/n31fw25l5yxq17x52mm7jjbvld58= f8zd-genimage-15-1.ec44ae0/bin:/gnu/store/yr39rh6wihd1wv6gzf7w4w687dwzf3vb-= coreutils-9.1/bin:/gnu/store/016lrymzc8a1rpx2p1app1awp2w2wlpk-findutils-4.9= .0/bin:/gnu/store/nl2ddwgdw4mzghv6kzl6akg1s7p7yik8-qemu-minimal-7.2.1/bin' $ guix describe Generation 269 Jul 10 2023 00:17:51 (current) guix d2cf631 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: d2cf63165119fc78c9f52abce2ce66af23e49243 --8<---------------cut here---------------end--------------->8--- Conversely, it works with a commit from two weeks ago: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D269cfe341f242c2b5f37774cb9b1e17d9aa68e2c -- = system image mini-os.scm [...] building /gnu/store/k4r5d09slzl70sn4zbl0gpnzn1mb5ksy-system.drv... building /gnu/store/13z2cyi9n4isyrw5ashhcazy4ps8qffy-grub.cfg.drv... building /gnu/store/7sx021qpby1p57fqv5n5jkfz20qi9933-partition.img.drv... building /gnu/store/vw5n9q3z6k59mcsw7z4kb6ckp9bbc8nh-partition.img.drv... building /gnu/store/hq7lw7qm3fbl4fhlmqxxp9sw1v8h3h3m-genimage.cfg.drv... building /gnu/store/dil3qjisdkprw20kybr1bxmp6sid7g2v-disk-image.drv... /gnu/store/5lsi1wp59vwnk8rk2124y14p9r2fr9yc-disk-image --8<---------------cut here---------------end--------------->8--- A relevant difference seems to be GPT vs. MBR (the latter works, the former breaks): --8<---------------cut here---------------start------------->8--- $ cat $(guix build /gnu/store/hq7lw7qm3fbl4fhlmqxxp9sw1v8h3h3m-genimage.cfg= .drv) |head -3 image image { hdimage { partition-table-type =3D "mbr" $ cat $(guix build /gnu/store/dnqxyq1x7fd5131rby4z46rx8wkzw1k6-genimage.cfg= .drv) |head -3 image image { hdimage { partition-table-type =3D "gpt" --8<---------------cut here---------------end--------------->8--- The culprit might be 209204e23b39af09e0ea92540b6fa00a60e6a0ae, from . Josselin, Sergey, WDYT? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 07:08:26 2023 Received: (at 64593) by debbugs.gnu.org; 16 Jul 2023 11:08:26 +0000 Received: from localhost ([127.0.0.1]:46954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKzc2-0004no-Dn for submit@debbugs.gnu.org; Sun, 16 Jul 2023 07:08:26 -0400 Received: from jpoiret.xyz ([206.189.101.64]:47418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKzbx-0004nd-OF for 64593@debbugs.gnu.org; Sun, 16 Jul 2023 07:08:24 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id F1C40185305; Sun, 16 Jul 2023 11:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1689505695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FH5sdcm+jbxo8B5E8yUawWB0laEU9066/3Vu2fgZH4s=; b=Jxqt4OxORhL3Z1iLVMYo9NgWi2CqBIYIvoJf1mxeQNKmW13GxN7WtgoONyjmlDgRzlcG4n 9LTe1OavC1k7bF+b3MVF0yNsF5hhn2IF7pu5qioSfloI4NaMc1WLKosehlgLjPy5mUUmFX /DF2bg6Nwe/+D6NWDW+DVZjXloJKjPFxL+BYK74aidZAz8mMvKYi26yvj5XQGpbNl5fyEj tl/N/CvZyYAzGSBjlgrbRyTEa17kYpe4emIEu2MQaN1zesRXJegitNpV/AxueN1ayYyA2d BAZgiNWOP7oWTUrAHLfZvehrQHeCGL9lDunP/+EVkTcCGmyM/wbmJ2QHYZwaLw== From: Josselin Poiret To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 64593@debbugs.gnu.org Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= In-Reply-To: <87sf9syx3m.fsf@inria.fr> References: <87sf9syx3m.fsf@inria.fr> Date: Sun, 16 Jul 2023 13:08:08 +0200 Message-ID: <87351of71j.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: -- Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: Yann Dupont , Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Ludovic Court=C3=A8s writes: > The culprit might be 209204e23b39af09e0ea92540b6fa00a60e6a0ae, from > . > > Josselin, Sergey, WDYT? Apologies! Our install-grub-disk-image doesn't really support GPT right, now but this is easy to fix (I've successfully booted your example with a local change). However, for this to work we need to have a BIOS Boot partition instead of the ESP that's defined for efi images. We have two options here, either add a new image type that has that instead of the ESP (which means duplicating a bunch of them...), or make the partition of efi-raw change depending on the bootloader, which would need some refactoring. I'm not a big fan of either options though :) WDYT? =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSzz5kQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaijNuC/4jNQrsuW9Yo1mb4ol52uKFSW+jK3RxLwct VrXJT0o+XFsX/jawHxCsiJcHh+giRc31RbAwYplup9dsoAQXSGbO79Oi7vyiKpDl hrLoxHQ2IFF6G8b/0UdCYs+Xc0BtZZplqjP+bdoJep8CfM6Na9ujItE+pw/nusp6 zNT/y57LVH2fErE5d7FZRVQcr3/NflxS+yG8TJt5O0dx+obWNzMcHDXj5POW5NAh 1I9qRSr7dCtaYDbQ1HWIUeWCIMW7Kita4EZnjp5YkHn2GAqGlIP2hPozTvIANOTM VOT0YRNZdbeAljJd3w7SlPfkgC8/NiHIqLKQs9p+tIPK9igT6KnDW0E5T34Zn59x kq9XijGMuS/pO59FVye9eCsqBgOtP9EqreE24L0BmECcU2Lxpv7USPix/0vOM9kb 502X6D9sFh51ay15QKFdPwYk85rcLnX9WLm/WiX6SRv6WnKD1YdHewt6D4ONmEqP DW1JvvPIIcoQ6lU4r2Bspq+INRHaMLc= =ZAUc -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 12:11:55 2023 Received: (at 64593) by debbugs.gnu.org; 17 Jul 2023 16:11:55 +0000 Received: from localhost ([127.0.0.1]:50802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLQpG-0001QA-QS for submit@debbugs.gnu.org; Mon, 17 Jul 2023 12:11:55 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:20153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLQpD-0001Pw-TE for 64593@debbugs.gnu.org; Mon, 17 Jul 2023 12:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version; bh=B804ao32o9YNjOzXYLIZn4I5F7mMuhCmGUCmpmTUdD8=; b=aPdARWI6MXp6LaA/+qRBqHpRGEPLMy+NiAtzHZTnQs54kURLGkmWnBrS qNzvZQYkUWf+P83l5iV6u7BQI8pZZWrnMo+rgwvCftq2L9Cdodck4HplL yQTq95dBHm6gakpkiX0thG74euAXU/CPuCfv3LR7Qy2TDLg1cMy1uIdQT E=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.01,211,1684792800"; d="scan'208";a="61576326" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2023 18:11:46 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= References: <87sf9syx3m.fsf@inria.fr> <87351of71j.fsf@jpoiret.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 29 Messidor an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du =?utf-8?Q?Bl=C3=A9?= 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: Mon, 17 Jul 2023 18:11:44 +0200 In-Reply-To: <87351of71j.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sun, 16 Jul 2023 13:08:08 +0200") Message-ID: <87mszuplfj.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Josselin, Josselin Poiret skribis: > Ludovic Court=C3=A8s writes: > >> The culprit might be 209204e23b39af09e0ea92540b6fa00a60e6a0ae, from >> . >> >> Josselin, Sergey, WDYT? > > Apologies! Our install-grub-disk-image doesn't really support GPT > right, now but this is easy to fix (I've successfully booted your > example with a local change). However, for this to work we need to have > a BIOS Boot partition instead of the ESP that's defined for efi images. > We have two options here, either add a new image type that has that > instead of the ESP (which means duplicating a bunch of them...), or make > the partition of efi-raw change depending on the bootloader, which would > need some refactoring. I'm not a big fan of either options though :) I=E2=80=99m not sure what a good fix is, but I think we should make sure = =E2=80=98guix system image=E2=80=99 (=E2=80=98-t efi-raw=E2=80=99, that is) doesn=E2=80= =99t remain broken. One possible short-term option is to revert, or maybe we could special-case along these lines: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/system/image.scm b/gnu/system/image.scm index 841e7e0c7e..b4ed4181ac 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -204,7 +204,12 @@ (define-syntax-rule (image-with-os base-image os) (define efi-raw-image-type (image-type (name 'efi-raw) - (constructor (cut image-with-os efi-disk-image <>)))) + (constructor (cut image-with-os + (image-without-os + (format 'disk-image) + (partition-table-type 'mbr) ;XXX + (partitions (list esp-partition root-partition))) + <>)))) (define efi32-raw-image-type (image-type --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpXRFlUPw0KDQpMdWRv4oCZLg0K --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 14:37:17 2023 Received: (at 64593) by debbugs.gnu.org; 18 Jul 2023 18:37:17 +0000 Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLpZT-0007MW-IG for submit@debbugs.gnu.org; Tue, 18 Jul 2023 14:37:17 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:55422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLpZL-0007Lp-8o for 64593@debbugs.gnu.org; Tue, 18 Jul 2023 14:37:12 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-992ace062f3so848396566b.2 for <64593@debbugs.gnu.org>; Tue, 18 Jul 2023 11:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1689705421; x=1692297421; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=m4wrxqxx43X2JvttZNSj6OYLaX7lOIF3WiYBVEPrEYU=; b=D+Cw64kALuxwhfvif0fkWBc+mUDDDQWQ670yb9RaEZl3VUvmlONg8d0i/dOM9cf4ln 6Mgmp0BWm/VxR8yMwnZ7DSW3nprZgCuH2+spMuFNnxSBXyCuajRTvUxomTq49rm9cmI9 j42yTjniPebDJ4NPkSynASDUNLVbN+FkYxYoc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689705421; x=1692297421; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=m4wrxqxx43X2JvttZNSj6OYLaX7lOIF3WiYBVEPrEYU=; b=bM+NsYIqt37oabjpwtaI/DpJMzoiP+J5QSnXqY4zuo717Qghkhj7iQ9iUfBmMB4pmI cNfbMuYhpaHW9VFUKvmhcba3sLoP4VODn8NgvneK0Nk+GIg3v3wDQYd9OCljAYUIp/UP LaAiLdIUDrhq2WIHDhnB9T0NlMjp1cEaMTIaMc6yBSHu36l3KjWRtVlerPSx7qNiBiu+ cZAq39FeQkyczlRetjtmXQaAPsTEvFaCL0R5Xg//f9++0eKY6riMTl9sGfx6gsIK4u30 PgyXVRLQxBYi+ScC2JpCKrkRIwe3GBxlhqRZf3ZQlwABMsY+bgIY3U0jQnsgTIKEQoFq wnJQ== X-Gm-Message-State: ABy/qLZ5NrWjHXoivrwmUfxw6TEykztXT5a+ahSL4Z95lsiLsbnCIR5t 2KvMIoU1SY1ZXXkaFwZh56Gasg== X-Google-Smtp-Source: APBJJlHlPVhSfKaDcae/anBAxAZ0HN1G/w0dUgF3i3dCMoshwrBMYKxahwoUo8+6sHJ5KM9Qz0nhYA== X-Received: by 2002:a17:907:7791:b0:993:c2a1:6dc5 with SMTP id ky17-20020a170907779100b00993c2a16dc5mr511257ejc.72.1689705421181; Tue, 18 Jul 2023 11:37:01 -0700 (PDT) Received: from localhost ([77.64.254.172]) by smtp.gmail.com with ESMTPSA id n14-20020a170906378e00b0097404f4a124sm1347026ejc.2.2023.07.18.11.37.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 11:37:00 -0700 (PDT) References: <87sf9syx3m.fsf@inria.fr> User-agent: mu4e 1.10.5; emacs 29.0.92 From: Sergey Trofimov To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= Date: Tue, 18 Jul 2023 20:34:35 +0200 In-reply-to: <87sf9syx3m.fsf@inria.fr> Message-ID: <871qh56p84.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , Josselin Poiret , debbugs-submit@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludovic, shouldn't it be `(bootloader grub-efi-bootloader)` if you're building a `efi-raw` image? With efi grub it builds and boots just fine, as I've tested before submitting the patch. Ludovic Courtès writes: > Hello, > > There seems to be a recent regression: > > $ cat mini-os.scm > (use-modules (gnu)) > > (operating-system > (host-name "mini-1") > > (bootloader (bootloader-configuration > (bootloader grub-bootloader) > (targets '("/dev/sda")))) > (file-systems (cons (file-system > (device (file-system-label "my-root")) > (mount-point "/") > (type "ext4")) %base-file-systems)) > (kernel-arguments (list "console=tty0 console=ttyS0,115200"))) > $ guix system image mini-os.scm > From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 19 04:44:03 2023 Received: (at 64593) by debbugs.gnu.org; 19 Jul 2023 08:44:03 +0000 Received: from localhost ([127.0.0.1]:54944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM2mx-0006iM-EF for submit@debbugs.gnu.org; Wed, 19 Jul 2023 04:44:03 -0400 Received: from jpoiret.xyz ([206.189.101.64]:42270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM2mu-0006hl-7G; Wed, 19 Jul 2023 04:44:01 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 2B78018540D; Wed, 19 Jul 2023 08:43:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1689756238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/ipSyVCkPGAQEbOU493P+6ahPt65r0D1GDsO9azdgcE=; b=j89ccQuRTijV4eOWvb4KRz3vUh7LHrPB9+c6iGM2J5bWUjsSyla2EJgklRngDVvzP08XUG MHLXunX3hSOl0m9u/L3WmmxZ+FLltXKNVLzN67bKsSn8OrFRpO6q92V4HRN2t76oHEr1Dd zBc0zJecARO/CE5iRuSaFhawT4TJ5QBvF+W5qjw8ZzfW/JXivkavcdZZ/BqMOcHbpIIlJO CwFDzgvtcBTm7ejBUuMqHgYH/KppMpa3UWi+JhUtwjRgah6R1ZuDRQZ45Venlc3tqF7HVe tQ8VFnDQMP3xZU3EW3tRM9DDN/ptI+y7RiME3BForO04LzdlBQYC8gpmDx5Nvg== From: Josselin Poiret To: Sergey Trofimov , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= In-Reply-To: <871qh56p84.fsf@sarg.org.ru> References: <87sf9syx3m.fsf@inria.fr> <871qh56p84.fsf@sarg.org.ru> Date: Wed, 19 Jul 2023 10:43:55 +0200 Message-ID: <87v8ege1f8.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , debbugs-submit@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Sergey, Sergey Trofimov writes: > shouldn't it be `(bootloader grub-efi-bootloader)` if you're=20 > building a `efi-raw` image? > With efi grub it builds and boots just fine, as I've tested before=20 > submitting the patch. I think I agree with you that you should expect efi images to use efi bootloaders. The efi-raw image name is a bit misleading I would argue, since the image type doesn't decide what bootloader is used, and using a BIOS bootloader with an efi image seems a bit weird. The fact that it's used as the default image type is a bit troubling though, so we could add a new default image type that uses MBR, so that BIOS bootloaders work with it. WDYT Ludo? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmS3oksQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaip1YC/9csr64ejULka1ImiJuMrIXANv3JJDsVGnQ kc7oN/tMJHDOqrS2g3Jpv/BGSPTVxaCF6zpOMARKNbPjBH7Sus2O116g4AW9G1/p vX2OTL7yQHXsS9jnsoY65409jcs8CCHaSDJz3Yl4TYyLMjctOAjsMLhejxV3Fmhr qHMEXeelJgM9j1/1+Vk5F/MRN8a+7Ob9irr4iTz0MmPYGCrEgU99Hpv1jGIUNBy+ L9z7InX3F+LslPR+iOiOFNtO+qwQwfryowpTOP9jwlM3IatQwvmXtMs+baV06IKW b5m+NyshSDCb0QlnTfXtLeVUp2LGCpuO+wnL9gp4ZCN9E/0hs1N4ppvsJcgv7XDy URrY/pgrlVft512bM4GiAd00KdmAvlxkwYEOOxO1CeZGY/2vMRJ1sx9Qh8V0CQHh ydkHLs/ZqROOIB/anb/k/AoVerNmzFGayB4kabnEHLAPOxFtPYx4aMGWp5Pp2rJH wY2wa8F0LSHUdgEJewbWyLWcimOS5MA= =9d/G -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 03:44:23 2023 Received: (at 64593) by debbugs.gnu.org; 21 Jul 2023 07:44:23 +0000 Received: from localhost ([127.0.0.1]:60462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMkoI-0005iH-QM for submit@debbugs.gnu.org; Fri, 21 Jul 2023 03:44:23 -0400 Received: from smtptls1-cha.cpub.univ-nantes.fr ([193.52.103.113]:43410 helo=smtp-tls.univ-nantes.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMkoE-0005i1-G0 for 64593@debbugs.gnu.org; Fri, 21 Jul 2023 03:44:22 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id E838E20681 for <64593@debbugs.gnu.org>; Fri, 21 Jul 2023 09:44:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1689925456; bh=C7QN67XaTJTisYzUVXaNg6TlO41Dvd86SSB+a3M9Jo0=; h=Date:To:Subject:From:From; b=H3p0dWviT6lsKmCmA8y+5eOTfhuj4dQSWuNgCq+chdwYlICDFgOeGwA5TK0QN9NQj 82AOJhKa87Hxn7SrxxYIwlGRXGWxvAdnlXUVb9L83qUDxinksWEzZvf4D7jiOwbZo4 S38rM6y/sRyO1dG8SUP+rA4b4xvRta00A3jOrQhDQLVmTStMd9rvYmqLTRrLWTFZxB L8ljwlkJC8tbOYIcXH2HI+45BPE4IUgbLc4/cTLQly83ppJ0xTNXuwD5IO49zmnLFS 8+Mvp0gOwJKC+QAoT9GpV3ECZE+x+FUE6+/ocn7i3503e69KfZ/Sd1gkpe6dE7t1A3 9BE0NHxP/KedQ== X-Virus-Scanned: Debian amavisd-new at smtptls1-lmb.cpub.univ-nantes.fr Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtptls1-cha.cpub.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MMn3sRLyppuF for <64593@debbugs.gnu.org>; Fri, 21 Jul 2023 09:44:16 +0200 (CEST) Received: from [IPV6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2] (unknown [IPv6:2a01:e0a:2c6:9282:cbc6:de2d:73ed:1ac2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id ABD462067E for <64593@debbugs.gnu.org>; Fri, 21 Jul 2023 09:44:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-nantes.fr; s=mailv2; t=1689925456; bh=C7QN67XaTJTisYzUVXaNg6TlO41Dvd86SSB+a3M9Jo0=; h=Date:To:Subject:From:From; b=H3p0dWviT6lsKmCmA8y+5eOTfhuj4dQSWuNgCq+chdwYlICDFgOeGwA5TK0QN9NQj 82AOJhKa87Hxn7SrxxYIwlGRXGWxvAdnlXUVb9L83qUDxinksWEzZvf4D7jiOwbZo4 S38rM6y/sRyO1dG8SUP+rA4b4xvRta00A3jOrQhDQLVmTStMd9rvYmqLTRrLWTFZxB L8ljwlkJC8tbOYIcXH2HI+45BPE4IUgbLc4/cTLQly83ppJ0xTNXuwD5IO49zmnLFS 8+Mvp0gOwJKC+QAoT9GpV3ECZE+x+FUE6+/ocn7i3503e69KfZ/Sd1gkpe6dE7t1A3 9BE0NHxP/KedQ== Message-ID: Date: Fri, 21 Jul 2023 09:43:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 To: 64593@debbugs.gnu.org Subject: =?UTF-8?Q?=e2=80=98guix_system_image=e2=80=99_fails_to_create_image?= =?UTF-8?Q?_while_invoking_=e2=80=98grub-bios-setup=e2=80=99?= Content-Language: fr From: Yann Dupont Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-384; boundary="------------ms020007090306070204080708" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a cryptographically signed message in MIME format. --------------ms020007090306070204080708 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, as it was after discussion with Ludovic that he posted this bug report, let me express my opinion as a simple user. it's just a matter of consistency: very basically, the examples mention grub-bootloader. With the default image type (efi-raw), it's been working perfectly for years (maybe by chance, but in any case it seemed to be a compatible combination). The recent change means that it no longer works :-).  What's more, the error message isn't very explicit, and doesn't point to a configuration error but to what may appear to be a recently-introduced bug. Switching to grub-efi-bootloader allows you to build the image (and start it). I don't know if it's simply possible to have a consistency check between the image type and the bootloader used: "Bootloader probably not compatible with image type, please use grub-efi-bootloader". Maybe just change the doc to include grub-efi-bootloader in the examples. Or indeed have a format that remains compatible with MBR partitioning and the appropriate grub. -- Yann --------------ms020007090306070204080708 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: Signature cryptographique S/MIME MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgIFADCABgkqhkiG9w0BBwEAAKCC BwwwggN+MIIDBKADAgECAhB2kCF9/l3WwsRQJ8Xc0VomMAoGCCqGSM49BAMDMIGIMQswCQYD VQQGEwJVUzETMBEGA1UECBMKTmV3IEplcnNleTEUMBIGA1UEBxMLSmVyc2V5IENpdHkxHjAc BgNVBAoTFVRoZSBVU0VSVFJVU1QgTmV0d29yazEuMCwGA1UEAxMlVVNFUlRydXN0IEVDQyBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0yMDAyMTgwMDAwMDBaFw0zMzA1MDEyMzU5NTla MEoxCzAJBgNVBAYTAk5MMRkwFwYDVQQKExBHRUFOVCBWZXJlbmlnaW5nMSAwHgYDVQQDExdH RUFOVCBQZXJzb25hbCBFQ0MgQ0EgNDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBhnZxHg 7m192ySDY02jfjo2jKh6dCNaFZASVNBD5uuYzGvmV5bUB+kAn1uxpRp2wIkmcDnJwUhNiNd+ X9e98+SjggGLMIIBhzAfBgNVHSMEGDAWgBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAdBgNVHQ4E FgQUqC1tgTJkjeayT6z+EfJlmYUTqW4wDgYDVR0PAQH/BAQDAgGGMBIGA1UdEwEB/wQIMAYB Af8CAQAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMDgGA1UdIAQxMC8wLQYEVR0g ADAlMCMGCCsGAQUFBwIBFhdodHRwczovL3NlY3RpZ28uY29tL0NQUzBQBgNVHR8ESTBHMEWg Q6BBhj9odHRwOi8vY3JsLnVzZXJ0cnVzdC5jb20vVVNFUlRydXN0RUNDQ2VydGlmaWNhdGlv bkF1dGhvcml0eS5jcmwwdgYIKwYBBQUHAQEEajBoMD8GCCsGAQUFBzAChjNodHRwOi8vY3J0 LnVzZXJ0cnVzdC5jb20vVVNFUlRydXN0RUNDQWRkVHJ1c3RDQS5jcnQwJQYIKwYBBQUHMAGG GWh0dHA6Ly9vY3NwLnVzZXJ0cnVzdC5jb20wCgYIKoZIzj0EAwMDaAAwZQIxAIJfo/faijtG IAiTUMh6RkycUZnBj7EmhnkfIKEZzU1y66meHsTO6SvUScv4zICE1wIwPoOVIxYTkj744G/O edfWemO+e0twqiACsA+MuCUYZ7KYW3hTql3Lv8LT+aIcI+4MMIIDhjCCAy2gAwIBAgIRAOrZ 2WnkSKyEJjobyILgyRgwCgYIKoZIzj0EAwIwSjELMAkGA1UEBhMCTkwxGTAXBgNVBAoTEEdF QU5UIFZlcmVuaWdpbmcxIDAeBgNVBAMTF0dFQU5UIFBlcnNvbmFsIEVDQyBDQSA0MB4XDTIx MTAyNjAwMDAwMFoXDTI0MTAyNTIzNTk1OVowcjEcMBoGA1UECRMTMSBRdWFpIGRlIFRvdXJ2 aWxsZTEPMA0GA1UEBxMGTmFudGVzMQswCQYDVQQGEwJGUjEeMBwGA1UECgwVVW5pdmVyc2l0 w6kgZGUgTmFudGVzMRQwEgYDVQQDEwtZYW5uIERVUE9OVDB2MBAGByqGSM49AgEGBSuBBAAi A2IABMkBwrR6FyTDHpsWuZBbB1ZqhOMOBjn7f++arG0SxCMTgLaTX4gBH3/Nb/J4VP9iBEk0 F6ElKqBZ8CDGG6DmfEocRr/2uanoR8A64jrH5QI5ElKKR6bVBQYilmJxmi3+5KOCAa0wggGp MB8GA1UdIwQYMBaAFKgtbYEyZI3msk+s/hHyZZmFE6luMB0GA1UdDgQWBBSp/Sf+Mwi7r77n hedtBG9+OlLOrjAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggr BgEFBQcDBAYIKwYBBQUHAwIwPwYDVR0gBDgwNjA0BgsrBgEEAbIxAQICTzAlMCMGCCsGAQUF BwIBFhdodHRwczovL3NlY3RpZ28uY29tL0NQUzBFBgNVHR8EPjA8MDqgOKA2hjRodHRwOi8v R0VBTlQuY3JsLnNlY3RpZ28uY29tL0dFQU5UUGVyc29uYWxFQ0NDQTQuY3JsMHsGCCsGAQUF BwEBBG8wbTBABggrBgEFBQcwAoY0aHR0cDovL0dFQU5ULmNydC5zZWN0aWdvLmNvbS9HRUFO VFBlcnNvbmFsRUNDQ0E0LmNydDApBggrBgEFBQcwAYYdaHR0cDovL0dFQU5ULm9jc3Auc2Vj dGlnby5jb20wJQYDVR0RBB4wHIEaWWFubi5EdXBvbnRAdW5pdi1uYW50ZXMuZnIwCgYIKoZI zj0EAwIDRwAwRAIgE+WBY2HkiJ1UeO1fiGwUvPghD5KKMnDWglF6aDeoPVECIGnI0ZuKM/1B 1P6etzfUN7aAZ/Ma4QnSC3c2FXnhmm9UMYIB1jCCAdICAQEwXzBKMQswCQYDVQQGEwJOTDEZ MBcGA1UEChMQR0VBTlQgVmVyZW5pZ2luZzEgMB4GA1UEAxMXR0VBTlQgUGVyc29uYWwgRUND IENBIDQCEQDq2dlp5EishCY6G8iC4MkYMA0GCWCGSAFlAwQCAgUAoIHnMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTIzMDcyMTA3NDM1MFowPwYJKoZIhvcN AQkEMTIEMOWNy9s7aXlyX+B0uVDS/vvoFt8gHR73oh4guCVahH1M+JoaXaFNxMcuxORdm/IM fTBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC AgEoMAoGCCqGSM49BAMDBGcwZQIxAN2NbvMlNZjd9VmDHY34VJVeU3DOo+aiXh/SmpDx1A+P R47wg+xf/dclef9AwQ87vwIwDrdhak8isWSS8Db71x7VJK+S0tJT5pwEwNLBxE9lZsDYoLlS d+MEUqS2FmnaOhf1AAAAAAAA --------------ms020007090306070204080708-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 27 12:36:25 2023 Received: (at 64593) by debbugs.gnu.org; 27 Jul 2023 16:36:25 +0000 Received: from localhost ([127.0.0.1]:42967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3yT-0000xa-EC for submit@debbugs.gnu.org; Thu, 27 Jul 2023 12:36:25 -0400 Received: from jpoiret.xyz ([206.189.101.64]:45100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP3yQ-0000xM-6V for 64593@debbugs.gnu.org; Thu, 27 Jul 2023 12:36:24 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id E9416185313; Thu, 27 Jul 2023 16:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1690475779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IG2oK1pgx/BMSN4US/GNIDZE5o5l2rJSprXnYCz0eQ8=; b=jcOLZMk53MHuxVp962+EuOTzEQ+iizaJpQd8XZlckQGi4fRloh3LVigLLMEF/AgJdh0m4T 2rpqjWAHXlGvV8njliLvLnsi4zJtmWafkUDZiCckdk5H5T7i0pAxZLEM0x9b4aXxFA7yFX mNX5x8OnyK0TLJkfSfZ77U9ztqUikVzaZLLyfERKv+4oxsywmqwdQ3VAcFqT1JLup35COC EUy8sW9WSCMPs2DGK2pBwVdMf9azhlgafGTNwqwVKxVxrJLGG/MluVAUj8lDcu9eLkU1kr l4kbr6iBd+tQhCT3LussrnE6+MQLsmpaxFsAU1GEtU1mYz2z62L/3a3mTmZXBA== From: Josselin Poiret To: =?UTF-8?q?Ludovic=20Court=C3=A8s?= , Josselin Poiret Subject: [PATCH] image: Add mbr-raw-image-type and use by default. Date: Thu, 27 Jul 2023 18:35:08 +0200 Message-ID: In-Reply-To: <87mszuplfj.fsf@inria.fr> References: <87mszuplfj.fsf@inria.fr> MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Level: **** X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , Sergey Trofimov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Josselin Poiret * gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variables. * guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by default. --- How about this for now? I think the bootloader/image-type situation is not clear, but at least this keeps the behavior of the previous default option. gnu/system/image.scm | 16 ++++++++++++++++ guix/scripts/system.scm | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/system/image.scm b/gnu/system/image.scm index 841e7e0c7e..92e659753e 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -76,6 +76,7 @@ (define-module (gnu system image) esp32-partition root-partition + mbr-disk-image efi-disk-image iso9660-image docker-image @@ -84,6 +85,7 @@ (define-module (gnu system image) raw-with-offset-disk-image image-with-os + mbr-raw-image-type efi-raw-image-type efi32-raw-image-type qcow2-image-type @@ -145,6 +147,15 @@ (define root-partition (flags '(boot)) (initializer (gexp initialize-root-partition)))) +(define mbr-disk-image + (image-without-os + (format 'disk-image) + (partition-table-type 'mbr) + (partitions + (list (partition + (inherit root-partition) + (offset root-offset)))))) + (define efi-disk-image (image-without-os (format 'disk-image) @@ -201,6 +212,11 @@ (define-syntax-rule (image-with-os base-image os) (inherit base-image) (operating-system os))) +(define mbr-raw-image-type + (image-type + (name 'mbr-raw) + (constructor (cut image-with-os mbr-disk-image <>)))) + (define efi-raw-image-type (image-type (name 'efi-raw) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index d7163dd3eb..95c68a5f33 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -1168,7 +1168,7 @@ (define %default-options (debug . 0) (verbosity . #f) ;default (validate-reconfigure . ,ensure-forward-reconfigure) - (image-type . efi-raw) + (image-type . mbr-raw) (image-size . guess) (install-bootloader? . #t) (label . #f) base-commit: c7e45139faa27b60f2c7d0a4bc140f9793d97d47 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 27 13:47:58 2023 Received: (at 64593) by debbugs.gnu.org; 27 Jul 2023 17:47:58 +0000 Received: from localhost ([127.0.0.1]:43104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP55i-0002vD-2W for submit@debbugs.gnu.org; Thu, 27 Jul 2023 13:47:58 -0400 Received: from 1.mo576.mail-out.ovh.net ([178.33.251.173]:55685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP55d-0002uV-TT for 64593@debbugs.gnu.org; Thu, 27 Jul 2023 13:47:56 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.156.215]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 62FB125A49 for <64593@debbugs.gnu.org>; Thu, 27 Jul 2023 17:47:49 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-nhbrh (unknown [10.110.103.149]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2EB061FDFD; Thu, 27 Jul 2023 17:47:47 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-nhbrh with ESMTPSA id 0IeXAMOtwmSxWhoAa7A10w (envelope-from ); Thu, 27 Jul 2023 17:47:46 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-99G00351501758-1507-43bc-aac9-e78f281562fd, F7AF03E253C6E7309FE86C19346ED9ECB6B18EC8) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 From: Nicolas Graves To: Josselin Poiret via Bug reports for GNU Guix , Ludovic =?utf-8?Q?Court=C3=A8s?= , Josselin Poiret Subject: Re: bug#64593: [PATCH] image: Add mbr-raw-image-type and use by default. In-Reply-To: References: <87mszuplfj.fsf@inria.fr> Date: Thu, 27 Jul 2023 19:47:46 +0200 Message-ID: <87mszhdz5p.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 12521414341321155244 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -65 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrieeggdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdefhedmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepveekleeujedthefgffekleekhffhffetgfdvheekleeuhfehueeljedtjefhvdfgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieegheelfeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 2023-07-27 18:35, Josselin Poiret via Bug reports for wrote: > From: Josselin Poiret > > * gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variables. > * guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by > de [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [178.33.251.173 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 64593 Cc: Tobias Geerinckx-Rice , Josselin Poiret , Christopher Baines , Simon Tournier , 64593@debbugs.gnu.org, Mathieu Othacehe , Ludovic =?utf-8?Q?Court=C3=A8s?= , Sergey Trofimov , Ricardo Wurmus , Yann Dupont X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 2023-07-27 18:35, Josselin Poiret via Bug reports for wrote: > From: Josselin Poiret > > * gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variables. > * guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by > de [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [178.33.251.173 listed in wl.mailspike.net] 3.0 MANY_TO_CC Sent to 10+ recipients -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager On 2023-07-27 18:35, Josselin Poiret via Bug reports for wrote: > From: Josselin Poiret > > * gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variables. > * guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by > default. > --- > > How about this for now? I think the bootloader/image-type situation is not > clear, but at least this keeps the behavior of the previous default option. I can confirm that this works for my particular issue of failure when running guix system image --expression="(@(gnu system install) installation-os)". -- Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 07 03:35:48 2023 Received: (at 64593) by debbugs.gnu.org; 7 Aug 2023 07:35:48 +0000 Received: from localhost ([127.0.0.1]:60476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSumH-00055M-Rk for submit@debbugs.gnu.org; Mon, 07 Aug 2023 03:35:47 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:50518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSumD-00054x-Uh; Mon, 07 Aug 2023 03:35:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=TWqI9EV4ThQLNgw+yiMJHKuFIIN+LDAnnQqu8lwLlyQ=; b=hPr2QW8+/WqFPqT1k6sNZpiwkhhgZGc6oa3lJr4YvmVE4i11K63KAU+R j3gIieDhCMg5apeVY2aLCghW77qIm2rlL/zxaKCIXnK75xMopl2gB+h7i NXGRtK7LiOuOoF422oZFME4ndeRlcIQaN26jq80lJkrmzYZk7qJv6cbDs Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.01,261,1684792800"; d="scan'208";a="120356161" Received: from unknown (HELO ribbon) ([193.50.110.195]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2023 09:35:36 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= References: <87sf9syx3m.fsf@inria.fr> <871qh56p84.fsf@sarg.org.ru> <87v8ege1f8.fsf@jpoiret.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 Thermidor an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de =?utf-8?Q?l'=C3=89cluse?= 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: Mon, 07 Aug 2023 09:35:36 +0200 In-Reply-To: <87v8ege1f8.fsf@jpoiret.xyz> (Josselin Poiret's message of "Wed, 19 Jul 2023 10:43:55 +0200") Message-ID: <87edkfxq2f.fsf@inria.fr> 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: -3.3 (---) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , Sergey Trofimov , debbugs-submit@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) Hi, Josselin Poiret skribis: > Sergey Trofimov writes: > >> shouldn't it be `(bootloader grub-efi-bootloader)` if you're=20 >> building a `efi-raw` image? >> With efi grub it builds and boots just fine, as I've tested before=20 >> submitting the patch. > > I think I agree with you that you should expect efi images to use efi > bootloaders. The efi-raw image name is a bit misleading I would argue, > since the image type doesn't decide what bootloader is used, and using a > BIOS bootloader with an efi image seems a bit weird. The fact that it's > used as the default image type is a bit troubling though, so we could > add a new default image type that uses MBR, so that BIOS bootloaders > work with it. Yes, we could do that. I guess my confusion stems from the fact that the default image type changed to EFI recently (right?). Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 07 03:40:04 2023 Received: (at 64593) by debbugs.gnu.org; 7 Aug 2023 07:40:04 +0000 Received: from localhost ([127.0.0.1]:60481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSuqS-0005C1-Ck for submit@debbugs.gnu.org; Mon, 07 Aug 2023 03:40:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSuqP-0005BO-C9 for 64593@debbugs.gnu.org; Mon, 07 Aug 2023 03:40:03 -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 ) id 1qSuqH-00027m-IZ; Mon, 07 Aug 2023 03:39:53 -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=HwOeHyxYurngLH80eXGcx/pyeQlacmlG2Av7FmB6q5E=; b=dZr7ttxKomDncLEdruVY LtUC6FdK9M7JYUQb4b8aLyYdeQdgCoF9IEY51SObT0/lTW0FbrNyKbXqQog6NssgwuSL3Zkon4fY/ eUCOvtAR6ELP4svtoqbSawboZazLl2Re8loCSJD/yfPP0eYrKXmxVhVHwexuxeS+sbMxB2OP6FQmi nNVgz3pwhZ+rHv49N9GWD/TEcoA6xx6PxSOCdVsT61S1haauY2ULp9Ur0uuhYYQV8HB2riqisiTrO qOFKPBCq2InuLroUL+3qsFa/ajrq8UXQ2sFVIhTUqAKNxf5uYT3EaW8Vso7aCvj2oCQKDIuxDo3Wc 5wFtxecTjchKSg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= References: <87mszuplfj.fsf@inria.fr> Date: Mon, 07 Aug 2023 09:39:50 +0200 In-Reply-To: (Josselin Poiret's message of "Thu, 27 Jul 2023 18:35:08 +0200") Message-ID: <87a5v3xpvd.fsf_-_@gnu.org> 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: 64593 Cc: Tobias Geerinckx-Rice , Christopher Baines , Simon Tournier , 64593@debbugs.gnu.org, Mathieu Othacehe , Sergey Trofimov , Ricardo Wurmus , Yann Dupont X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Josselin Poiret skribis: > From: Josselin Poiret > > * gnu/system/image.scm (mbr-disk-image, mbr-raw-image-type): New variable= s. > * guix/scripts/system.scm (%default-options): Use mbr-raw-image-type by > default. > --- > > How about this for now? I think the bootloader/image-type situation is n= ot > clear, but at least this keeps the behavior of the previous default optio= n. LGTM! Maybe add =E2=80=9CFixes .=E2=80=9D to t= he commit log. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 08 05:02:11 2023 Received: (at 64593) by debbugs.gnu.org; 8 Aug 2023 09:02:11 +0000 Received: from localhost ([127.0.0.1]:35130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTIbT-0004L2-53 for submit@debbugs.gnu.org; Tue, 08 Aug 2023 05:02:11 -0400 Received: from jpoiret.xyz ([206.189.101.64]:56546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTIbP-0004Ko-Nm; Tue, 08 Aug 2023 05:02:10 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 2C943185313; Tue, 8 Aug 2023 09:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1691485325; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5alwEIwkxRNHXonYF1kKk/cKGIFtzUc/r3sXw+9CnqY=; b=jx4oNtohkmgpzD4lxPHAf5MUmDae3ajcyNAtftaRcGwQ366FFVKSmeqBoHPs4UaoQOhZ3Y 2SzGMJh3LSDLr7bRyT+1Yz4Dq3LGIeb01fZ/90kqAwsxs/NdP188aZiMXEXaIUMMyFtGLw EA2nCd7JVdq65h8Ke+u9T3IwzDXkzD1XWwVF+yBYdjKUeSr5iWnr2AzZYzNyYOsrz4H+uo 4c0fRJn4I34XIL82l4Bh2YSx8+dmmyXjZTCRYapyIcGWjfk6hxlCyn1x6LE3MnyyxwIefC 05+BnDszR8QvvzCL1mTczYdSUJ2iPTCV7DGwQ0YCc48fb4iZMmVjLuq/L7Vk4w== From: Josselin Poiret To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= In-Reply-To: <87edkfxq2f.fsf@inria.fr> References: <87sf9syx3m.fsf@inria.fr> <871qh56p84.fsf@sarg.org.ru> <87v8ege1f8.fsf@jpoiret.xyz> <87edkfxq2f.fsf@inria.fr> Date: Tue, 08 Aug 2023 11:02:01 +0200 Message-ID: <87wmy5ewl2.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: -- Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593 Cc: 64593@debbugs.gnu.org, Yann Dupont , Sergey Trofimov , debbugs-submit@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi everyone, Ludovic Court=C3=A8s writes: > I guess my confusion stems from the fact that the default image type > changed to EFI recently (right?). No, the image type had always been efi-raw iirc, just that efi images now use GPT partitioning, and BIOS booting on GPT drives need an extra BIOS partition to store the bootloader which used to be stored in empty space after the MBR headers. There really wasn't anything EFI at all about the efi image type before though imo=E2=80=A6 Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmTSBIoQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcailYNC/0V0fyt+y8q5G6K3BPGdFwzUPol4jYnHpoG 9VRdgRTVyDh+iqOiw7M9kzKFsgKzMTGZomSUk/8TGlOew4RIgHPVDlUfTuSkSpKV 9oSBBm1ClpIIABZjLzqJLbzUkJYP2s9g5DBqKC6WYdUJQLOa2NaR1U+jTtigwNSE 8b8cfzdJp5ewLqa+8LKeYwJdfPqLP/hoqXeJRdo9BaX93k+6TEH718gPNIZLq/a1 aEehZ5IiIn2pLlDpRJxzsIM2iWT0dbSZ/QNX67RVQvKYPKeX1wMqOEdx8529CVaQ 1EZZAKnGzr9+jUDfVvNQHrhjR5pIPOY6z5D+JNXEzUXuS9fiqyCnR8WeXcI0B3jM nNGYuB+Ch4uWJGy8kbBwhxrrnQBS4DoX3l1H3w46ef0Q4tSc34qwaMeZKe3BVCax V88mhVJwQB6ApxqBIAj/HufymTZUrmZkN2+NQ8AMAWDrZC9agjoCZ4Tll88lDUHj nuB2LEQ2Ns5t8kRSRkkJmc6JvEVqLIs= =4eDW -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 25 12:34:08 2023 Received: (at 64593-done) by debbugs.gnu.org; 25 Aug 2023 16:34:08 +0000 Received: from localhost ([127.0.0.1]:41149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZZlA-0000Yi-4K for submit@debbugs.gnu.org; Fri, 25 Aug 2023 12:34:08 -0400 Received: from jpoiret.xyz ([206.189.101.64]:59350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZZl8-0000YU-R1; Fri, 25 Aug 2023 12:34:07 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id EC380185182; Fri, 25 Aug 2023 16:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1692981241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2UozM6ABG5fpkf0XLCe1VNE0YcA2yL3M5Vtwqz/po/4=; b=opFRT1nlWoAw/TNiFd8GGUhh+5lCM5jcA6Cw8L6f1J6kw3RG6wJUZ3bo5b+3ErSdn1aiig e8Wwv0/ChIeumvs/o4ZAWa4F0EUCbIuif4n3XN6KV5dfR3/Hv65xMV6ywKflUlCxgIFZUi 5dt9OJ4wKAjUUeYTW1aRmXhwQwuzK9a0uvrPyDRhs+yTKlCS7pAnIKnfYTiVUQZBnOXkvG XqxJCKnI30iicnZ49qTjc+Z+wn8G+qJ0rfACEjW3/qoC2u435GFJMf4k4UEjS0rzIFnliM J2fWiKXz26baPrEcdmpHPOmtMW3jgIdgeSJNCV2o/p7a05DkMiVcAV7MwYMAvQ== From: Josselin Poiret To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#64593: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?image?= =?utf-8?Q?=E2=80=99?= fails to create image while invoking =?utf-8?Q?=E2=80=98grub-bios-setup=E2=80=99?= In-Reply-To: <87wmy5ewl2.fsf@jpoiret.xyz> References: <87sf9syx3m.fsf@inria.fr> <871qh56p84.fsf@sarg.org.ru> <87v8ege1f8.fsf@jpoiret.xyz> <87edkfxq2f.fsf@inria.fr> <87wmy5ewl2.fsf@jpoiret.xyz> Date: Fri, 25 Aug 2023 18:33:57 +0200 Message-ID: <87il93t72i.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64593-done Cc: 64593-done@debbugs.gnu.org, Yann Dupont , Sergey Trofimov , debbugs-submit@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Pushed d57cab764122af69d52d8cc9c843456044e5d7bc that adds mbr-image-type and sets it as default. LMKWYT, closing tentatively. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmTo1/UQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaionkC/9VlQDfpkd2/5eUZf5KhOyLPUWZjgmTirTQ E9Dayz4aSgLqWgg4wL30oaET57cCNenPgcNUWn1/hrv/SRtkIpZwKO617NX4tYSe 2nSZ4RYrGzJsCVc6+jKfe2KyRNYnBiQsn3q7fEJipCRsZBzGJq5TlaWIjsoWyzcT h8oGbFER4TE7r5UXxr0VcxTHMaO5BwPlPW0uKbEZEdJJe+wtzp9zT+QcJxULwM0l Fxw2fcEeZIK32BYMCdUoMVTYopM4N6nBfWgVO7IR4kgakM3l2NQBIRtyTRQ6teR3 29TaXbc2BpA4DqreT1kdAMFT74BOpracvVydaTrMtRNNIkt+z6B6mgQSQu3PXtyC hTvCjYt+Qk5gPnYobs27HlEy3/Exe7a80pEaFBgL8LVBsVth01iV0Jw5NFTm2SkX XwjapIIiO/vc6UCpcla1LyGTo7RX5dpudjGBmwsgZXlnGoUCMFjzlKjTTkom0E5o P+RYvBUcssJo+gYFLWjW8Qn+Cvyn22Y= =sL8G -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 03:21:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Sep 2023 11:24:15 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator