Repository navigation
How to use LiveISO in Virtual Machine
Jeff Zhou edited this page Nov 8, 2026
·
1 revision
You can try the LiveISO on your favorite Linux OS (make sure QEMU is installed).
qemu-system-x86_64 -enable-kvm -cpu host -m 4G -smp 2 -cdrom kan-linux-0.3.0-x86_64.iso -device virtio-vga-gl,xres=1920,yres=1080 -display gtk,gl=on -smbios type=1,manufacturer="kan-linux",product="kan-linux 0.3.0",version="0.3.0" -usb -device usb-tablet -audiodev pa,id=audio0,out.buffer-length=100000,in.buffer-length=100000,timer-period=1000 -device intel-hda -device hda-duplex,audiodev=audio0 -netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0
- Create virtual disk
qemu-img create -f qcow2 kanlinux.qcow2 20G- Launch LiveISO with the virtual disk
qemu-system-x86_64 -enable-kvm -cpu host -m 4G -smp 2 -drive file=kanlinux.qcow2,format=qcow2,if=virtio -cdrom kan-linux-0.3.0-x86_64.iso -boot d -device virtio-vga-gl,xres=1920,yres=1080 -display gtk,gl=on -smbios type=1,manufacturer=Kan-Linux,product=Kan-Linux 0.3.0,version=0.3.0 -usb -device usb-tablet -audiodev pa,id=audio0,out.buffer-length=100000,in.buffer-length=100000,timer-period=1000 -device intel-hda -device hda-duplex,audiodev=audio0 -netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0- Install Kan-Linux to the virtual disk from LiveISO
- Launch the installed Kan-Linux from the virtual disk
qemu-system-x86_64 -enable-kvm -cpu host -m 4G -smp 2 -drive file=kanlinux.qcow2,format=qcow2,if=virtio -device virtio-vga-gl,xres=1920,yres=1080 -display gtk,gl=on -smbios type=1,manufacturer=Kan-Linux,product=Kan-Linux 0.3.0,version=0.3.0 -usb -device usb-tablet -audiodev pa,id=audio0,out.buffer-length=100000,in.buffer-length=100000,timer-period=1000 -device intel-hda -device hda-duplex,audiodev=audio0 -netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0