Unlike FreeBSD, which lets you boot into single user mode from a startup menu, getting into Single User Mode in CentOS is a little more complicated. Here's how:
bash# reboot
e
kernel
) and press e
again.<0/LogVol00
Enter <space> single
after that, so you've got:
<0/LogVol00 single
That tells CentOS to boot at run-level 1 in single user mode. You can also type emergency
instead of single
, which does the same thing but doesn't start any of your init scripts.
b
to boot.More info on single user mode and rescue mode is available from the CentOS docs.