Wednesday, October 21, 2009

“No such file or directory” Error in Linux

Sometimes you try to install device drivers on your Linux system, you might fail to do it. It could be due to non compatibility of the OS Kernel with your device driver or device.

To resolve this issue, you require to install the latest version of Linux kernel. It may include ‘forcedeth’ patch, which is capable of resolving most of the non compatibility issues.

In some situations, after installing the latest version of Kernel, when you reboot the Linux system, you might face the following error message:

“fsck.ext2: No such file or directory while trying to open /dev/hda8. The super block could not be read or does not describe a correct ext2 file system. If the device is valid and it contains an ext2 file system (and not swap or ufs or something else) then the super block is corrupt, and you might try running e2fsck with an alternate super block: e2fsck -b 8193 fsck failed.”

After this error message, neither the system boots nor any file can be accessed.

Root Cause Problem

As stated in the error message, this problem generally occurs due to super block corruption or file system corruption.

รจ Super block and file system are two most important data structure of Linux system. Proper functioning of both these is necessary to ensure effective working of the system.

After corruption, the OS could not locate the file and thus can not retrieve it.

Resolution

To resolve this problem, you need to install a fresh copy of super block and file system. It is possible through formatting of the hard drive and reinstallation of OS.

Though, it will remove the errors but will also erase all the data stored on your hard drive. It is the worst scenario of data loss and needs Linux data recovery to get it fixed.

Linux data recovery is feasible with the application of third party Linux recovery software known as Linux data recovery. Linux recovery software is easy to use and thus allow you to have simple and fast data recovery Linux.

0 comments: