NetBSD-Users archive

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

Re: Cannot boot NetBSD under qemu-kvm



On 24/02/2020 03:30, Julien Savard wrote:
Hi,
I'm running kvm with libvirt/vort-manager. However, machine type is :

   <os>
     <type arch="x86_64" machine="p3.0">hvm</type>
     <boot dev="hd"/>
   </os>

Also tried with  pc-i440fx-1.4 and  pc-i440fx-4.1. Still the same.

Just to sure I've somewhat tried to boot one of my VM with more or less
your command and no libvirt ( qemu-system-x86_64 -drive
if=virtio,file=/var/lib/libvirt/images/nbqc1-distcc4_01.qcow2,index=0,media=disk
-M q35,accel=kvm -m 512M -cpu host )
Still hang at the same place ("NetBSD/x86 ffsv2 Primary Bootstrap")



(Please bottom post; it makes it easier for me to reply).

What was your previous version of qemu and what is the new one?

Try booting using the argument "-M c-i440fx-<qemu previous version".

So, for example, if your previous version was 3.0.0, you would boot with:

qemu-system-x86_64 \
-drive if=virtio,file=/var/lib/libvirt/images/nbqc1-distcc4_01.qcow2,index=0,media=disk
-M pc-i440fx-3.0,accel=kvm -m 512M -cpu host

Also try "if=ide" instead of "if=virtio" or remove the machine type altogether.

Failing that, try asking on irc (OFTC #qemu).

--
Ottavio Caruso



Home | Main Index | Thread Index | Old Index