From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YHKEF7skGmTyGAAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 22:42:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UFGDF7skGmSjTAAA9RJhRA (envelope-from ) for ; Tue, 21 Mar 2023 22:42:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 215E01AB66 for ; Tue, 21 Mar 2023 22:42:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=TxGMUI99; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679434939; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Wn64fj6KdOZrxrHKEuPrKTkhbN4zZnmQpZKFmDCK268=; b=m7y3/ZgEp5h9uMfexaqQpS+K/T7t206RYerXQ+2LiDTNHe3aHhFS0s0LHZwNJQV9Itb/JA SgSagFrvcyvpHwFJY5pS/4SthjKKyGwgVKAwRCUyO+u0DLZyWokUIgsNv97/8D61tpc5VS BQPL1BBXT+Ub8Ti4LkUF6F9TANWff3fKLnOIh6adHnf5lGP0Hxmom37RD/8VVypQ5wRmjD LRTqCWr4gwmw5rcHRXM4KLOL6AN8bxOYpE/0MLcpadyw/S6mewmRu9GTrqETOvdOolH5t2 ltN6tgR6JsOZvcwRjYyQPBu2/EQXxcBhZlJEndhZKiKqU8tRiEboyo4Jmiz2jg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=TxGMUI99; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679434939; a=rsa-sha256; cv=none; b=rhgKlXkDBsQ6LF6O4UOe6nJ76mwmDmoOT6AsBB5/MlKyAziHkKGv+2FkIYbyAlIKWtcNwl nWuyxi8vr9I/8XLzLi6Gn9M0aHgQTpeg2USj1MI/nEmTZPJ/TFetto2x+sskMmOSFiKkWh mrfr2US8iQZAx/ZJ2nr85MJ9hU4It4MjLFw1oexT5wdf5RHZ7KF9La0Cb0CX0xaPMx700Z cfWjGr9ddOYWjaNfyytnDgqSgqNUJOlzJKDVjyFyx+Jkuh91r/RRsx4BuvEalPmeUV4Fnl rWwoCgJhsRnU+80Vr8vPAghIZn+jLdEfJ/uXa7dN4cd4TXdHyx/GL0ExwVICow== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pejk9-0005EL-5h; Tue, 21 Mar 2023 17:42:10 -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 1pejk3-0005Dz-DM for guix-patches@gnu.org; Tue, 21 Mar 2023 17:42:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pejk2-00070T-DW for guix-patches@gnu.org; Tue, 21 Mar 2023 17:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pejk1-0003N2-Tc for guix-patches@gnu.org; Tue, 21 Mar 2023 17:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62223] [PATCH] image: Prefer gpt partition table for efi disk images Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 21:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62223 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sergey Trofimov , 62223@debbugs.gnu.org Cc: Sergey Trofimov Received: via spool by 62223-submit@debbugs.gnu.org id=B62223.167943491812947 (code B ref 62223); Tue, 21 Mar 2023 21:42:01 +0000 Received: (at 62223) by debbugs.gnu.org; 21 Mar 2023 21:41:58 +0000 Received: from localhost ([127.0.0.1]:32822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pejjx-0003Mk-LY for submit@debbugs.gnu.org; Tue, 21 Mar 2023 17:41:57 -0400 Received: from jpoiret.xyz ([206.189.101.64]:35484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pejjv-0003Mb-I1 for 62223@debbugs.gnu.org; Tue, 21 Mar 2023 17:41:56 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 8AFEC184D43; Tue, 21 Mar 2023 21:41:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1679434913; 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=Wn64fj6KdOZrxrHKEuPrKTkhbN4zZnmQpZKFmDCK268=; b=TxGMUI99uh4awD5NdZb73Yi000Wr7mRj5VAsdC1RIK0lzPnAa3XsLbTJ7LF7mlGY4nJD+V N2qeSOiVlq2Xpft390+C6xXZO4H/V6ow3sMPeLx2pqroBGsEGitDswMvi3ffYYyu809kWH G3UE+VbG5f09Mkcyir7XSIshORSVsdeHLvS20xEiUJ37iepF4c/QntICVEZiMAK3EmIQsT S3gpZcqfN1Rffee7NA49vkNQG7CuOIIS/AcDqbLSO49aLflKkk56pQ/zlLMymqeVhieLdU OCbXcDkSrHvtvzmcx2HhNKkh4nhgFJO6XpjRcvUBJgWlmkw0ke1Fv1z3dyQb8A== In-Reply-To: <20230316173137.25074-1-sarg@sarg.org.ru> References: <20230316173137.25074-1-sarg@sarg.org.ru> Date: Tue, 21 Mar 2023 22:41:49 +0100 Message-ID: <87mt45rdcy.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Migadu-Queue-Id: 215E01AB66 X-Spam-Score: -5.65 X-Migadu-Spam-Score: -5.65 X-Migadu-Scanner: scn0.migadu.com From: Josselin Poiret via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: yxexXgpj5sBB --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Sergey, Sergey Trofimov writes: > Hi guix, I got curious, what the easiest way to migrate existing guix os = to a > new machine could be, and I've came to a conclusion that `guix system ima= ge` > fits this scenario perfectly. So I've tried to run `guix system image > --image-type=3Defi-raw --persistent --save-provenance system.scm`, but the > resulting image contained MBR style partition table. Although MBR support= is a > must for an UEFI implementor, a better choice would be to use GPT style t= able. Thanks for the patch! First off, if you want to add a comment to your mail but not to the commit message, you should add it below the first -- (under the commit message), before the diff, that way it doesn't end up in the commit message. With this applied, I cannot build an example qcow2 image using `guix system image -t qcow2 gnu/system/examples/bare-bones.tmpl`. It fails when installing GRUB onto the image. Sure enough, the install-grub-disk-image procedure seems to only support MBR. Could you also have a look at this? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQaJJ0QHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaiv8YC/470ny/Qo4JeARKij0gKV4uwhHYYOtwB2r/ sqOZEHrqWi/zmZHJhm/CJtnqesyi3SVy9p/38TPdnXN6q06UU/OPQH1BMaF7QQNM 1LSCnImkCvvrpYHYu1tABz4UVnH3UqouYSrYEo8+Xujvnb2njniQgJWb9rrSuVjB MwnMl0bqI6QtEisV7DVjMOyWWgIMHZkmavWOcn+A3ppmBDQ+vVF8QKbvdlpvF0+f USG22Nl1ufslE/55F5S1p+rzR+DE1v46UXP/lWxtMhsTaBa4h37ldVe9weJsMLlM 2jKHYe6OvS8yHeqBn6NBxQy0oTnAQa952poJS7nAXAt5CG5QBOQKo1gWbOxtxDfe HQ0NP1vmxdsxf0S3m0+DI7u9gXWiAK1nRNYy/XtD3DBIbYg2+pQgwuflIqZu2lC6 3a4BP+8cOVfJ4J5EHjoAVB6u1d0BFMhwI8bVTeumeP0RPhunSMYpbT3QHVA+lzYi rpLTwfEhZ+gZlDJ/j8tLfrqf6vercWo= =SMjj -----END PGP SIGNATURE----- --=-=-=--