emojifreak / qemu-arm-image-builder

Shell scripts to build Linux images for QEMU ARM emulator
GNU Lesser General Public License v2.1
14 stars 9 forks source link

Building image - how long should the build take? #6

Open pfk-beta opened 9 months ago

pfk-beta commented 9 months ago

Hello, I followed the instruction, with some minor modifications (install test-arch, add apt opts to allow unauthenticated repo and packages). After running shell script I have get qemu command:

sudo qemu-system-arm   \
-net nic,model=virtio \
-net user \
-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0,id=rng-device0 \
-drive if=virtio,file=/var/tmp/debian-bullseye-armhf.img,index=0,format=raw,discard=unmap,detect-zeroes=unmap \
-drive if=pflash,format=raw,unit=0,file=/usr/share/AAVMF/AAVMF32_CODE.fd,readonly=on  \
-drive if=pflash,format=raw,unit=1,file=/var/tmp/debian-bullseye-armhf-efivars.fd \
-m 1024 \
-cpu max \
-machine virt

But when I run this command, I've get QEMU guest window, with QEMU Monitor shell. And nothing is happend. Is something working under the hood? How much should it take to build the image? HTOP is monitoring: 0.6% of CPU.