LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-14-2007, 08:11 AM   #1
Shady_Creeper
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
help in single user mode - cannot write fstab


Greetings .

After messing up with the /etc/fstab file , i am only allowed to boot in single user mode.
But the problem is although i mounted the whole filesystem as read-write through mount -a (or better mount -aw ) the fstab file cannot be still writen. In fact no file can be written anymore.
I tried beforehand runninf fsck -p and the message was
"/dev/hdb1: recovering journal"
"/sbin/e2fsck: unable to set superblocks flags on /dev/hdb1"

Any ideas how to correct the problem ?
 
Old 02-14-2007, 08:47 AM   #2
Shady_Creeper
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Ok with "mount -o remount,rw /dev/hda2" i managed to write the fstab .

But what was that about the superblocks ?
 
Old 02-14-2007, 09:15 AM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
I don't think that the system could write to the superblock flags if the filesystem was mounted read-only (thus fsck would fail to write to them). Superblock flags hold a bit to tell the system if the filesystem was unmounted cleanly; there may also be other flags that I am not aware of.
 
  


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
Single user or multi-user mode? hyphae Slackware 3 01-26-2007 10:52 AM
booting in single-user mode with write and execute? surfbass Linux - General 2 12-09-2005 01:39 PM
single user mode... navaladi Mandriva 2 12-26-2004 02:41 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration