GithubHelp home page GithubHelp logo

viktree / simple-x86-kernel Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 9 KB

Following Guidelines from : http://arjunsreedharan.org/post/82710718100/kernel-101-lets-write-a-kernel

Makefile 3.23% Assembly 27.48% C 69.29%

simple-x86-kernel's Introduction

Following guidelines from this guide to make a simple kernel

Setup Instructions

  1. Clone the repository git clone https://github.com/Viktree/Simple-Linux-Kernel.git
  2. Enter into the repsitory cd Simple-Linux-Kernel
  3. Create the kernal with make
  4. Copy the kernel to the boot directory: mv kernel /boot/kernel-01. Note that this renames the kernel program to kernel-01
  5. Change the permissions so that we can edit the grub. chmod u+xw /boot/grub/grub.cfg.
  6. Add the following section to the grub configuration. The grub configuration can be edited by running sudo vim /boot/grub/grub.cfg. Add the following lines to the grub:
menuentry 'kernel 01' {
	set root='hd0,msdos1'
	multiboot /boot/kernel-01 ro
}

simple-x86-kernel's People

Contributors

viktree avatar

Watchers

 avatar

Forkers

tearitco

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.