>> When all else fails, try to use "/stand/sysinstall" as "init" process.
> В линухе гибче - название софтины которую надо запустить передается командлайном ядра.
> Можно положить где угодно, а не в какой-то фиксированной локации. А
> так то в init тоже можно записать что угодно, ядру не
> больно какая разница.# man loader
NAME
loader -- kernel bootstrapping final stage
...
init_chroot
If set to a valid directory in the root file system, it causes
init(8) to perform a chroot(2) operation on that directory,
making it the new root directory. That happens before entering
single-user mode or multi-user mode (but after executing the
init_script if enabled).
init_path
Sets the list of binaries which the kernel will try to run as
the initial process. The first matching binary is used. The
default list is ``/sbin/init:/sbin/oinit:/sbin/init.bak:
/rescue/init:/stand/sysinstall''.
init_script
If set to a valid file name in the root file system, instructs
init(8) to run that script as the very first action, before
doing anything else. Signal handling and exit code interpreta-
tion is similar to running the /etc/rc script. In particular,
single-user operation is enforced if the script terminates with
a non-zero exit code, or if a SIGTERM is delivered to the
init(8) process (PID 1).
init_shell
Defines the shell binary to be used for executing the various
shell scripts. The default is ``/bin/sh''. It is used for
running the init_script if set, as well as for the /etc/rc and
/etc/rc.shutdown scripts. The value of the corresponding
kenv(2) variable is evaluated every time init(8) calls a shell
script, so it can be changed later on using the kenv(1) util-
ity. In particular, if a non-default shell is used for running
...
https://www.freebsd.org/cgi/man.cgi?query=loader%288...