Booting and shutting down

Issues with Booting

Booting PCs (more options)

LILO/GRUB: Booting Linux

Multibooting PCs

Booting in single-user mode

Rebooting and Shutting Down

shutdown
halt and reboot
Send init a TERM signal
telinit

Startup Script locations

/etc/inittab (tells init where scripts are)
/etc/init.d (script directory)
/etc/rc2.d (link to script directory)

Steps in the boot process

ROM

Load and initialize kernel

Device detection

System processes (init is process 1)

Single user mode (manual boot only)

Startup scripts

Multi-user logins

System Runlevels

Level 0 – shutdown
Level 1 or S – single-user mode
Level 2 thru 5 – multi-user mode
Level 6 – reboot

Types of Startup

Automatic

Manual (single-user mode)