LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2004, 08:07 PM   #1
bluemoose
Member
 
Registered: Jun 2003
Location: Ottawa
Distribution: Enterprise 3
Posts: 37

Rep: Reputation: 15
Linux not booting


Hi,

My linux box (RH8.0) has stopped booting correctly. The machine goes through all the motions of starting linux, then I think when it gets to the point where it is trying to start XWindows, I see the flash screen for the NVIDIA graphics chips I use, and then the XWin prompt never shows up. The computer looks like it keeps trying to load XWIN but it fails a whole bunch of times, and then crashes permanently.... Not once in this whole process do I ever get to a prompt. Is there an equivalent of safemode for linux? How do I begin to debug this problem.

Bluemoose
 
Old 02-16-2004, 08:11 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
do you have any kind of boot disk, knoppix, etc.? if it were me, i would boot to something like that (slack live) and then change the inittab to boot to console, and then try to diagnose the problem further from there as to what exactly is going on with X.
 
Old 02-16-2004, 08:21 PM   #3
bluemoose
Member
 
Registered: Jun 2003
Location: Ottawa
Distribution: Enterprise 3
Posts: 37

Original Poster
Rep: Reputation: 15
No boot disk, No.... is there a key I can hit during boot to not load certain stuff?
 
Old 02-16-2004, 10:19 PM   #4
Gomi
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Fedora Core 3
Posts: 48

Rep: Reputation: 15
I have a similar problem with RH9. It'll go through the motions of booting up, and when it gets to X-Windows (login-on screen), it'll just display a 4 pixel line of blue grabage, and not respond. It's word on the reboot though.
 
Old 02-16-2004, 10:47 PM   #5
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
download slax-live (formally known as slackware live)

download -> http://slax.linux-live.org/
get a cd burning program such as nero and burn it as a .iso file which is an image file

pop that in ur linux box's cd drive

boot up Slax-live

go to /etc/inittab

and change the run level to i believe 3?
-well in the inittab file there should be a few comments on which number = what runlevel
choose the number to the runlevel that boots to the console or the non X11 runlevel

restart computer
 
Old 02-16-2004, 10:48 PM   #6
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
-oh yeah dont forget to save after you change the run level :]
 
Old 02-17-2004, 04:37 AM   #7
Gomi
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Fedora Core 3
Posts: 48

Rep: Reputation: 15
Quote:
Longinus
and change the run level to i believe 3?
-well in the inittab file there should be a few comments on which number = what runlevel
choose the number to the runlevel that boots to the console or the non X11 runlevel
Which part of /etc/inittab the Default Run level, or
Code:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
And how does this effect the start up?

Thanks.
Gomi
 
Old 02-17-2004, 08:42 PM   #8
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
change the Default Run Level to 3

this will cause linux to boot up to the command line from here you can futher diagnose the problem
 
Old 02-17-2004, 09:33 PM   #9
Gomi
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Fedora Core 3
Posts: 48

Rep: Reputation: 15
I know it's a really dumb question, but how do I get into X-Windows from the command line?

Also I wouldn't know where to start diagnosing the problem. I think it's the video card, but from there it's beyond me.

Last edited by Gomi; 02-17-2004 at 09:41 PM.
 
Old 02-17-2004, 10:22 PM   #10
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
to get into X you type:

startx

for you diagnosing.... i have no clue lol sorry

im fairly a newbie at linux also ^_^

but you might want to make a seperate thread on the specific errors you get when trying to get to X
 
Old 02-17-2004, 10:24 PM   #11
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
- oh

if your using slax live i think the command is just:

gui

to get to the graphical user interface
 
Old 02-24-2004, 09:34 PM   #12
bluemoose
Member
 
Registered: Jun 2003
Location: Ottawa
Distribution: Enterprise 3
Posts: 37

Original Poster
Rep: Reputation: 15
OK, Just to step back a bit.

I got the slak up and running and I logged in. I assume when you say I have to change /etc/inittab to runlevel 3, you mean for me to do it on my own drive. Problem is I have a RAID setup, and I cannot find anything under /dev that looks like my raid system. I remeber it was something like sda1 or something like that? I think I need to mount it to something like /home to access the drive. Am I on the right track here?

Bluemoose
 
Old 02-24-2004, 10:23 PM   #13
bluemoose
Member
 
Registered: Jun 2003
Location: Ottawa
Distribution: Enterprise 3
Posts: 37

Original Poster
Rep: Reputation: 15
OK again,

I have something going... but I don't think its runlevel-3. I added "init=/bin/bash" to the kernel command in the GRUB editor, and now I have a prompt, and my drive is mounted correctly...
I don't think this is run level 3 though? I want to debug why when X starts up the computer crashes.... any ideas what next?

Bluemoose
 
Old 02-24-2004, 10:34 PM   #14
bluemoose
Member
 
Registered: Jun 2003
Location: Ottawa
Distribution: Enterprise 3
Posts: 37

Original Poster
Rep: Reputation: 15
OH, even better.... instead of adding "init=/bin/bash" to the kernel command, you just add "3"... and it boots right into runlevel 3. Thats Good.... so....................

How do I debug X?

Bluemoose
 
Old 02-24-2004, 11:07 PM   #15
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
take a look at the last few lines of /var/log/XFree86.0.log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple Booting linux/linux/windows Flak Pyro Linux - Distributions 10 12-08-2003 08:46 PM
Tripple booting linux/linux/windows Flak Pyro Linux - General 1 12-05-2003 11:24 PM
triple booting linux linux and 2000 devashish Linux - Software 12 08-28-2003 07:44 AM
Booting Linux evian Linux - Newbie 1 03-11-2003 08:23 AM
Booting Linux DRR Linux - Newbie 2 05-21-2002 11:44 AM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration