Linux boot sequence:
1. Boot loader will load the kernel image into memory.
2. When the kernel is loaded and run, it initializes all kernel-specific structures and tasks and starts the init process.
3. Init process needs a configuration file located in /etc/inittab that specifies what actions need to be taken.
4. Init process then makes sure that all filesystems (defined in /etc/fstab) are mounted and ready to be used. Then it executes several scripts located in /etc/init.d.
5. Finally, when all scripts are executed, init activates the terminals attaching a special process called agetty to it.
1. Boot loader will load the kernel image into memory.
2. When the kernel is loaded and run, it initializes all kernel-specific structures and tasks and starts the init process.
3. Init process needs a configuration file located in /etc/inittab that specifies what actions need to be taken.
4. Init process then makes sure that all filesystems (defined in /etc/fstab) are mounted and ready to be used. Then it executes several scripts located in /etc/init.d.
5. Finally, when all scripts are executed, init activates the terminals attaching a special process called agetty to it.