Create a minimal linux with just busybox and kernel
Описание
#LFS#linux#busybox#minimal
This introduces how actually a linux works. Linux has always been only the kernel. Everything else comes as utilities.
Another video with iso creation has beed made at :
https://youtu.be/ztCXAVsKFUw
The linux kernel without any parameter only expects a CPIO archive with init file which it should execute. Now the init script can do anything.Do a filesystem repair or create a backup. But usually it is used to setup the root and provide a TTY so the user can do their own stuff. The kernel doesnt even require /dev /sys /proc. These are required by the utilities.
Here the init mounts the sys proc and dev. Than it uses sysctl to mute kernel event logs spawning TTY. Lastly we execute 'exec /bin/sh' to enter the terminal.
NOTE: Compiling the kernel is necessary as the kernels come with distributions comes with some features disabled. Making it improper for a minimal linux.
Рекомендуемые видео



















