Hi. I’ve been trying, on and off, for a long time to boot a latest Haiku daily ISO using qemu on Linux.
I had a complicated reproduction done (akin to adjusting rabbit ears in olden times), then stumbled on a simple way to make booting fail or succeed
- Start qemu.
- Hit escape to get to its boot menu.
- Hit 3 to boot from ISO.
This boot fails. If I hit almost any key other than 3 before the 3, the ISO boots and I can install. And this trick works for booting from the vHD.
Is this a qemu bug (qemu v3.1.0 on Debian Buster)? Does Haiku not initialize some bits of hardware? Does qemu not create some bits of virtual hardware?
The serial boot log is too long to include here.
Thanks,
Neal
Here’s the qemu command, split for readability:
qemu-system-x86_64 -nographic -machine accel=kvm -cpu host -smp 4
-drive if=none,format=raw,file=/kvm/vdisk.d/haiku6.img,id=gvd0
-device ide-hd,drive=gvd0,bus=ide.0,unit=0,serial=1310
-drive if=none,format=raw,file=/kvm/iso.d/haiku-master-hrev55141-x86_64-anyboot.iso,id=gsr0,readonly
-device ide-cd,drive=gsr0,bus=ide.1,unit=0,serial=1320
-nic tap,ifname=tapRD0006,script=/etc/network/qemuUP,downscript=/etc/network/qemuDOWN,model=e1000,mac=52:54:00:00:06:00
-vnc :6,share=ignore -device piix4-usb-uhci,id=uhci1 -nodefaults
-name iso:Haiku6 -boot menu=on -m 2048 -vga std -rtc clock=vm,base=localtime
-device usb-tablet,bus=uhci1.0