Gabriel Wicki writes: Hi!
> I CC the help-guix mailing list since this is somewhat Guix specific. > > In the GNU Guix Reference Manual there's the `childhurd` section called > `The Hurd in a Virutal Machine`, in (guix) Virtualization Services. > > This should quickly get you to that goal. Thanks! >> 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 I just checked, dowloaded the 32bit image from https://ci.guix.gnu.org/search/latest/image?query=spec:images+status:success+system:x86_64-linux+hurd-barebones.qcow2 To run it in Qemu, see https://codeberg.org/guix/guix/src/commit/86776ccd30bb44eb856fcf3a14a8338f38fe1367/gnu/system/examples/bare-hurd.tmpl#L13 --8<---------------cut here---------------start------------->8--- guix shell qemu -- qemu-system-i386 -m 2048 \ --enable-kvm \ --device e1000,netdev=net0 \ --netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \ --snapshot \ --hda fyxqvsmrxsdfk8mv1dfd7vnbhrsfqvil-hurd-barebones.qcow2 --8<---------------cut here---------------end--------------->8--- or, for 646bit, see https://codeberg.org/guix/guix/src/commit/86776ccd30bb44eb856fcf3a14a8338f38fe1367/gnu/system/examples/bare-hurd64.tmpl#L13 --8<---------------cut here---------------start------------->8--- guix shell qemu -- qemu-system-x86_64 -m 2048 -M q35 \ --enable-kvm \ --device e1000,netdev=net0 \ --netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \ --snapshot \ --hda /gnu/store/...-disk-image --8<---------------cut here---------------end--------------->8--- >> It boots properly into GNU guix/Hurd, and I could login as root, but when I >> run >> "guix pull", I get this error >> >> guix pull: error: Git error: cannot extend packfile '/root/.cache/guix/ >> checkouts/7x37p6bub2newlthjx5kk2mco2aq44vxbq9p5gua3sifqxzfb3aqq/.git/objects/ >> pack/pack_git2_37ae6b67c8b573ea': No space left on device >> >> ext2fs: part:1:device:hd0: warning: This filesystem is out of space. When creating your image, use something like ./pre-inst-env guix system image --image-type=hurd64-qcow2 --image-size=25G \ --no-offload gnu/system/examples/devel-hurd64.tmpl (from https://codeberg.org/guix/guix/src/commit/86776ccd30bb44eb856fcf3a14a8338f38fe1367/gnu/system/examples/devel-hurd64.tmpl#L8) Greetings, Janneke -- Janneke Nieuwenhuizen <[email protected]> | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com
