ubuntu arm64 cloud 发行版 仿真


4.cloud(其中包括arm arm64)//参考 https://ubuntu.com/download/cloud
	镜像位置 : https://cloud-images.ubuntu.com/
	镜像1文件名称:https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-armhf-disk1.img
	https://gist.github.com/tuxmartin/04d85009a3aaa968c3430678096e3ac6
	
	镜像2文件名称:https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img 
	https://blog.csdn.net/gong0791/article/details/86367187
————————————————
版权声明:本文为CSDN博主「__pop_」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u011011827/article/details/120590502
以 
	镜像2文件名称:https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img 
	https://blog.csdn.net/gong0791/article/details/86367187
为基础,制作本文
qemu-system-aarch64 \
    -M virt \
    -cpu cortex-a57 -nographic -smp 1 -m 1024M \
    -bios QEMU_EFI.fd \
    -drive if=none,file=xenial-server-cloudimg-arm64-uefi1.img,format=qcow2,id=hd0 -device virtio-blk-device,drive=hd0 \
    -netdev user,id=hostnet0,hostfwd=tcp::2222-:22 -device virtio-net-device,netdev=hostnet0

// 会 打印 "error:no such device: root" , 并循环打印 16.04

// 解决方案 : https://www.pianshen.com/article/3445803119/

grub> ls
(hd0) (hd1) (hd1,gpt15) (hd1,gpt1)

grub> set root=(hd1,gpt1)
grub> linux /boot/vmlinuz-4.4.0-210-generic root=/dev/vda1
grub> initrd /boot/initrd.img-4.4.0-210-generic
grub> boot


启动到 cloud-init

おすすめ

転載: blog.csdn.net/u011011827/article/details/120601147