EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 84


SIMULATION -

Update the kernel from ftp://instructor.example.com/pub/updates.

According the following requirements:

The updated kernel must exist as default kernel after rebooting the system.

The original kernel still exists and is available in the system.

Show Answer
Correct Answer:

To update the kernel from ftp://instructor.example.com/pub/updates and ensure the updated kernel is set as the default after reboot while keeping the original kernel available, follow these steps: First, download and install the new kernel using the 'dnf' command: sudo dnf install ftp://instructor.example.com/pub/updates/kernel. Once the installation is complete, use the 'grubby' tool to set the newly installed kernel as the default: sudo grubby --set-default /boot/vmlinuz-<new_kernel_version>. The exact version of the new kernel can be checked with grubby --info=ALL. Finally, reboot the system for the changes to take effect.

Discussion

3 comments
Sign in to comment
PENNSHARK
Jan 12, 2024

yum install ftp://instructor.example.com/pub/updates grubby --info=ALL (check what index the kernel is on) uname -a (see our current kernel grubby --set-default-index (put what number the index of the updated kernel is on) reboot uname -a

gaven186
Jul 5, 2024

# grubby --info=ALL | grep ^kernel //doesn't tell us index number kernel="/boot/vmlinuz-4.18.0-305.10.2.el8_4.x86_64" kernel="/boot/vmlinuz-4.18.0-240.el8.x86_64" kernel="/boot/vmlinuz-0-rescue-41eb2e172d7244698abda79a51778f1b"

gaven186
Jul 5, 2024

index is shown without grep. 'index' is not the same line as kernel

dc5ac47
Jul 11, 2024

Does anyone have the exact exam questions for this

ly01
Jul 14, 2024

just install it via sudo dnf install command. The original kernel is preserved and the new one is set as boot default.