LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-11-2009, 02:48 AM   #1
crusader7
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Rep: Reputation: 16
Safe mode, it that the same as run level 1 ?


Hello,

If there is a problem in windows you can run in safe mode. From what I understand, safe-mode basically disables a bunch of features making it easier to find the cause of a problem.

Does running in single user mode do the same thing?
If it does, shouldn't I setup safe mode in lilo?
 
Old 07-11-2009, 03:01 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by crusader7 View Post
Does running in single user mode do the same thing?
No, you can not equate the two as the operating systems are totally different.

Quote:
If it does, shouldn't I setup safe mode in lilo?
No, if you ever really need single user mode you can start it by adding "single" to the lilo command after your kernel image name.

Also single user mode does not require you to restart the machine as you can "drop down" to single user mode at any time with "telinit 1"

And single user mode is not used for diagnosing system faults as is Windows "Safe Mode", but rather as a method to stop users and daemons from modifying files while the sysadmin applies system updates.
 
Old 07-11-2009, 09:17 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,401
Blog Entries: 3

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
Hi,
Quote:
Originally Posted by crusader7 View Post
Hello,

If there is a problem in windows you can run in safe mode. From what I understand, safe-mode basically disables a bunch of features making it easier to find the cause of a problem.

Does running in single user mode do the same thing?
If it does, shouldn't I setup safe mode in lilo?
There are times/situations when you might need to boot your OS into the 'single' mode. You can't always 'telinit 1' when a problem occurs that causes unstable operations. Or when booting you experience conditions that will not allow switching. The boot option for 'single' will allow you to enter into a state that will provide the means to perform maintenance safely.

By placing this in your bootloader then the means to boot single is contained therefore providing 1 key entry to boot single. But you could always just pass the 'single' kernel parameter via the boot line.
 
Old 07-11-2009, 11:53 PM   #4
crusader7
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Original Poster
Rep: Reputation: 16
Would this be correct?

Quote:
image = /boot/vmlinuz
root = /dev/hdc1
label = Slack
read-only

image = /boot/vmlinuz
boot:single
root = /dev/hdc1
label = Slack1
read-only
 
Old 07-12-2009, 12:55 AM   #5
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Quote:
Originally Posted by crusader7 View Post
Would this be correct?
The correct syntax would be:

Code:
image = /boot/vmlinuz
root = /dev/hdc1
label = Slack
read-only

image = /boot/vmlinuz
append = " single"
root = /dev/hdc1
label = Slack1
read-only
 
Old 07-13-2009, 02:36 PM   #6
crusader7
LQ Newbie
 
Registered: Dec 2008
Posts: 25

Original Poster
Rep: Reputation: 16
Thank you so much.
I have broken my system several times and had trouble getting it to reboot. I think this will help to fix things.
 
Old 07-13-2009, 03:29 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,401
Blog Entries: 3

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
Hi,

Glad to hear things are joy.

You can tag the thread as solved with the thread tools by checking solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 07:33 PM
how to change test sizze or character size in run level 3 in text mode? betrussell23 Linux - Newbie 1 10-13-2006 05:23 AM
SUSE unable show graphics mode run level and screen resolution is not supporting vineethshyam Suse/Novell 2 09-24-2006 11:04 PM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 04:31 AM
how to run redhat9.0 linux safe mode? eye Red Hat 1 09-02-2003 10:52 AM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration