LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-02-2004, 04:14 PM   #1
djoverho
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
read-only file system


Anyone ever had "Read-only File system" come up? We have this on one of our machines and cannot seem to get it out of read only...so we are unable to do any edits, restarts, etc...is there some sort of command that will overwrite this setting? Thanks in advance.
 
Old 05-02-2004, 04:45 PM   #2
alveric
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Rep: Reputation: 0
The only way to change this is to remount the partition, forcing "rw" option. What does your fstab say about that partition ?
 
Old 05-02-2004, 04:46 PM   #3
FloFri
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Rep: Reputation: 0
Try the following as root:

mount -o remount,rw /

then you should be able to write and so you can change /etc/fstab to let linux mout it read-write next time.
 
Old 05-02-2004, 04:47 PM   #4
djoverho
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
This is what it has:

LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

What command should I run? Thanks
 
Old 05-02-2004, 04:48 PM   #5
djoverho
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
this is what I get:

[/]# mount -o remount,rw /
mount: block device /dev/hda2 is write-protected, mounting read-only
 
Old 05-04-2004, 07:37 PM   #6
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
It's not a jumper on your hard drive is it? And you aren't using a foreign FS right?
 
Old 05-24-2004, 04:54 AM   #7
znake
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Same problem

I have just the same problem. I can't even make any directories. I always get that read-only file system - error.


This problem appeared when i configured samba to network my windows and linux computers. Might that be some sort of reason why i get error like that?

I have also thought if i my hard disk is broken. I had some sort of problems with one part of my hard disk when i had XP, but now i havent got any problems before this appeared.


Thanx for help, i really need it
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
File system becomes read-only jkpchang Linux - Newbie 1 12-08-2004 08:23 AM
read-only file system znake Linux - General 3 05-24-2004 09:05 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM
read-only file system shimonim Linux - General 3 03-05-2001 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:08 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
Open Source Consulting | Domain Registration