I have this in my linux machine


how from this I start the linux machine as single user mode?

in order to update some file after boot

1 Answer 1


For RHEL < 7, quoting RHEL docs:

At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu.

  • Select Red Hat Enterprise Linux with the version of the kernel that you wish to boot and type a to append the line.
  • Go to the end of the line and type single as a separate word (press the Spacebar and then type single). Press Enter to exit edit mode.

For RHEL >= 7 Source:

Scroll down until you find the actual kernel line. It starts with linux16 /vmlinuz-... and will span a couple of lines. You're now looking for the ro keyword in the kernel linux, which would start the OS with a read only (ro) file system, replace ro with rw init=/sysroot/bin/bash.

Then hit CTRL+X to boot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .