Re: What is the correct command to run GNU guix/Hurd in qemu?
Damien Zammit <[email protected]> Thu, 18 Jun 2026 07:54:59 +0000
| Newsgroups | gmane.os.hurd.general,gmane.comp.gnu.guix.user |
|---|---|
| Message-ID | <HF5Ar19qID0lPRjUWilj7t8IcSGR5duPpZnR6y_lQKu4y6jJSruXqo6RNBr9Z7zaXzcJasCVCHQr13JbpKiRXIAHInO6vd1-ZKIR8ki495Q=@zamaudio.com> |
Hurd does not support virtio-blk yet as far as I know. Try a file based disk emulation via virtual ahci controller. Cheers, Damien Sent from Proton Mail Android -------- Original Message -------- On 18/6/26 5:54=E2=80=AFam, Gabriel Wicki <[email protected]> wrote: > Hi freebert > =20 > I CC the help-guix mailing list since this is somewhat Guix specific. > =20 > In the GNU Guix Reference Manual there's the `childhurd` section called > `The Hurd in a Virutal Machine`, in (guix) Virtualization Services. > =20 > This should quickly get you to that goal. > =20 > Have nice day! > gabriel / gabber > =20 > On Wed, Jun 17, 2026 at 02:33:55AM +0200, freebert--- via Users list for= the GNU Hurd wrote: > > I could not find much info about running GNU guix/Hurd in qemu, but I = tried > > using two commands and I get get two different errors. > > > > This is the one from GNU guix guide. https://guix.gnu.org/manual/devel= /en/ > > html_node/Running-Guix-in-a-VM.html > > > > qemu-system-x86_64 --machine q35 -nic user,model=3Dvirtio-net-pci -ena= ble-kvm -m > > 2048 -device virtio-blk,drive=3Dmyhd -drive if=3Dnone,file=3D > > 86pbr2w7zfzf31njwwihxs86adwbb6zv-hurd-barebones.qcow2,id=3Dmyhd > > > > It then gets stuck in the boot process with the line "sd0: timeout wai= ting for > > identify" > > > > The second command I tried is from the Debian GNU/Hurd guide. https:// > > www.debian.org/ports/hurd/hurd-install > > > > kvm -m 4G -drive file=3D$(echo > > 86pbr2w7zfzf31njwwihxs86adwbb6zv-hurd-barebones.qcow2),cache=3Dwriteba= ck > > > > It boots properly into GNU guix/Hurd, and I could login as root, but w= hen I run > > "guix pull", I get this error > > > > guix pull: error: Git error: cannot extend packfile '/root/.cache/guix= / > > checkouts/7x37p6bub2newlthjx5kk2mco2aq44vxbq9p5gua3sifqxzfb3aqq/.git/o= bjects/ > > pack/pack_git2_37ae6b67c8b573ea': No space left on device > > > > ext2fs: part:1:device:hd0: warning: This filesystem is out of space. > > > > What is the command to run GNU guix/Hurd? Are there any other issues t= hat I am > > unaware of that might be happening as well? > =20 > =20 >