Boot CentOS into Single User Mode

Booting CentOS in Single User Mode

When you have an issue where CentOS will no longer boot, you have to be able to get into the operating system to resolve the problem.  I have had to boot into single user mode to resolve issues with file system mounting, or edit network settings when there is a problem with eth0 settings.  All of these situations are easy enough to resolve if you can just get into the operating system to fix the problems.  In these cases, booting into single user mode has allowed me the chance to resolve the problem.

So, let’s get started…

Step 1 – Boot CentOS into Single User Mode – Hit Any Key

Boot CentOS in Single User Mode - Press Any Key to Edit Boot Options

Boot CentOS in Single User Mode – Press Any Key to Edit Boot Options

Power up the machine and when you see this screen, hit the space bar or any other key before the timeout.

 

Step 2 – Boot CentOS into Single User Mode – Choose Boot Kernel

Boot CentOS in Single User Mode - Select Kernel

Boot CentOS in Single User Mode – Select Kernel

 

Next up, we will be given the list of kernels that we can boot from.  Choose the one that you typically boot to.  Typically, it is the latest one.  We use our up and down arrows to get to the proper kernel and then hit the “e” key to signify that we wish to edit it.

 


 

Step 3 – Boot CentOS into Single User Mode – Edit Boot Options

Boot CentOS in Single User Mode - Edit Kernel Boot Options

Boot CentOS in Single User Mode – Edit Kernel Boot Options

 

Now, we are editing the kernel’s boot options.  Choose the line that begins with “kernel” as shown in the image to the right.  Then hit the “e” key again.

 

 

 

Step 4 – Boot CentOS into Single User Mode – Add Single User Mode Option

Boot CentOS in Single User Mode - Add "Single" to the Kernel Boot Options

Boot CentOS in Single User Mode – Add “Single” to the Kernel Boot Options

Type the word “single” at the end of the options.  Then hit the “Enter” key.

 

 

It will now boot your CentOS operating system into single user mode and you can resolve whatever issues you have that caused you to need to boot CentOS into single user mode in the first place.

 

 

The following two tabs change content below.
Jeff has 20 years of professional IT experience, having done nearly everything in his roles of IT consultant, Systems Integrator, Systems Engineer, CNOC Engineer, Systems Administrator, Network Systems Administrator, and IT Director. If there is one thing he knows for sure, it is that there is always a simple answer to every IT problem and that downtime begins with complexity. Seasoned IT professional by day, Jeff hopes to help other IT professionals by blogging about his experiences at night on his blog: http://uptimemadeeasy.com. You can find Jeff on or LinkedIn at: LinkedIn or Twitter at: Twitter

Latest posts by Jeff Staten (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *