Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

critical problem that i've never seen before !

I have a critical problem that i've never seen before !

After config the modem, when i rebooted the system, after this line:
"Press 'I' to enter interactive startup"

Mounting proc file system dup2 : Bad File Descriptor [FAILED]

Configuring kernel parameters dup2 : Bad File Descriptor [FAILED]

Loading default keymap/etc/rc.d/rc.sysinit : /dev/null : read only
file system

Activating swap partition dup2 : Bad File Descriptor [FAILED]

Seting hostname localhost.localdomain : Bad File Descriptor [FAILED]
.....


all processes was failed in initial, and it didn't show the login, it just showed that:


"(Repair fileSystem) 1#",

I tried to recompile the kernel but i recieved message like this:

"/bin/sh:line1: /dev/null : Read-only file system"

Please help me! don't say to me that i must reinstall the OS

I'm using RH8.0
Thanks so much!!!
0
mrvanhieu
Asked:
mrvanhieu
1 Solution
 
owensleftfootCommented:
Try fsck -A at the Repair fileSystem) 1#" prompt.
0
 
rspoerriCommented:
looks pretty shitty... the kernel cannot read from your harddisk (at least not everything). If you didnt do anything weird (shutting down hardly). Get a new harddrive and reinstall the system on it. then try to move your stuff to the new harddrive. Errornous harddrives tend to brake completely.

Greetz
Make love not war
0
 
arn0ldCommented:
1st, linux does come up. Maybe something clobbered you /dev/null
 ls -l /dev/null
should look something like
crw-rw-rw-    1 root     root       1,3 Feb 23  2002 /dev/null

also try echo XXXXX>/dev/null
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
fstaniCommented:
I had a problem like this once, on my server (redhat 7), I had a blackout on the building and all the process failed, it then boots on the same screen, but if you notice, before it boots on the screen, it asks you to run the fsck command. So all you have to do is press enter, and run the command the way it asks you to use it.

It is kinda a scandisk (only much better)...

So basically, it repairs the HD of the problem, and boots normally...

Hope I have been usefull
0
 
RahmathCommented:

Surely I can clear your problem if i can sit in your system. anyway it is not possible now, so you do one thing,  post your following files as sson as possible..

  1. /etc/rc.d/rc.sysinit
  2. /etc/inittab
  3. /etc/lilo.conf or /etc/grub.conf (your bootloaders file)
  4. /etc/fstab

-kmr-
0
 
CleanupPingCommented:
mrvanhieu:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
TheWeakestLinkCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from owensleftfoot as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now