LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-25-2005, 09:02 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
Read-only File System?


I installed the php4-mysql module or w/e and then rebooted. After I rebooted I noticed nothing started/loaded. I could login, and instead of saying Suzzy: at the bash screen I received a (none): I then rebooted to see if I could catch the screen and I saw it said Input/output Error when trying to load the init.d stuff. I went into my /etc/init.d/ folder and tried to execute some commands like reboot. I typed ./reboot and received 'bash - ./reboot Input/output error' Then I tried ./reboot > blah.txt to output the error into a file or something. I received 'bash - ./reboot > blah.txt Read-only system. Is it mounting my harddrive as read-only cuasing nothing to load?
 
Old 01-25-2005, 09:09 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you could try remount it r/w:
mount -o rw /dev/hda1
(of course, you have to change the device name appropriately)

If it works, check /etc/fstab
 
Old 01-26-2005, 05:42 PM   #3
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Anybody?
 
Old 01-27-2005, 09:44 PM   #4
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Bump. Guys I really need help.
 
Old 01-28-2005, 10:40 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
did you try remounting the hard drive r/w as suggested above?
 
Old 01-28-2005, 11:26 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
try
Code:
mount -o rw,remount /dev/hdXN
with the appropriate device of course. If that fails, check dmesg... this looks like a potential sign of a future failure of drive.
 
Old 01-29-2005, 10:53 AM   #7
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Alright I do it and the command works, and I can make files now, but I still get an Input/Output error when I try to execute /etc/init.d/rc and /etc/init.d/rcS
 
Old 01-29-2005, 04:07 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Is dmesg showing anything unusual?
 
Old 01-30-2005, 12:24 PM   #9
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access wil be enabled during recovery
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-FS on hde1, internal journal
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver

That's that bottom portion of it.
 
Old 01-30-2005, 05:10 PM   #10
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Boot to a single-user runlevel or from a boot CD, and e*fsck the drive. You may need to check your IDE cables if errors keep recurring, or you might need to bump down the DMA level.

You might also be encountering some of the known flakiness in ext3 journaling, in which case you could either upgrade your kernel or you could simply mount the partition as ext2 (the better option is to upgrade the kernel if you're running a version with the known-bad journaling code)
 
  


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
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? jackassjim Linux - Newbie 5 07-19-2004 08:33 PM
Read-only file system taran Linux - Newbie 5 03-10-2004 09:29 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 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