LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2003, 10:21 AM   #1
atesz
LQ Newbie
 
Registered: Apr 2003
Posts: 9

Rep: Reputation: 0
Unhappy my / become read-only


Hi there,

Since yesterday my laptop cannot be started. There is a lot of message about that the / is read-only and cannot be written.

I have found some others on the net who had the same or similar problem, but no solutions were found. (Having a new install is not a solution I think ).

SuSE 8.2 with Reiserfs worked fine me for some month, so if you have any idea it was a great deal for me to try it out.
(Grub manages the boot and there is a Win98 on another partition too).

Thanx
 
Old 10-16-2003, 04:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
This may happen when there were serious errors and the filesystem needs to be fixed. You need to boot from a rescue floppy (cdrom) and run fsck on the partition you've got problems with. Before this, run teh following command (it'll check the partition)
reiserfsck /dev/hdaX
Where /dev/hdaX is the partition you've got problems with (if there's WIndows C:, linux / and swap, your / is probably /dev/hda5).
 
Old 10-17-2003, 12:48 AM   #3
atesz
LQ Newbie
 
Registered: Apr 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Yes that is what I also think about this ... ,but:

I could start the machine in single mode. After login I could make the fs become rw (mount -o remount /). And it works (for that I hope there is no serious dataloss yet.).

If I make a /fastboot named empty file, the system can be started. I have found the idea in /etc/inid.d/boot.localfs script. But I do not really understand the concept of this ...

I also tried fsck in single mode. If the fs is in read-only, the check runs and no error is found. After making the fs r/w the fsck fails.
I've found reiserfsck in /sbin, which has some option, but I do not understand them yet.

Thanks for your advices.
 
Old 10-17-2003, 02:15 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
How does fsck fail in rw mode? Please copy the error messages.
 
Old 10-17-2003, 02:21 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you can't fsck a filesystem when it is mounted r/w so it is no surprise you get error messages trying to do that.
There might be something wrong with your sysinit script. It's probably something like
/etc/rc.d/rc.sysinit

(you can look at /etc/inittab to find out what the sysinit script is).

Those things are usually very well commented so you should be able to locate the point at which your / filesystem should get remounted r/w - basically after all the stuff about fscking. Maybe you can fix it (do make a backup of your init script first).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
mozzla problems-can not read files online, can not read attachments sarajevo Linux - Software 1 09-20-2005 06:58 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 07:14 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM
my dvd is read as hdd and my ide cd-rw is read as scsi??? spyghost Linux - Hardware 11 07-16-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 PM.

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