# Single-user mode SLES12

**URL:** <https://forums.suse.com/t/single-user-mode-sles12/27068>\
**Category:** SLES Install-Boot\
**Created:** [May 26, 2015, 6:55pm UTC](https://forums.suse.com/t/single-user-mode-sles12/27068 "2015-05-26T18:55:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [May 26, 2015, 6:55pm UTC](https://forums.suse.com/t/single-user-mode-sles12/27068/1 "2015-05-26T18:55:01Z")

</div>

How do you boot/reboot in single user mode on SLES12?

---

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [May 26, 2015, 11:06pm UTC](https://forums.suse.com/t/single-user-mode-sles12/27068/2 "2015-05-26T23:06:04Z")

</div>

How to you boot/reboot in single user mode on Suse 12 Enterprise Server. On the 3270 console I am at the SLES12 advanced options screen.

```
                     GNU GRUB version 2.02~beta2 Use the ^ and v keys to select which entry is highlighted. Press     
   enter to boot the selected OS, `e' to edit the commands before      
   booting or `c' for a command-line. ESC to return previous menu.                                                           

```

\*(3) SLES12, with Linux 3.12.39-47- default  
(4) SLES12, with Linux 3.12.39-47-default (recovery mode)  
(5) SLES12, with Linux 3.12.28-4-default  
(6) SLES12, with Linux 3.12.28-4-default (recovery mode)

I enter ^N to select the next option.  
(3) SLES12, with Linux 3.12.39-47-default  
\*(4) SLES12, with Linux 3.12.39-47-default (recovery mode)  
(5) SLES12, with Linux 3.12.28-4-default  
(6) SLES12, with Linux 3.12.28-4-default (recovery mode)  
The system does not come up in single-user mode. It seems to take the default mode and ignore the recovery mode.  
There is an edit mode but not sure how to edit. There is also a command mode but I am not sure what the proper command and syntax would be.

---

<div class="post-metadata">

**Author:** ![mikenash](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mikenash](https://forums.suse.com/u/mikenash)\
**Post date:** [May 27, 2015, 7:03pm UTC](https://forums.suse.com/t/single-user-mode-sles12/27068/3 "2015-05-27T19:03:11Z")

</div>

Well, this was not easy to figure out. Hard to edit on a 3270 console. I needed to issue a lot of key combinations to perform he edit. I entered ‘e’ to get intp edit mode on the selected entry. Then I enter ^N a few times to move down to the line I needed to edit. This was the line that started with ‘linux’. I entered ^E to move to the end of the line and the I entered ^O to open the line. I added the word ‘single’ not enclosed with the '. Finally entered ^x to boot. I was able to get into maintenance mode. Another method was to edit the /etc/default/grub file and add ‘single’ to the parameters: GRUB\_CMDLINE\_LINUX\_RECOVERY=“hvc\_iucv=8 TERM=dumb noresume x11failsafe crashkernel=204M-:102M single”. With this method you need to update the kernel with the command:grub2-mkconfig -o /boot/grub2/grub.cfg.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 28, 2015, 7:11am UTC](https://forums.suse.com/t/single-user-mode-sles12/27068/4 "2015-05-28T07:11:04Z")

</div>

Hi  
If the system is up (either multi-user or graphical), just run the following for single user mode;

```auto
systemctl rescue
```
