2024-11-17 13:43:18 +00:00
|
|
|
<img src="https://i.ibb.co/jhQGkmz/AWESome-removebg-preview.png" width=300 height=200>
|
2024-11-17 13:35:47 +00:00
|
|
|
|
2024-11-17 13:43:18 +00:00
|
|
|
# The best Qemu tutorial
|
|
|
|
|
|
|
|
### 1 - Create your disk:
|
|
|
|
qemu-img create -f qcow2 win.qcow2 80G
|
|
|
|
|
|
|
|
*Define your disk size, in the example we used 80GB*
|
|
|
|
|
|
|
|
### 2 - Launch your VM:
|
|
|
|
qemu-system-x86_64 -cdrom /virt/iso/win10.iso -audio driver=pa,model=virtio,server=/run/user/1000/pulse/native -hda win.qcow2 -boot d -enable-kvm -smp 4 -cpu host -m 16G -vga virtio -net nic,model=e1000 -net user -usbdevice tablet
|
|
|
|
|
|
|
|
|
|
|
|
***model=virtio**= Define here your sound card model here in my computer i use the **ac97** and i use _hda intel_ and **pulseaudio**.
|
|
|
|
|
|
|
|
**-cdrom**= The directory of your boot disk image
|
|
|
|
|
|
|
|
***-smp 4** = Number of threads, here i use 4*
|
|
|
|
|
|
|
|
***-m 16G** = Ram, here i use 16GB for Windows VM*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|