主要参考:
https://wiki.debian.org/KVM#Installation
https://cloud-atlas.readthedocs.io/zh-cn/latest/kvm/libvirt/virt-install_location_iso_image.html
创建vm时使用的命令:
virt-install --name debian \ --os-variant debian11 \ --location /home/zxl/tools/iso/debian-live-12.5.0-amd64-gnome.iso,initrd=install/initrd.gz,kernel=install/vmlinuz \ --memory 2048 \ --vcpus 2 \ --graphics none \ --extra-args="console=tty0 console=ttyS0,115200" \ --console pty,target_type=serial \ --disk path=/home/zxl/tools/kvm-vm/debian.qcow2,size=20 --network=default
标签:console,--,虚拟机,kvm,iso,install,debian12,debian From: https://www.cnblogs.com/zhaohuaxishi/p/18199351