LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error in Hard Disk (https://www.linuxquestions.org/questions/linux-hardware-18/error-in-hard-disk-593847/)

ajkannan83 10-23-2007 01: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
A.Kannan

zulfilee 10-23-2007 03: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 01:14 AM

Sir,

Its a file system error.

But I cannot entered the linux prompt.

How to fix the problem

Please reply.

zulfilee 10-24-2007 01: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 03:18 AM.