Last Updated: 21 Nov 2020
Getting into Single User Mode in CentOS 5
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:
- Reboot the system:
- When the system reboots, it will say 'Press any key to enter the boot menu….'. Press a key, and you'll get to GNU GRUB.
- Choose the kernel you want (probably the one that's listed on top), and press
- Scroll down to the partition that has your kernel on it (it should start with
kernel) and press
- It will now display something like:
<space> singleafter that, so you've got:
That tells CentOS to boot at run-level 1 in single user mode. You can also type
single, which does the same thing but doesn't start any of your init scripts.
- Hit return to get back to the screen that lists your kernel, and then hit
More info on single user mode and rescue mode is available from the CentOS docs.