System Information
Boot Steps
VyOS 1.2 uses Debian Jessie as the base Linux operating system. Jessie was the first version of Debian that uses systemd as the default init system.
These are the boot steps for VyOS 1.2
The BIOS loads Grub (or isolinux for the Live CD)
Grub then starts the Linux boot and loads the Linux Kernel
/boot/vmlinuzKernel Launches Systemd
/lib/systemd/systemdSystemd loads the VyOS service file
/lib/systemd/system/vyos-router.serviceThe service file launches the VyOS router init script
/usr/libexec/vyos/init/vyos-router- this is part of the vyatta-cfg Debian package
Initialises the boot configuration file - copies over
config.boot.defaultif there is no configurationRuns the configuration migration, if the configuration is for an older version of VyOS
Runs The pre-config script, if there is one
/config/scripts/vyos-preconfig-bootup.scriptIf the config file was upgraded, runs any post upgrade scripts
/config/scripts/post-upgrade.dStarts
rl-systemandfirewallMounts the
/bootpartitionThe boot configuration file is then applied by
/opt/vyatta/sbin/vyatta-boot-config-loader/opt/vyatta/etc/config/config.boot
The config loader script writes log entries to
/var/log/vyatta-config-loader.log
Runs
telinit qto tell the init system to reload/etc/inittabFinally it runs the post-config script
/config/scripts/vyos-postconfig-bootup.script