Linux won't load: "bsh#"?

I had Linux happily installed.  Then I upgraded GNOME.  That went smoothly.  But somehow some KDE files I had included got in there as well.  KDE didn't work.  So I rebooted.  I had set things up so it brought me the graphical login screen in RH 6.0.  After rebooting, nothing showed up.  Well, a grayish/black(speckles) background, but no windows, nothing.  I guess I could have tried Control-Alt-F7 but didn't know about that... I thought just reinstalling would fix things.
  So I reinstalled.  Only to find that now my linux partition was messed up.  ("hard disk error.  run fsck) but fsck didn't execute.  Now upon booting (thank goodness Lilo still works and I can get into windows!) it does the normal stuff then just has a bash# prompt.  Please help.  I think reinstallation might help but my RH cd is scratched so that GNOME doesn't install.  Last time I just used KDE, it worked fine and I could install GNOME after downloading it.

Gateway PIII 450
Quantum Fireball CX13.2
RH 6.0
ICQ 34417422
AIM Wpolo376

yes I am desperate for an answer!! Please help.  I am new enough to Linux that I've never compiled anything.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brandon121799Author Commented:
Adjusted points to 80

There are probably two ways for me to answer your question:

1.  When you log in to the "bash#" prompt, you may only need to run the command "startx".  This is the shell command to start the graphical user interface.

2. If you want the computer to boot into graphical mode, you may need to change the default runlevel.  The file /etc/inittab has a line which looks like this:


If you see a number 3 there, that usually means it will boot into the text console by default.  This may not be what you want.  If you want to always boot into KDE/GNOME/etc., you should edit this file (with an editor like vi, pico, emacs, joe, ...) and change that number to a 5.  Save that file, then reboot the system (i.e., type "shutdown -r now" at the bash# prompt).

Both of these steps assume that X is properly configured.  If it isn't, you need to run "xf86config", "XF86Setup", or possibly "Xconfigurator" to fix your video settings.

BE SURE that you can run "startx" (as mentioned in suggestion #1), before attempting to implement suggestion #2!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brandon121799Author Commented:
Well your comment had not bearing on my solution, but thanks anyways!  I've kept that in mind in case something like that happens to me in the future.  I just reinstalled everything.  Now I can't get GNOME to install again, but oh well.  One problem at a time!  Gracias :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.