LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-11-2007, 03:44 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Rep: Reputation: 31
Linux Single User Mode + Networking


Hi All
I need to fsck a remote system over the network. To do that I need to change run level into single user mode. However, I am not sure if single user mode keeps my remote connectivity alive.

I.e. In short, does the run level 1 sustain network connectivity or not ?
 
Old 08-11-2007, 05:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
nope, it's only for local maintenance, and nothing else. according to sysV conventions levels 1 and 2 do not support networking, but level 2 is an arbitrary distintcion, whilst 1's restrictions are much more strucuturual due to the minimal environment. you could look at a serial connection for remote access in that mode, or i would expect that you could in theory run a script to drop level, fsck and come back again. i don't believe login sessions are terminated, but i've not done anythign like that for a while... if it was a single command... "$ init 1; fsck /dev/hda1; init 3" you might get more luck.
 
Old 08-11-2007, 08:48 AM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 668
Blog Entries: 7

Original Poster
Rep: Reputation: 31
Thanks that is what I wanted to know
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing Linux from booting in Single User Mode LinuxSeeker Linux - Security 8 08-28-2009 07:12 AM
Linux Single user mode fw12 Fedora 3 03-30-2007 02:39 PM
linux single user mode and lilo installed failed ckamheng Slackware 1 11-27-2003 01:06 PM
single user mode ? wr3ck3d Slackware 5 03-29-2003 09:52 AM
What is single-user mode?? rbanonuevo Linux - Newbie 4 01-28-2002 12:17 PM


All times are GMT -5. The time now is 06:39 AM.

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