bootc-image-builder icon indicating copy to clipboard operation
bootc-image-builder copied to clipboard

centos stream 10 aarch64 qcow2 VM was stuck in starting

Open chunfuwen opened this issue 8 months ago • 0 comments

  1. On aarch64 baremetal machine, run below command to generate qcow2 image:
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   quay.io/centos-bootc/bootc-image-builder:latest  --type qcow2 --tls-verify=true  --config /config.json  quay.io/centos-bootc/centos-bootc:stream10  --chown 107:107  --rootfs ext4
  1. use virt-install to create one VM as below
virt-install --name armstream10vm --disk path=/var/lib/libvirt/images/output/qcow2/disk.qcow2,bus=virtio,format=qcow2,size=10 --import  --vcpus 3 --memory 3096 --osinfo detect=on,require=off --graphics vnc --video virtio --noautoconsole --serial pty --wait 10 --debug     --noreboot
  1. Attempt to launch this VM, and VM is stuck in black screen as attached screen. And also there is no responsive in virsh console vm Screenshot from 2024-06-24 16-48-28

chunfuwen avatar Jun 24 '24 08:06 chunfuwen