【发布时间】:2022-01-22 18:12:28
【问题描述】:
我一直在尝试使用以下命令安装 xv6:
sudo apt-get install qemu
sudo apt-get install libc6-dev-i386
tar xzvf xv6-rev11.tar.gz
cd xv6-public
make
make qemu
运行make qemu 命令时出现以下错误
qemu-system-i386 -serial mon:stdio -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp 2 -m 512
make: qemu-system-i386: Command not found
make: *** [Makefile:225: qemu] Error 127
根据各个地方的建议,在执行 make qemu 之前,我在 makefile 中取消了第 54 行 QEMU = qemu-system-i386 的注释
请帮我修复错误。在此先感谢...
【问题讨论】:
标签: operating-system ubuntu-20.04 xv6