/linuxscratch

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

Primary LanguageShellGNU General Public License v2.0GPL-2.0

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