Skip to content

pranjal-barnwal/linux-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Kernel

Self compiled Linux Kernel

  • Used BusyBox for Linux utilities and Qemu as a hypervisor
  • Total file size went to 68Mb

Linux Compiled: pranjal-barnwal | Pranjal Kumar, Hazaribag Jharkhand

Steps to run

  1. Clone the repo

    git clone [email protected]:pranjal-barnwal/linux-kernel.git
  2. Move to the linux-kernel directory

    cd linux-kernel
  3. Install QEMU, which will be used as Hypervisor for our kernel. You can download it from here

  4. Set up the path environment variable in your windows system. Add the below path:

    C:\Program Files\qemu
  5. Then we can simply boot up the image using

    qemu-system-x86_64 boot
  6. New window will be popped asking what to boot. Then we need to pass file path in that window:

    /bzImage -initrd=/init.cpio
  7. That's it, CLI interface will be loaded and we're good to go.


NOTE: All the linux commands will not be working, since all binaries for the commands are not present

Ciao!: pranjal-barnwal | Pranjal Kumar, Hazaribag Jharkhand

About

Self compiled Linux Kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages