LinuxQuestions.org
Visit Jeremy's Blog.
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 02-13-2006, 05:21 PM   #1
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Rep: Reputation: 30
Input/output errors at start-up


I was told that this error could indicate some bad blocks. Since I can't safely run e2fsck on a mounted file system, how can I?
 
Old 02-13-2006, 05:44 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Do you have a boot/rescue cd? You can use it to boot and then run e2fsck. It's usually the safest way. Also, you can unmount a filesystem (if it's not your / or another important one), check it, then mount again.
 
Old 02-13-2006, 06:15 PM   #3
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
input/output errors

I tried sudo umount /boot; and got device is busy(The same error for /home)
From Your suggestion (I could use Sarge (Disk #1) or Knoppix?
With Knoppix, when it first starts, everything is unmounted. Would I then open an Xterm, and do e2fsck -c?
 
Old 02-13-2006, 08:52 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
That's about it. Another way, which I usually use, is to boot into signle user mode, and do "mount -o remount,ro /" to remount the root partition readonly (unmounting everything else). You can then run fsck and badblocks safely.
 
  


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
KNOPPIX 4.02 Input/Output Errors nomind Linux - Newbie 2 11-03-2005 10:17 PM
Input/Output errors on files Poetics Slackware 4 08-25-2003 05:57 PM
Input/Output errors on Mandrake 9.1 exalik Linux - Distributions 2 08-18-2003 04:20 PM
overcoming input/output errors heiseltc Linux - General 0 02-26-2003 12:29 PM
CHMOD and Input/Output errors lachlan Linux - General 3 12-30-2002 04:11 AM


All times are GMT -5. The time now is 04:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration