I got an old Redhat. Not so sure about the version. Perhaps Redhat 7 or 8.
The kernel is 2.4.20-31.9.sap
Now it won't boot up. The booting process reached
Finding module dependencies: [OK]
fsck.ext3Possibly non-existent or swap device?
:No such device or address while trying to open /dev/hdc1
/boot: clean, (some numbers)
/usr2: clean, (some numbers)
/usr: clean, (some numbers)
/dev/hda1: clean (some numbers)
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
The prompt is like (Repair Filesystem) 1#
(Repair Filesystem) 2#
I ran "fsck / -f -c -y" and it showed like
/dev/hda6 is mounted
Checking for bad blocks (read-only test): done
Pass 1: Check inodes, blocks, and sizes
Pass 2: Check directory structure
Pass 3: Check directory connectivity
Pass 4: Check reference counts
Pass 5: Check group summary information
I also ran "fsck /dev/hda1 -f -c -y" where /dev/hda1 may be /home
After that, "ls /home" did not show my home directory.
df comomand only showed
Any suggestion is appreciated.