Tip & How-To about Computers & Internet
In a recent days in our lab I've got a with Linux file system. Our lab used Redhat Linux 5.3 Enterprise version. Redhat Linux is an Unix based Operating System and It based on Ext3 file system
Problem of Linux: The systen cannot access internet. It shows the license expiry error notification. Sometime it doesn't detect the hard drive. Some time the pc can detect hard drive but the Linux started with some errors of file system. Finally the file system of the OS getting crashed and can't boot. At GRUB loading stage it become restarted.
Solution or Troubleshooting: If I replace the hard drive cable It detect well and start OS also. Then the pc can detect hard drive but the Linux started with some errors of file system. Then I discovered that there is a problem with OS. Though formatting can solve the problem but that needs a backup of important data. This is time consuming and risky. So I thought to repair the file system.
At first I'm trying to login in single user mode and repair the file system. I have tried to login by pressing "s" beside kernel at startup in single user mode. But the system doesn't boot. Then I'm trying to repair the OS by RedHat Linux CD. I Insert the CD and select rescue mode by pressing "F5" key. Then I got the single user mode. After that I check all file system sequentially. /etc /passwd, /etc/shadow, /etc/securetty, /etc/pam.d/login. Those file was wrong. I updated those file by correcting. Then I update the auth config file. After that I boot the system again. But now also it don't get start. Then I rescue the grub by grub-rescue and also update the kernel. After the total process I'm tried again to login from single user mode in root and It get logged. After that I reboot the system and tried to login. Finally it logged in successfully and run properly.
Posted by Aloke Das on
Jul 07, 2011 | Red Hat Enterprise Linux 3 for Unix
Apr 11, 2009 | Red Hat Enterprise Linux ES Basic Edition
Dec 26, 2008 | Red Hat Enterprise Linux ES 3 Standard...
Aug 31, 2008 | Intel D101GGC Motherboard
163 people viewed this tip
Usually answered in minutes!