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 wrote:
> Am Tue, Dec 10, 2024 at 11:50:44PM -0500 schrieb Timothy Washington:
> > (define (boot-partition size)
> > (file-system
> >
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/vda
Yes, Cheers for that. I'm able to run that command, and get a bit further.
Tim
On Mon, 9 Dec 2024 at 05:08, Jeremy Korwin-Zmijowski <
jer...@korwin-zmijowski.fr> wrote:
> Hi Timothy,
>
> Last time I generated a system image, I ran this command :
>
> guix system image --image-size=10G --image-typ
Hi Andreas,
Ah, so my `(use-modules)` needed A, not B.
Ie the `image` form is coming from `gnu.image`, not `gnu.system.image`.
But then what is the difference between these two modules?
When would I use `gnu.system.image` instead of `gnu.image`?
A. (gnu image)
B. (gnu system image)
Either way, I
Hello Tim,
Am Sun, Dec 08, 2024 at 07:29:47PM -0500 schrieb Timothy Washington:
> (define vm-image
> (image
>(operating-system physical-operating-system)
>(format qcow2-image-type)
>(size (* 10 (expt 2 30)
looking at the code, I see this in gnu/image.scm:
(define-record-type*
Hi Timothy,
Last time I generated a system image, I ran this command :
guix system image --image-size=10G --image-type=qcow2 basic.scm
Does it help ?
Jérémy
I've got an existing `system.scm` which defines `physical-operating-system`
as a guix `operating-system`.
I've created a simplified `vm-image` in its own file `vm.scm`.
(use-modules (gnu)
(gnu system)
(gnu system image)
(gnu system vm)
(guix gex