Boot ISO By QEMU KVM

Subject

範例

Prepare

執行

sudo apt-get install qemu-kvm

或是

sudo apt-get install qemu-system-x86

關於「qemu-kvm」是「Virtual Package」。

基本上安裝「qemu-kvm」就會安裝「qemu-system-x86」。

Download ISO

wget -c 'https://cdimage.ubuntu.com/xubuntu/releases/22.04/release/xubuntu-22.04-desktop-amd64.iso'

Boot ISO

kvm \
	-object memory-backend-ram,id=pc.ram,size=1024M,x-use-canonical-path-for-ramblock-id=off \
	-machine memory-backend=pc.ram \
	-m 1024M \
	-monitor stdio \
	-cdrom xubuntu-22.04-desktop-amd64.iso

Package

Manpage