Brief Introduction to Linux kernel initialization process
Source: Internet
Author: User
Article Title: Brief introduction to the Linux kernel initialization process. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The entire bootstrap process is in four steps.
1: boot PROM phase
2: boot Programs phase
3: kernel initialization phase
4: init phase
System initialization, detects memory and cpu, checks devices and creates device trees, and sets the console
Kernel initialization process
Kernel self-initialization kernel self-check
Loading of kernel modules load the kernel module
Reading of the kernel configuration file in/etc/system read the kernel configuration file
Staring of the/sbin/init process run the/sbin/init process
Bootblk is the main boot program used to load the second boot program ufsboot.
Bootblk is loaded by the boot Sector of the boot device of the PROM.
The ufsboot program uses the kernel genunix and unix
Installboot is used to install bootblk on the disk partition.
Genunix is the platform-independent generic kernel file, while unix is the platform-specific kernel component.
The entire guiding process:
PROM from the boot sector of the boot device --> bookblk --> ufsboot --> genunix (a common Kernel File on an independent platform) and unix (a kernel file on a special platform) --> others
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.