-   Linux - Hardware (
-   -   Error in Hard Disk (

ajkannan83 10-23-2007 02:02 AM

Error in Hard Disk
Dear Friends

I am using Fedora core 5.

When I am boot the system, the system displays the message "Buffer I/O error on device Sda2, logical block 0".

How to rectify this error. I have no backup.

Please reply. Its very urgent.

Thank You

zulfilee 10-23-2007 04:07 AM

Check if its really a hard disk error or a file system error.

Do a 'fsck' to check if the error is just a file system error.
And then use 'badblocks' command to see if there are any bad blocks in the system.
[If there are bad blocks, then u`ll have to think about replacing the hard disk].
Doing the above two in single user mode should be the best way.

ajkannan83 10-24-2007 02:14 AM


Its a file system error.

But I cannot entered the linux prompt.

How to fix the problem

Please reply.

zulfilee 10-24-2007 02:19 AM

Use the Fedore 5 boot cd ..
In boot prompt type 'linux rescue' and enter rescue mode.

In rescue mode run fsck partionname [ex: fscl /dev/sda1 ] for all partitions and fix the issue.

To get list of partitions use 'fdisk -l'

All times are GMT -5. The time now is 01:34 AM.