Sortix 1.1dev nightly manual
This manual documents Sortix 1.1dev nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
|INIT(8)||System Manager's Manual||INIT(8)|
the system in a temporary environment with a root filesystem backed by system
memory and extracts the
initrd(7) into it.
The kernel runs the /sbin/init program of the
system memory root filesystem as the first process. If the system is on
bootable cdrom, then the initrd will be a fully functional system and
init will start a live environment or an
operating system installer. If the system is installed on a harddisk, then the
initrd is a minimal system made with
that will search for the actual root filesystem and chain init it. The next
stage init will recognize it as the intended system and complete the system
It is a full system compromise if unauthenticated users are able to boot the wrong target. The kernel command line can specify the path to init and its arguments. Unprivileged users can change the kernel command line from the bootloader command line if it hasn't been password protected. Likewise unprivileged users can use their own replacement bootloader by booting a portable device under their control if the firmware configuration has not been password protected. fstab(5)) and runs the next init program. This is used by update-initrd(8) to make a bootstrap initrd(7). Every block device and partition is scanned to determine if it is the root filesystem. It is checked for consistency if necessary. It is mounted at /tmp/fs.XXXXXX and the /dev filesystem directory is bound at /tmp/fs.XXXXXX/dev. Finally the /sbin/init program (or chain-init if specified) of the target root filesystem is run inside a chroot.fstab(5). kernel(7) on the next boot. The file is also written on system shutdown where the system has the most entropy. sysmerge(8) at /sysmerge/sbin/sysmerge with the --booting option. If the upgrade succeeds, the temporary init deinitializes the system and invokes the real (now upgraded) init which will restart system initialization in the normal fashion.
|init||[--target=init-target] [--] [chain-init ...]|
- mount real root filesystem and run its init.
- like chain but run /sysmerge/sbin/init with the merge target.
- finish a sysmerge(8) upgrade and then execute the real init with its default target.
- boot to login(8).
- boot to root shell without password (not secure).
- boot to operating system installer (not secure).
- boot to operating system upgrader (not secure).
- root's home directory
- init's process id
- root's shell
- initial kernel entropy
- default initialization target
- filesystem table (see fstab(5))
- hostname (see hostname(5))
- keyboard layout (see kblayout(5))
- graphics resolution (see videomode(5))
|October 5, 2015||Debian|