LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-22-2002, 02:41 PM   #1
ricardocastro
LQ Newbie
 
Registered: Feb 2002
Location: Ensenada Mexico
Distribution: WinNt and RedHat
Posts: 7

Rep: Reputation: 0
Unhappy Edit a file in single-user mode




URGENT

Please!!, it's very important!!

I tried to made available the quota for the users; i'm using a Linux that it's has been installed by another people and i don't know exactly how he did configured the machine.
I thought : "why don't just copy the /etc/fstab file from another server to make available the quota?" because there's a line like this:
/dev/hda8 /home ext3 usrquota
in another account that i have like user (no root)

I made a reboot and ooppss!!!, says:

fsck invalid device /dev/hda8
try e2fsck -b 8193 device to fix the problem
Enter in single mode user
root's password :

but, when i'll trying to do
e2fsck -f -b 8193 /dev/hda8

The computer indicates that is not an available device!!!


I'm just only trying to edit the /etc/fstab and delete these line, but the system indicates that it's just a read-only.
I've tried with chmod +ugo rwx fstab and still indicates me that i cant because its a read only mode

What can i do???

Thank's

Ricardo
 
Old 02-22-2002, 02:55 PM   #2
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
When the boot process is interrupted with an error like this and you are dumped into single user mode, your root partition is mounted read-only. You should do this:

mount -n -o remount,rw /

This will remount root as read-write and you should be able to edit the fstab. After you finish, do a control-d to reboot.
 
Old 02-26-2002, 04:37 PM   #3
ricardocastro
LQ Newbie
 
Registered: Feb 2002
Location: Ensenada Mexico
Distribution: WinNt and RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
Thank's !!!!,
You save my life!!!
 
  


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 mode... navaladi Mandriva 2 12-26-2004 02:41 AM
single user mode using grub dogma Linux - Newbie 4 09-02-2004 02:49 PM
single user mode ? wr3ck3d Slackware 5 03-29-2003 09:52 AM
HELP!! Problem editing the shadow file in Single user mode natso Linux - Security 2 05-28-2002 03:22 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 01:55 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