How to install debian as a VM under QEMU.
by zaxonus from LinuxQuestions.org on (#6NN9W)
I have just installed qemu on my Mac M1 (Sonoma 14.5).
(I have never used qemu before)
I am trying to install debian as a virtual machine under QEMU.
I now have a folder containing two files:
% ls -l
551858176 Jun 20 15:32 debian-12.5.0-arm64-netinst.iso
68719476736 Jun 20 16:48 debian.img
%
debian.img was created using this command:
% qemu-img create debian.img 64G
I am now trying this:
% qemu-system-aarch64 -M virt -hda debian.img -cdrom debian-12.5.0-arm64-netinst.iso -boot d -m 512
hoping to launch the debian OS installation but I only get a black emulator window and don't know what to to with it.
Can someone with experience using qemu give some indications on what to do to install my debian ?
(I have never used qemu before)
I am trying to install debian as a virtual machine under QEMU.
I now have a folder containing two files:
% ls -l
551858176 Jun 20 15:32 debian-12.5.0-arm64-netinst.iso
68719476736 Jun 20 16:48 debian.img
%
debian.img was created using this command:
% qemu-img create debian.img 64G
I am now trying this:
% qemu-system-aarch64 -M virt -hda debian.img -cdrom debian-12.5.0-arm64-netinst.iso -boot d -m 512
hoping to launch the debian OS installation but I only get a black emulator window and don't know what to to with it.
Can someone with experience using qemu give some indications on what to do to install my debian ?