LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 04:36 AM   #1
SifntSkitzo
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Debian input/output error


I recently recompiled and installed kernel 2.6.3 after adding some small features. I used make-kpkg kernel_image and then dpkg -i kernel-image.blah.deb, and when I rebooted, after it checked for CDs to boot from, instead of seeing lilo, I saw a lot of characters, not saying anything ... never a good thing..

I then proceded to put in my debian install CD, and boot with "recover root=/dev/hda6", which then booted me into the older 2.4 kernel which is on the CD. The next problem, was the lack of the /usr dir (which is on a seperate partition to /). I fixed this with "mount -n /dev/hda8 /usr".

I then recompiled the kernel which went smoothly (Except for a lot of "clock skew detected" warnings, nothing major.. I hope..). I then typed dpkg -i kernel-image.blah.deb, and was greeted with the following:

dpkg error: error processing kernel-image.blah.deb (--install):
unable to open files list file for package 'kernel-image-2.6.3': Input/output error

Earlier when Ii was trying to mount /usr, and typed "mount /dev/hda8 /usr", I got the error message:

mount: can't open /etc/mtab for writing: Input/output error

And, when I was using a linux bootdisk to try and fix lilo, I was given an input/output error with wmlinuz when running "lilo -v"..

I have a feeling that this is a physical hard drive problem, but I'm hoping I've just messed something.
I've been googling and talking to people on IRC all day, and haven't got it working.

Any help would be greatly appreciated.

Regards, Skitzo.
 
Old 10-21-2004, 07:34 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
> mount: can't open /etc/mtab for writing: Input/output error

It is probable that your root partition is mounted read-only. It can be remounted readwrite with command
Code:
mount -o remount -o rw /
 
Old 10-22-2004, 04:16 AM   #3
SifntSkitzo
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I found out the problem.. The partition was corrupt. I tried to fix it, but in the end, I just deleted the partition and reinstalled. Works now. I'm not sure what caused the partition corruption in the first place, but I hope it doesn't happen again.
 
  


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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 12:51 PM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 06:02 AM
Input/output error greenthing Linux - Software 4 04-28-2005 10:54 AM
input/output error c12ayon Linux - Newbie 2 12-27-2003 08:04 AM
cd input/output error jamaso Slackware 10 10-03-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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