66

Software

obarun.org

boot

Meant to be run as pid 1 as a stage1 init. Performs the necessary early system preparation and execs into scandir start.

Interface

boot [ -h ] [ -z ] [ -m ] [ -s skel ] [ -l log_user ] [ -e environment ] [ -d dev ] [ -b banner ]

This program performs some early preparations, spawns a process that will run the rc.init script and then execs into scandir start.

Exit codes

Command boot never exits. It spawns the rc.init script and execs into scandir start which runs forever until the machine stops or reboots.

Options

Early preparation

When booting a system, command boot performs the following operations:

In the unusual event that any of the above processes fail, command boot will try to launch a single-user login namely sulogin to provide the means to repair the system.

Skeleton files

Skeleton files are mandatory and must exist on your system to be able to boot and shutdown the machine properly. By default those files are installed at /etc/66. Use the --with-skeleton=DIR option at compile time to change it.

Kernel command line

Any valid key=value pair set at the init.conf skeleton file can be passed on the kernel command line as parameter:

BOOT_IMAGE=../vmlinuz-linux root=/dev/sda3 ro vga=895 initrd=../intel-ucode.img,../initramfs-linux.img TREE=boot VERBOSITY=4