linux qemu image not booting
Posted: Tue Aug 22, 2023 11:56 am
Heya,
I'm able to boot a virtual machine using the following native qemu-system command:
I've not been able to boot the image via eve-ng. Here's what I've done.
1. Dropped the images in /opt/unetlab/addons/qemu/linux-custom/
2. ran /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Unfortunately no winner. Any logs I can look at? I haven't found anything.
I also played around with the "QEMU custom options" but no winner either.
Not sure if this helps, but I'm able to boot the VM using virsh using these parameters too:
Any advice would be appreciated.
Regards,
darkmode
I'm able to boot a virtual machine using the following native qemu-system command:
Code: Select all
qemu-system-x86_64 -m 2G -cpu qemu64 -hda hda.qcow2 -hdb hdb.qcow2 -boot order=c -nographic
1. Dropped the images in /opt/unetlab/addons/qemu/linux-custom/
Code: Select all
root@eve-ng:/opt/unetlab/addons/qemu/linux-custom# ll
total 1976332
drwxr-xr-x 2 root root 4096 Aug 22 11:22 ./
drwxr-xr-x 3 root root 4096 Aug 18 14:26 ../
-rw-r--r-- 1 root root 2023358464 Aug 22 11:17 hda.qcow2
-rw-r--r-- 1 root root 393216 Aug 18 14:17 hdb.qcow2
Unfortunately no winner. Any logs I can look at? I haven't found anything.
I also played around with the "QEMU custom options" but no winner either.
Not sure if this helps, but I'm able to boot the VM using virsh using these parameters too:
Code: Select all
virt-install \
--name my_vm \
--memory 2048 \
--vcpus 1 \
--cpu qemu64 \
--os-type linux \
--os-variant virtio26 \
--boot hd \
--disk path=hda.qcow2,device=disk,bus=virtio \
--disk path=hdb.qcow2,device=disk,bus=virtio \
--graphics vnc,listen=0.0.0.0 \
--console pty,target_type=serial \
--import
Regards,
darkmode