Sorry for the late reply, your reply came when I started working 13 hours and then it's x86_64 for the entire day.
I downloaded the debian9 netinstall iso here
https://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-9.0.0-i386-netinst.iso
since I didn't know which Ubuntu version you were trying.
Then
snelboek:~ uz3r$
qemu-img create -f qcow2 debian9.qcow2 8G
Formatting 'debian9.qcow2', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off
snelboek:~ uz3r$
qemu-system-i386 -version
(process:283): GLib-WARNING **: gmem.c:483: custom memory allocation vtable not supported
QEMU emulator version 2.2.0, Copyright (c) 2003-2008 Fabrice Bellard
Then booted the iso (remember I have the tuntap drivers installed already)
snelboek:~ uz3r$
sudo -i
snelboek:~ root#
cd /Users/uz3r/
snelboek:uz3r root#
qemu-system-i386 -boot d -hda debian9.qcow2 -cdrom Downloads/debian-9.0.0-i386-netinst.iso -m 512M -net nic -net tap,script=no,downscript=no
I get the Seabios screen , loading cdrom and then
View attachment 707206
Chose
Install , then switched back to a new Terminal window and found the activate tap0 device
snelboek:~ uz3r$
sudo -i
snelboek:~ root#
ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:11:24:d5:d0:1a
media: autoselect (none) status: inactive
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,flow-control> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,flow-control> 100baseTX <full-duplex,hw-loopback>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.230 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:11:24:a7:a0:fe
media: autoselect status: active
supported media: autoselect
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
lladdr 00:11:24:ff:fe:d5:d0:1a
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
tap0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 26:07:4c:3b:c4:1a
open (pid 325)
snelboek:~ root#
ifconfig tap0 192.168.10.1 255.255.255.0
snelboek:~ root#
ifconfig tap0
tap0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.10.1 netmask 0xffffff00 broadcast 255.255.255.0
ether 26:07:4c:3b:c4:1a
open (pid 325)
In the meanwhile Debian was booting
View attachment 707207
and is currently installing but I'm on a PB 12" G4 with Bettery Battery life, 2 tabs in TFF , TextEdit opened, Terminal 2 windows and qemu-system-i386 running so it might take a bit to finish
I'm going to eat in between the Debian install and will get back once it finishes.