redat00 / linuxscratch

Small example of how to build a Linux system from scratch, using Busybox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linuxscratch

! NOT MEANT FOR PRODUCTION, AT ALL !

Small repository containing my script where I'm trying to build a small Linux OS from scratch. For now the script is capable of building the kernel, and some other softwares such as nano, busybox, openssl.

This idea would be to get a really simple OS working, running with sysvinit, systemd, or openrc, depending on which one is the easiest to implement. Adding the openssh server is also a goal.

For those wondering, the root password is test.

Usage

make clean
make build
qemu-system-x86_64 -kernel bzImage -initrd initrd.img -nographic -append "console=ttyS0" -m size=512 --enable-kvm

About

Small example of how to build a Linux system from scratch, using Busybox

License:GNU General Public License v2.0


Languages

Language:Shell 98.3%Language:Makefile 1.7%