os learning and tests VSL=very simple linux build with Busybox w_initramfs = linux with initramfs boot wo_initramfs = linux without initramfs boot
-
compile kernel (make defconfig)
-
compile busybox (static)
-
create initramfs: copy all busybox files from _install to initramfs
-
create the init script in initramfs folder
-
then find . |cpio -o -H newc > initram
-
w/o initramfs: create a new file dd if=/dev/zero of=boot.dsk, mkfs.ext4 boot.dsk, sudo mount boot.dsk m/, sudo extlinux --install m/, sudo cp [all busybox files and init script] to m/, create a folder boot and copy kernel, sudo umount m
-
[optiomal] create a syslinux.cfg file for automatic booting