[Top][All Lists]

[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: 

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

Install script:
#!/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

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:

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


reply via email to

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