From: Josselin Poiret via Guix-patches via <guix-patches@gnu.org>
To: Sergey Trofimov <sarg@sarg.org.ru>, 62223@debbugs.gnu.org
Cc: Sergey Trofimov <sarg@sarg.org.ru>
Subject: [bug#62223] [PATCH] image: Prefer gpt partition table for efi disk images
Date: Tue, 21 Mar 2023 22:41:49 +0100 [thread overview]
Message-ID: <87mt45rdcy.fsf@jpoiret.xyz> (raw)
In-Reply-To: <20230316173137.25074-1-sarg@sarg.org.ru>
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
Hi Sergey,
Sergey Trofimov <sarg@sarg.org.ru> 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 image`
> fits this scenario perfectly. So I've tried to run `guix system image
> --image-type=efi-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 table.
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,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
next prev parent reply other threads:[~2023-03-21 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 17:31 [bug#62223] [PATCH] image: Prefer gpt partition table for efi disk images Sergey Trofimov
2023-03-21 21:41 ` Josselin Poiret via Guix-patches via [this message]
2023-03-22 12:48 ` Sergey Trofimov
2023-03-22 8:14 ` [bug#62223] Tested locally Sergey Trofimov
2023-03-22 12:53 ` [bug#62223] [PATCH v2] image: Prefer gpt partition table for efi images Sergey Trofimov
2023-07-07 19:50 ` bug#62223: " Josselin Poiret via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mt45rdcy.fsf@jpoiret.xyz \
--to=guix-patches@gnu.org \
--cc=62223@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=sarg@sarg.org.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).