安装对应的 模拟器

sudo apt-get install qemu-system

下载好后的 qemu 列表

启动的是

qemu-system-i386 或者 qemu-system-x86_64

这里我们可以软连接 为 qemu 从而实现启动

sudo ln -s /usr/bin/qemu-system-i386 /usr/bin/qemu

下载对应的 libc 项目源码

git clone [<https://github.com/chyyuu/ucore_os_lab.git>](<https://github.com/chyyuu/ucore_os_lab.git>)

https://github.com/kiukotsu/ucore

进入对应的 lab

利用 make 可以进行编译

gdb 利用 attach 进行链接调试

启动利用