# linux_kernel_012_self **Repository Path**: dogemap/linux_kernel_012 ## Basic Information - **Project Name**: linux_kernel_012_self - **Description**: 手写linux0.12内核 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-19 - **Last Updated**: 2026-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # simplest boot step 1、下载bochs,编译内置debug版以及远程gdb-debug版本(两者不能同时生效) ``` git clone https://github.com/bochs-emu/Bochs.git ./configure --enable-debugger --enable-debugger-gui make clean make -j32 sudo make install mv $(which bochs) /usr/local/bin/bochs-debug ``` 编译gdb调试版本 ``` ./configure --enable-gdb-stub make clean make -j32 sudo make install mv $(which bochs) /usr/local/bin/bochs-gdb ``` 按以下步骤拉起bochs虚拟机,运行最新分支下操作系统代码 ``` make clean & make -j8 ./run.sh //默认使用debug模式 ``` 或者使用gdb模式,使用gdb模式时,bochsrc.bxrc需要放开gdb注释. ``` make clean & make -j8 ./run.sh gdb ```