unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45974: guix system vm-image ignores filesystem type
@ 2021-01-19  1:12 Jack Hill
  0 siblings, 0 replies; only message in thread
From: Jack Hill @ 2021-01-19  1:12 UTC (permalink / raw)
  To: 45974

Hi Guix,

I believe that this is a feature request. I would like to create a Guix 
qcow2 image to run as a VM. Additionally, I would like the root file 
system to be btrfs. Therefore, I created an operating system definition 
with the following file-systems:

```
(file-systems (cons (file-system
                      (mount-point "/")
                      (device "/dev/vda1")
                      (type "btrfs")
                      (flags '(no-atime))
                      (options "compress=zstd"))
                     %base-file-systems))
```

I then ran `guix system vm-image --image-size=10G --volatile config.scm`. 
That successfully created a qcow2 image, but the root file system was ext4 
instead of btrfs.

Ideally, I would get an image with a btrfs filesystem. I expect supporting 
all combinations of filesystems and mapped devices might be challenging 
for the image creation process, but some more options might be 
interesting. At the very least, I think a warning or error when the 
requested configuration is not supported would be appropriate.

What do you think about this feature?

Best,
Jack




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-19  1:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19  1:12 bug#45974: guix system vm-image ignores filesystem type Jack Hill

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).