From: Richard Sent <richard@freakingpenguin.com>
To: 71657@debbugs.gnu.org
Subject: bug#71657: Improve support for generating system images with different file systems
Date: Wed, 19 Jun 2024 16:18:27 -0400 [thread overview]
Message-ID: <878qz0sn3g.fsf@freakingpenguin.com> (raw)
Hi Guix!
I was surprised to find out that $ guix system image and pals only
support a small subset of the file systems Guix has available. (ext2-4,
vfat, and fat32)
What's more, even if an alternative file system is supported (it's not)
changing the root filesystem format alongside an operating-system is a
fairly involved process. By default, image constructors seem to ignore
the file-system field of an operating system when generating partitions
and formatting them.
I think the following changes would be ideal:
1. Add more make-*-image functions to gnu/build/image.scm to support
common file systems people would want to use.
2. Capture the root filesystem type from an operating-system record and
use it when generating the root filesystem partition on the image.
It's not always possible to manually partition disks and run guix system
init (cloud providers, efi bootloader installation on sbcs) ahead of
time on an external machine, so I feel there is a valid use case here.
If nothing else, I'd like a warning to be emitted if an
operating-system's file-system structure does not match what $ guix
system image generates.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
reply other threads:[~2024-06-19 20:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=878qz0sn3g.fsf@freakingpenguin.com \
--to=richard@freakingpenguin.com \
--cc=71657@debbugs.gnu.org \
/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).