HomeЛюди и блогиRelated VideosMore From: Server Gyan

Linux Boot Process (RHEL 7 Latest) From ServerGyan

41 ratings | 1235 views
Linux Boot Process (REHL 7) 1- The machine is powered on. The system firmware (BIOS --Basic Input/Output System or UEFI -- Unified Extensible Firmware Interface) runs POST, and starts to initialize some of the hardware. You can configure this using F2 on your system/ server. 2- The system firmware searches for a bootable device, either configured on BIOS or UEFI boot firmware or by searching master boot recored (MBR).This order is configured in BIOS. You can configure this using F2 screen for by pressing certain key combination. 3- The system firmware reads a boot loader from disk, then passes control of the system to boot loader. On REHL 7 this will be GRUB2 You can configure this using grub2-install 4- The boot loader loads configuration from disk and presents the user with possible configuration to boot. You can configure this using /boot/grub2/grub.cfg 5- Either user makes a choice or automatic timeout happens, the boot loader loads the configured KERNEL and INITRAMFS from disk and places then in memory. An INITRAMFS is a gzip-ed CPIO archive containing kernel modules for all hardware necessary at boot, init-scripts and more. ON RHEL 7, the INITRAMFS contains an entire usable system by itself. You can configure using: /etc/dracut.conf 6- The boot loader hands control of the system over to kernel, passing in any options specified on kernel command line in boot loader and the location of the INITRAMFS in memory. You can configure using: /etc/grub.d/ /etc/default/grub, and /boot/grub2/grub.cfg 7- Now the kernel initializes all hardware for which it can find a driver in the initramfs, then executes /sbin/init (as PID 1). On REHL 7 the initramfs contains a working copy of systemd as /sbin/init, as we all a udev daemon. Configure using init and command line parameters. 8- The systemd instance from the initramfs executes all unit of initrd.target target. This includes actual mounting on /sysroot configure using /etc/fstab 9- The kernel root file system is switched form initramfs root file system to system root file system that was previously mounted on /sysroot.systemd then re-executes itself using a copy of systemd installed on the system. 10- Systemd looks for a default target, either passed from the kernel command line or configured on the system, then starts (and stops) units to comply with the configuration for that target, solving dependencies between units automatically. In its essence, a systemd target is a set of units that should be activated to reach a desired system state. These targets will typically include at least a text-bases login or a graphical login screen with appear.
Html code for embedding videos on your blog
Text Comments (7)
Valentin Hristev (2 months ago)
BIOS and UEFI boot process is completely different. Don't refer to UEFI when you explain only BIOS boot.
Server Gyan (2 months ago)
Thanks dear, that was just reference
Charan K (5 months ago)
Singh ji ...plz continue tomcat videos ..u only did Installation part ..plz make video on how to administer it ..what about all configuration file ..what all their purpose ...real time issues with tomcat ...plz make it ..it vl help us in interview alot ..
Server Gyan (5 months ago)
Sure Sir, I will do that soon.
paramesh dsn (5 months ago)
Thanks, Loki Sir
Veeru Sharma (5 months ago)
Thanks Lokendra For this :)
Server Gyan (5 months ago)
Still more to come Veeru sir 🙂

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.