1st sector of bootable disk. /dev/hda
or /dev/sda
GRUB or Windows boot loader. Or custom bootloaders like Clover & Chameleon
Detects multiple kernel images, has knowledge of file-system
/boot/grub/grub.conf
. Also, /etc/grub.conf
points to same file.
Mounts root file system from grub.confg's root= value (hd0,0)
; executes /sbin/init
program, initrd
, init ram disk - temp file system until root file system is mounted.
Looks at /etc/inittab
to decide linux run level 0-6
init starts applications from /etc/rc.d/rc0.d
, rc0.d
, rc1.d
Run levels:
- halt
- single user moden, no deamons, only root login
- multi user mode without network interfaces, no daemons
- starts system normally
- undefined
- x11 => 3 + display manager(x) - used in GUI env
- reboot