From the course: Linux: Kernels and Logging for System Administration

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Booting into the emergency target

Booting into the emergency target - Linux Tutorial

From the course: Linux: Kernels and Logging for System Administration

Start my 1-month free trial

Booting into the emergency target

- [Narrator] To boot up a system that is not functioning properly, we can use a Systemd Emergency Target. In the Emergency Target, it doesn't try to mount the root file system. This would be the correct target if the root file system were having problems. Note that the emergency target still requires a password. To change temporarily into the Emergency Target, double click the CentOS 7-KSVM in the Virtual Machine Manager window and click the console button on the tool bar. Now click on the Power button to start it up. At the GRUB prompt, press any key to enter the GRUB menu. We could choose a different kernel entry here if we wanted to, using the up and down arrow keys. This gives us the ability to boot into an older kernel if an update didn't go well. Let's select the most recent kernel, which will be at the top. Then press the E key for edit. Go down to the line that includes vmlinuz. And then press the End key to go to the end of the line. Type in systemd.unit=emergency. The line…

Contents