LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 05-26-2015, 03:04 PM   #1
mikenash
Member
 
Registered: Dec 2014
Posts: 84

Rep: Reputation: Disabled
Single-user mode - Suse 12 Enterprise Server


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.
 
Old 05-26-2015, 06:23 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Speak to SuSE - there doesn't seem to be a whole lot of doco on the z implementation of grub.
 
Old 05-27-2015, 10:58 AM   #3
mikenash
Member
 
Registered: Dec 2014
Posts: 84

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to setup Rsync server...single user mode or inet sigint-ninja Linux - Newbie 3 10-22-2013 08:34 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
unique problem in resetting root password in suse linux in single user mode & rescue amit_kalipur Linux - Security 1 07-14-2009 01:41 PM
configure the server to boot to single user mode hongnguyen70 Linux - Newbie 11 02-27-2008 03:41 AM
How do you get into single user mode on SuSE 9.0? Thaidog Linux - Newbie 3 09-04-2004 07:29 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration