CompTIA Linux+ (XK0-005) — Question 69
A Linux system is failing to start due to issues with several critical system processes. Which of the following options can be used to boot the system into the single user mode? (Choose two.)
Answer options
- A. Execute the following command from the GRUB rescue shell: mount -o remount, ro/sysroot.
- B. Interrupt the boot process in the GRUB menu and add systemd.unit=single in the kernel line.
- C. Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.
- D. Interrupt the boot process in the GRUB menu and add single=user in the kernel line.
- E. Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.
- F. Interrupt the boot process in the GRUB menu and add systemd.unit=single.target in the kernel line.
Correct answer: B, C
Explanation
The correct options are B and C, as they both allow the system to boot into single user mode by modifying the kernel parameters at boot time. Options A, D, E, and F do not correctly configure the kernel for entering single user mode or are not valid methods for achieving that goal.