I have this in my linux machine
grub>
how from this I start the linux machine as single user mode?
in order to update some file after boot
I have this in my linux machine
grub>
how from this I start the linux machine as single user mode?
in order to update some file after boot
For RHEL < 7, quoting RHEL docs:
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 thero
keyword in the kernel linux, which would start the OS with a read only (ro) file system, replacero
withrw init=/sysroot/bin/bash
.Then hit CTRL+X to boot.