1.安装完qemu,将所有配置依赖文件和镜像包放在同一个目录
本文qemu安装路径:E:\qume\qemu
本文路径:E:\qume\conf
包含:
镜像文件:Kylin-Desktop-V10-SP1-General-Release-2303-ARM64.iso
依赖文件:QEMU_EFI.fd
2.创建操作系统磁盘文件
qemu-img create -f qcow2 E:\qume\conf\kylindisk.qcow2 70G
3.安装麒麟arm64操作系统
E:\qume\qemu\qemu-system-aarch64.exe -m 8192 -cpu cortex-a76 -smp 8,sockets=4,cores=2 -M virt -bios E:\qume\conf\QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=E:\qume\conf\kylindisk.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=E:\qume\conf\Kylin-Desktop-V10-SP1-General-Release-2303-ARM64.iso,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom
4.设置启动脚本,E:\qume\conf目录下创建start.bat文件
E:\qume\qemu\qemu-system-aarch64.exe -m 8192 -cpu cortex-a76 -smp 8,sockets=4,cores=2 -M virt -bios E:\qume\conf\QEMU_EFI.fd -device VGA -device nec-usb-xhci -device usb-mouse -device usb-kbd -drive if=none,file=E:\qume\conf\kylindisk.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=,id=cdrom,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom
##最后windows使用qemu安装arm操作系统,时间比较长,请耐心等待。
##涉及到的资源依赖文件除镜像外本文都有。
win10使用qemu安装麒麟arm64操作系统
于 2024-08-26 10:00:05 首次发布