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