sudo qemu-system-arm -M virt -cpu cortex-a57 -m 1024 -drive format=qcow2file=arch_armqcow2 -append root=devsda2 rw -kernel archlinuxarm-xxxx-xx-xximg其中为什么要写root=devsda2?
在这个命令中,root=/dev/sda2是用来指定内核启动时的根文件系统的位置。/dev/sda2表示第一个磁盘的第二个分区。这个参数告诉内核去哪里找到根文件系统以进行挂载。
原文地址: https://www.cveoy.top/t/topic/imHG 著作权归作者所有。请勿转载和采集!