Next, select your Kernel version from the grub menu item and press
e
key to edit the first boot option. Now use the Down arrow key to find the kernel line (starts with “linux16“), then change the argument ro
to rw init=/sysroot/bin/sh
as shown in the screenshot below.Once you have finished the task in the previous step, press
Ctrl-X
or F10
to boot into single user mode (access an emergency shell).Now mount root (/)
filesystem using the following command.
# chroot /sysroot/
At this point, you can perform all the necessary low-level system maintenance tasks. Once you are done, reboot the system using this command.
# reboot -f