The following content is/boot/grub. conf content: default = 0 timeout = 5titleRedHatEnterprise5root (sda0, 0) kernel/vmlinuz-2.6.18-92.el5roroot = LABEL =/initrd/vmlinuz-2.6.18-92.el5.imgLinux System Boot Process: One: BIOS Detection: Two: Read boot program
The following content is in/boot/grub. conf:
Default = 0
Timeout = 5
Title Red Hat Enterprise 5
Root (sda0, 0)
Kernel/vmlinuz-2.6.18-92.el5 ro root = LABEL =/
Initrd/vmlinuz-2.6.18-92.el5.img
Linux boot process:
I. BIOS Detection:
Ii. Read the boot program ----/boot/grub. conf
The grub. conf file contains a behavior root (sd0, 0), which indicates reading the boot program from the first partition of the first disk.
Then the system will go to the location where the partition [(sd0, 0)] is mounted, and you need to read the/etc/fstab file ----- It is mounted under/
3. Load the kernel:
The next line of/boot/grub. conf is kernel/vmlinuz-2.6.18-92.el5 ro root = LABEL =/, indicating that the kernel is loaded in read-only mode from/partition.
4. Run the init program (parent process of all processes, process number 1)
The next line of/boot/grub. conf is initrd/vmlinuz-2.6.18-92.el5.img, indicating to load the init program from/vmlinuz-2.6.18-92.el5.img
5. Read the/etc/inittab file and you will see this line in the file [id: x: initdefault:]. It will call/etc/rc at the default Level 3. d/rcx. d/files,
6. Continue to call/etc/rc. d/sysinit (available in the/etc/inittab) to initialize the system. For example, quota and selinux are all loaded here.
7. Call the/etc/sysctl. conf file and set the kernel parameters.
8. Call the/etc/rc. d/rc. local file. This is a user-defined script.
9. Read the login waiting for user input