1 Star 1 Fork 0

flyinsky / LinuxKernel-src0.12

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

LinuxKernel-src0.12

build linuxkernel0.12 on ubuntu 18.04 & run linuxkernel0.12 on boch2.6

Note

As I study linux-kernel0.12 by following a pdf, so I want to run and debug it in my ubuntu1804 by using bochs.

I do some funny things based on the original codes.

How to build it

Deps

We should install make,gcc,gcc-multilib,bin86 firstly.

  • sudo apt install build-essential cmake make gcc-multilib g++-multilib module-assistant bin86

Let's do it

Build kernel image. The 'myfloppy.img' can loaded by bochs. The rootfs-dev is 0x301. The swap-dev is 0x304.

  • make disk

Clean last build

  • make clean

Result

result image

Repository Comments ( 0 )

Sign in to post a comment

About

Funny thing expand collapse
BSD-3-Clause
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/sky-X/LinuxKernel-src0.12.git
git@gitee.com:sky-X/LinuxKernel-src0.12.git
sky-X
LinuxKernel-src0.12
LinuxKernel-src0.12
main

Search