RHEL5 Boot Process for RHCE

Source: Internet
Author: User
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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.