Good catch. I'm starting to get a better hang of navigating guix code. And this nudges me along. Thanks for that.
Tim On Wed, 11 Dec 2024 at 07:42, Andreas Enge <andr...@enge.fr> wrote: > Am Tue, Dec 10, 2024 at 11:50:44PM -0500 schrieb Timothy Washington: > > (define (boot-partition size) > > (file-system > > (mount-point "/boot") > > (device "/dev/vda1") > > (type "ext4"))) > > > > (define (root-partition size) > > (file-system > > (mount-point "/") > > (device "/dev/vda1") > > (type "ext4"))) > > > > (define vm-image > > (image > > (operating-system physical-operating-system) > > (format 'compressed-qcow2) > > (size (* 10 (expt 2 30))) > > (partitions > > (list (boot-partition (* 1 (expt 2 30))) > > (root-partition (* 9 (expt 2 30))))))) > > Have a look at the documentation of the "image" record: > > https://guix.gnu.org/manual/en/html_node/image-Reference.html#index-image > and follow the "partition Reference": > https://guix.gnu.org/manual/en/html_node/partition-Reference.html > > A partition is not a file-system. > > Andreas > >