From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KHppNTE6VmcH9wAAqHPOHw:P1 (envelope-from ) for ; Mon, 09 Dec 2024 00:30:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KHppNTE6VmcH9wAAqHPOHw (envelope-from ) for ; Mon, 09 Dec 2024 01:30:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=FJ8N3A+i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733704241; a=rsa-sha256; cv=none; b=qonbW7UysWVc/He/nPaSMQeK6xWrax1H+OPmBDEj4nPtGVGPy4OsHmFTCRsSW4xFmtrI3R PRinFfg0HfDq+/wbIeFeNK5Ell3EoMtEUlNzED3yUUEhOUoAQXEKW/pdt9YbhYPJZAbO3H 5sUGSNQDHpI0bAicVsynhJKhpCN3mczPxzSDsadtlt/H53kZjUzBTFV+m6S6t8gGbYOKrb rGKw99eYcve8G1/Z4fghbH2IhrfT/hNOarLfbsX+/Wu9rimQG2d9Zh7HtHwGiYaAKUtQPu oJ2U7wn+HxZA7tkdIQhB4hFcN4KDGUyZXvJbPIA/ibm86XM56wf2wuxZdV8XTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=FJ8N3A+i; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733704241; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2Exo/ue+Rk2GtyhnWllrTGZ5ou0YA10A9EE52OFySRI=; b=CKczxSfzL5/B7Wc1RkbardBDLXyW9oEIG1AbdGzhS0I7gK8vr+M58s3V+mtzn6OH2p3GJ9 ISdWFRP9yk6fdSKjgUpH8CgDXpWWt+6CQEQHaDhEC9HtXEIcFu8AlrSvXuvYorS32sv+Wt 6fasOo13J0auz5WGe2zJX/awAbLvX7R41Ka2nnNsuoyOryGeLsL0H/H8CzWJvJMqAGQkBG SBGYooqzoNN3sItJ7qFqASC0yD7/W+tP3LzeybD/LNbTLizXIBRevqYU8upO0tmUlpeeUd xJ1FyXX1Qftz/mH75SZHniH5siI9JX2Wi2KjL0xmfUv63PtId4gY3I7KT3OrYg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BBBBB82F2A for ; Mon, 09 Dec 2024 01:30:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKRf6-0002jU-W0; Sun, 08 Dec 2024 19:30:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKRf3-0002hB-EQ for help-guix@gnu.org; Sun, 08 Dec 2024 19:30:05 -0500 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKRf0-0000iq-Ve for help-guix@gnu.org; Sun, 08 Dec 2024 19:30:05 -0500 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-aa1e6ecd353so614322566b.1 for ; Sun, 08 Dec 2024 16:30:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733704199; x=1734308999; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5JrWPaGN9mGHGtW+gsZ1/OF0KpuC1LDaXQ4NmPstSVY=; b=FJ8N3A+ivflq/t1km2YOgDmyVv0UJ+yVVUZM3nnjtUCtJWKTQ9SmsDT7aKTv5HZVh7 9RWbG0dB/17baPiiWH4ugEb7Y9ssUh9J6wo21w43HefsZpED0WSY+NWIqlA0sbV8zdeE i29xew8uDZhpIxTAN/XI2cCPnYS5dgF7PuXqIHPcMsmMgRljwLhSBkx4lZZG24qHJBY/ x+H3zUA7JT9DO8UgDNKsvL5om364gKgsbmoCL3p2tneo7dMYwx2P9apiBz5krPDQ4TNT XHqnYN8cd3I2pUv0sP1Irtb4VTC1jUh8t9n+VHKhM4YHXjvQ4bZZ0blN3nTrfDNN60C9 WksA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733704199; x=1734308999; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5JrWPaGN9mGHGtW+gsZ1/OF0KpuC1LDaXQ4NmPstSVY=; b=Uz1PktWWgWZELVi98P0YaZnJScjDZvQVPQYpfiDQgog/9VkvTk2+mJCbG9w6asp9Uo srIyaitYMmjaBAPnPZPTfAoYT4ZmSJihAbjgo9h12wiMjlr7ElLfklGP4H3Lg0IaYv8y M0ce25eIuvHlYNrZfazfmIJ0dFhEMgbi5td3NO+NysqEHN39WCuoZIvI1mmRkMd1+/X7 n2OR/rx/WolziOZDZWt2dQtiOTODQT6GQtDI81kCd8xH05b5F+R0I9rq2LF58fmYw2J5 TlFH/qMOHXSTI4vK7vGDbIn0cwybP4sWgJ3ar9GfjmIdsHEXKBRRS4/osoTrlvtgqUDM amJQ== X-Gm-Message-State: AOJu0Yyjy0/KRRga9vWh6O7vblCFxpWXSitYV+Sx7WagTqe4TLYBBDsM bwdw9WUcC5vvhZuZbUpW3Z4BKUOxZNbOVdYviqtwLrPpAMM3+xexb3a6u0Clqt2IhD2gVltXvRm kZSBaxelO7nOliQyvVS6LzhBxkHCJAHGLVzY= X-Gm-Gg: ASbGnctqx8oGnOOsHXdx9VTplMl1UtQ0xZN0LCW82ETNZjmZ1IJLXNtxZVLb306jQx0 Vs0HDhdStTJgA1rfSUEmARoWfQawgBfMj X-Google-Smtp-Source: AGHT+IHNQPrCcvtdfwfrgGLp/LxglCLjosuX4JmL6th5Rs8YK4/7bTyKEn9dOZjwnprnE+DD6nwgP4ROfoR9ggsaZ3c= X-Received: by 2002:a05:6402:280f:b0:5d0:ed92:cdf6 with SMTP id 4fb4d7f45d1cf-5d3be6b8145mr23740516a12.19.1733704199085; Sun, 08 Dec 2024 16:29:59 -0800 (PST) MIME-Version: 1.0 From: Timothy Washington Date: Sun, 8 Dec 2024 19:29:47 -0500 Message-ID: Subject: Building Qemu VM To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=twashing@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.06 X-Spam-Score: -1.06 X-Migadu-Queue-Id: BBBBB82F2A X-Migadu-Scanner: mx12.migadu.com X-TUID: tiEhTdL1ionN 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 gexp)) (load "system.scm") (define vm-image (image (operating-system physical-operating-system) (format qcow2-image-type) (size (* 10 (expt 2 30))))) vm-image A. However this configuration is giving me this error, even though i. qcow2-image-type clearly exists. And I ii. I made sure to `guix pull` to the latest version. $ guix system image -t qcow2 vm.scm guix system: error: #< name: qcow2 constructor: #>: invalid 'format' value B. Removing `(format qcow2-image-type)` gives me this error. So guix wants the `(format)` field initializer. $ guix system image -t qcow2 vm.scm /home/twashing/dotfiles/vm.scm:10:2: error: (image (operating-system physical-operating-system) (size (* 10 (expt 2 30)))): missing field initializers (format) C. And quoting the symbol with `(format 'qcow2-image-type)` doesn't solve the problem either. $ guix system image -t qcow2 vm.scm /home/twashing/dotfiles/vm.scm:12:11: error: qcow2-image-type: invalid 'format' value D. After combing through the documentation , I also tried building an image against my base `system.scm`. (operating-system ... (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) (keyboard-layout keyboard-layout))) ...) But that also fails with this configuration. $ guix system image --image-type=qcow2 system.scm guix system: error: EFI bootloader required with GPT partitioning What am I missing here? Tim