bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running the Hurd in qemu possibilities


From: Ryan
Subject: Re: Running the Hurd in qemu possibilities
Date: Wed, 16 Sep 2020 14:48:14 -0700
User-agent: mu4e 1.4.13; emacs 26.3


I was never able to get the CD Netinst ISO to work properly. Ditto for the 
pre-created images.

This install ISO is the only one that works for me: 
https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/dvd.iso

I then create the QEMU image with <code>qemu-img create hurd.img 15G</code>.

Install script:
<code>
#!/usr/bin/env zsh

printf -v macaddr "52:54:%02x:%02x:%02x:%02x" $(( $RANDOM & 0xff)) $((
 $RANDOM & 0xff )) $(( $RANDOM & 0xff)) $(( $RANDOM & 0xff ))

qemu-system-x86_64 -m 3G \
    -enable-kvm -drive cache=writeback,file=hurd.img \
    -vga vmware -smp 1,sockets=1,cores=1,threads=1 \
    -net nic,macaddr="$macaddr" \
    -net user,hostfwd=tcp::5555-:22 \
    -boot order=ad,menu=on \
    -cdrom dvd.iso
</code>

The script I run after installation is identical to this except with the bottom 
`cdrom' line removed.

To ssh:
ssh username@localhost -p 5555


Also, make sure you replace whatever is in /etc/apt/sources.list with:

<code>
deb http://deb.debian.org/debian-ports unstable main
deb-src http://deb.debian.org/debian unstable main
deb http://deb.debian.org/debian-ports unreleased main
</code>

Enjoy!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]