From: Mathieu Othacehe <othacehe@gnu.org>
To: Ryan Sundberg <ryan@arctype.co>
Cc: 51598-done@debbugs.gnu.org
Subject: bug#51598: [PATCH 2/2] image: Support generating GPT images via `partition-table-type`
Date: Fri, 12 Nov 2021 13:37:15 +0000 [thread overview]
Message-ID: <87y25tcx6c.fsf_-_@gnu.org> (raw)
In-Reply-To: <20211104083511.11852-2-ryan@arctype.co> (Ryan Sundberg's message of "Thu, 4 Nov 2021 01:35:11 -0700")
Hello Ryan
Nice one! I tried to generate a GPT image like so:
--8<---------------cut here---------------start------------->8---
$ cat /tmp/my-img.scm
(use-modules (gnu)
(gnu image)
(gnu system image))
(define my-os
(primitive-load "/home/mathieu/guix/gnu/system/examples/lightweight-desktop.tmpl"))
(image
(inherit
(os->image my-os #:type efi-raw-image-type))
(name 'raw-gpt)
(partition-table-type 'gpt))
$ ./pre-inst-env guix system image /tmp/img.scm
--8<---------------cut here---------------end--------------->8---
However, the resulting image was not bootable because Grub was lacking
the part_gpt module. This is now fixed with
fb3df2011692b2a6fea9f4fefd71dd788453fbae.
I also noticed that trying to build a GPT image with a grub-bootloader
(bare-bones.tmpl image for instance), failed at build time, probably
because install-grub-disk-image is expecting an msdos partition.
It would be great if you could have a look to this issue as a follow-up :).
I pushed this patch anyway as 096a2bf8c59a955c634cc838e7f7111941c07b37.
Thanks,
Mathieu
next prev parent reply other threads:[~2021-11-12 13:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 8:35 [bug#51599] [PATCH 1/2] gnu: genimage: upgrade to v14 Ryan Sundberg via Guix-patches via
2021-11-04 8:35 ` [bug#51598] [PATCH 2/2] image: Support generating GPT images via `partition-table-type` Ryan Sundberg via Guix-patches via
2021-11-12 13:37 ` Mathieu Othacehe [this message]
2021-11-12 13:32 ` bug#51599: [PATCH 1/2] gnu: genimage: upgrade to v14 Mathieu Othacehe
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y25tcx6c.fsf_-_@gnu.org \
--to=othacehe@gnu.org \
--cc=51598-done@debbugs.gnu.org \
--cc=ryan@arctype.co \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.