Click to See Complete Forum and Search --> : help! my file system cashed


kyiu
05-17-2003, 11:35 PM
My new box's cashed. I can't boot into my rh9. I have whole bunch of this messages:dup2: bad file descriptor
*
*
*
Give root password for maintenance
(Ctl-D to continue)

What can I do for recover?

Help!

rajrajneesh1
05-18-2003, 05:51 AM
Hi dear,

Look if there is a failsafe option in the boot menu. If so, try booting with it. I hope it may solve the problem.

If not successful, try to boot with the orginal intallation cdrom by typing linux rescue at the boot prompt and then running any filesystem cheque utility.

Hoping for the best.

Rajneesh Kumar

scott_R
05-19-2003, 06:03 PM
It sounds like you might have shut off your drive before it was ready. You can hit ctrl-D, then run a disk checker. 'e2fsck' is the program to run in these situations, but it depends on what filesystem you installed. I beleive the default is ext3, which is compatible with ext2, so run 'e2fsck -f /dev/hda2' or whatever drive. One thing to keep in mind, you can't run fsck on a mounted drive, so run mount to make sure you are unmounted, and unmount any drives you need to check. This also is pretty much what you do when you run your rescue disk.

kyiu
05-20-2003, 07:47 PM
Well...I didn't mean to shutdown the system before it's ready. It was running GNOME on the console. The box stopped responding. I went to another computer on the LAN to reboot it using SSH. It's not supposed to corrupt the file when you do that. I don't do any more on my other box. :mad: I need some know-how to do fsck on file the system. You see...I installed the RH9 on a software RAID. The /boot is on RAID-1 and the others on RAID-5. What'S partition name(s) to run the fsck? Can you give me the exact syntax? I've never done this before.

Thanks