Home > Articles

Managing and Understanding the Boot Procedure

In this sample chapter from Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition, you will learn about Systemd targets and how the boot procedure on Red Hat Enterprise Linux is organized.

This chapter is from the book

The following topics are covered in this chapter:

  • Managing Systemd Targets

  • Working with GRUB 2

The following RHCSA exam objectives are covered in this chapter:

  • Configure systems to boot into a specific target automatically

  • Modify the system bootloader

In this chapter, you learn how the boot procedure on Red Hat Enterprise Linux is organized. In the first part of this chapter, you learn about Systemd targets and how you can use them to boot your Linux system into a specific state. The second part of this chapter discusses GRUB2 and how to apply changes to the GRUB 2 boot loader. Troubleshooting is not a topic in this chapter; it is covered in Chapter 18, “Essential Troubleshooting Skills.”

“Do I Know This Already?” Quiz

The “Do I Know This Already?” quiz allows you to assess whether you should read this entire chapter thoroughly or jump to the “Exam Preparation Tasks” section. If you are in doubt about your answers to these questions or your own assessment of your knowledge of the topics, read the entire chapter. Table 17-1 lists the major headings in this chapter and their corresponding “Do I Know This Already?” quiz questions. You can find the answers in Appendix A, “Answers to the ‘Do I Know This Already?’ Quizzes and ‘Review Questions.’”

Table 17-1 “Do I Know This Already?” Section-to-Question Mapping

Foundation Topics Section

Questions

Working with Systemd

1–7

Working with GRUB 2

8–10

  1. Which of the following is the most efficient way to define a system want?

    1. Use the systemctl enable command.

    2. Define the want in the unit file [Service] section.

    3. Create a symbolic link in the /usr/lib/system/system directory.

    4. Create a symbolic link in the unit wants directory in the /etc/system/system directory.

  2. Which target is considered the normal target for servers to start in?

    1. graphical.target

    2. server.target

    3. multi-user.target

    4. default.target

  3. Which of the following is not an example of a system target?

    1. rescue.target

    2. restart.target

    3. multi-user.target

    4. graphical.target

  4. Where do you define which target a unit should be started in if it is enabled?

    1. The target unit file

    2. The wants directory

    3. The systemctl.conf file

    4. The [Install] section in the unit file

  5. To allow targets to be isolated, you need a specific statement in the target unit file. Which of the following describes that statement?

    1. AllowIsolate

    2. Isolate

    3. SetIsolate

    4. Isolated

  6. An administrator wants to change the current multi-user.target to the rescue.target. Which of the following should she do?

    1. Use systemctl isolate rescue.target

    2. Use systemctl start rescue.target

    3. Restart the system, and from the GRUB boot prompt specify that rescue.target should be started

    4. Use systemctl enable rescue.target --now

  7. To which System V runlevel does multi-user.target correspond?

    1. 2

    2. 3

    3. 4

    4. 5

  8. What is the name of the file where you should apply changes to the GRUB 2 configuration?

    1. /boot/grub/menu.lst

    2. /boot/grub2/grub.cfg

    3. /etc/sysconfig/grub

    4. /etc/default/grub

  9. After applying changes to the GRUB 2 configuration, you need to write those changes. Which of the following commands will do that for you?

    1. grub2 -o /boot/grub/grub.cfg

    2. grub2-mkconfig > /boot/grub2/grub.cfg

    3. grub2 > /boot/grub2/grub.cfg

    4. grub2-install > /boot/grub2/grub.cfg

  10. What is the name of the GRUB2 configuration file that is generated on a UEFI system?

    1. /boot/efi/redhat/grub.cfg

    2. /boot/efi/EFI/redhat/grub.cfg

    3. /boot/EFI/grub.cfg

    4. /boot/EFI/efi/grub.cfg

Foundation Topics

sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |