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

Re: Debian on qemu-system-sparc64



2016-01-25 14:51 GMT+01:00 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
It would also be interesting to know whether you could get networking
on qemu-sparc64 because recently I never managed to do that.

It seems the default machine is missing a network device, so no network by default, but that's easy to fix on the command-line: just add a network device.

I just installed the ISO image in qemu on a zvol using (here the nework device is of type 'pcnet'):

#####
qemu-system-sparc64 -machine sun4u -smp 1 -m 1024 \
        -drive file=/path/to/the/vm/disk/image,id=rootdisk,if=none,format=raw -device ide-hd,drive=rootdisk \
        -drive file=/path/to/debian-9.0-sparc64-NETINST-1.iso,id=datacd,if=none,format=raw -device ide-cd,drive=datacd \
        -device pcnet,vlan=0 -net user,hostfwd=tcp::10023-:22  \
        -nographic
#####

The bit in -net allows to do "ssh -p 10023 user@localhost" to connect to the VM once SSH is started. It's all bog-standard, slow, non-virtio devices, but it does the job.

Now I need to find a cd-r to burn, to try and install on my Ultra 1E if I can find the time. Probably won't be fast :-)

Cordially,

--
Romain Dolbeau

Reply to: