LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-10-2004, 06:15 PM   #1
Anjr00
LQ Newbie
 
Registered: Oct 2004
Location: Florida
Distribution: Fedora Core 2 and Slack 10
Posts: 4

Rep: Reputation: 0
Running FC2 with no video card at all?


I used to run Slack 10 on my server with no video card in it at all (Sempron 2500+, Soyo KT400 Dragon, 512 MB PC2700). Slack ran fine until one day I made a cron job that... well, was made wrong, and destroyed most of the files. So, I have decided to recover from that by getting Fedora Core 2 since it's easier to update and such.

Now, I have Fedora Core 2 successfully setup and running. My only problem is that it won't boot with no video card. I have set it to initlevel 3, and it doesn't boot into X like it normally does... any suggestions?
 
Old 10-10-2004, 09:39 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
You need a video card for X.
If you mean it doesn't boot at all, it's most likely BIOS related.
Just make run level 3 the default.
 
Old 10-11-2004, 04:13 PM   #3
Anjr00
LQ Newbie
 
Registered: Oct 2004
Location: Florida
Distribution: Fedora Core 2 and Slack 10
Posts: 4

Original Poster
Rep: Reputation: 0
I have already set it to runlevel 3, and it still won't boot. I stated that in my previous post.

And I know you need a video card to run X, I'm not that stupid lol.
 
Old 10-12-2004, 12:35 AM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Re: Running FC2 with no video card at all?

Quote:
Originally posted by Anjr00
I have set it to initlevel 3, and it doesn't boot into X like it normally does... any suggestions?
This sentence can be interpreted as "I try to boot into X, but it doesn't work."

Anyway, how did you install the server? I have built a couple of headless server machines. I go about it by first adding a videocard and monitor. Then after installation and testing that everything works I remove the monitor and put the machine in a closet. Have you done something similar to that? If so, try adding the videocard and monitor again. Now the machine should boot. Right? Try reading some of the log files in /var/log/, especially
/var/log/messages
and / or
/var/log/messages.1 /var/log/messages.2
and so on.

It may be something like kudzu (hardware probe and configuration) that breaks the boot process.

Good luck!
Martin
 
Old 10-12-2004, 08:42 AM   #5
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
If it boots with the card, it's BIOS related.
On some systems, the BIOS checks for a video card.
If it's not their, it wont boot...

Try connecting through SSH.
 
Old 10-12-2004, 05:04 PM   #6
Anjr00
LQ Newbie
 
Registered: Oct 2004
Location: Florida
Distribution: Fedora Core 2 and Slack 10
Posts: 4

Original Poster
Rep: Reputation: 0
Re: Running FC2 with no video card at all?

Quote:
Originally posted by Anjr00
I used to run Slack 10 on my server with no video card in it at all (Sempron 2500+, Soyo KT400 Dragon, 512 MB PC2700).
I already have the operating system installed, I did it with a video card (Radeon 9800 XT) in it, and then took it out and it won't boot. It's not kudzu, because kudzu will resume to normal booting after 30 seconds, which my server does not.

It's not my hardware, I've booted it with Slackware running no video card.

And if it did boot, I would've been able to connect to it through SSH which I have already tried.

And there are no errors/warnings in the log/message folders.
 
Old 10-13-2004, 03:07 AM   #7
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
This is rather interesting. I would very much like to know what the problem is when you solve it. I don't have any direct solution, but I could always speculate a little. I have never built a system where I removed the video card. I just left an old PCI card in the computer. This is of course a "solution" for you too, but it's not very scientific, is it?

Have you got any feeling for when in the boot process things stop? If it's very early, one could suspect that the gettys (getties?) don't work if no video card is connected. Pure speculation, though. I have nothing to justify this idea.

Otherwise, try booting the system with a minimal set of services. I would use runlevel 4, since it's unused anyway. This is the services that my headless RedHat 9 system starts:
Code:
[root@casper root]# ls -l /etc/rc.d/rc4.d
total 0
lrwxrwxrwx    1 root     root           19 Jun  6 14:16 K05saslauthd -> ../init.d/saslauthd
lrwxrwxrwx    1 root     root           13 Jun  6 14:21 K20nfs -> ../init.d/nfs
lrwxrwxrwx    1 root     root           14 Jun  6 14:26 K74ntpd -> ../init.d/ntpd
lrwxrwxrwx    1 root     root           17 Jun  6 14:14 S10network -> ../init.d/network
lrwxrwxrwx    1 root     root           16 Jun  6 14:13 S12syslog -> ../init.d/syslog
lrwxrwxrwx    1 root     root           18 Jun  6 14:17 S17keytable -> ../init.d/keytable
lrwxrwxrwx    1 root     root           16 Jun  6 14:14 S20random -> ../init.d/random
lrwxrwxrwx    1 root     root           14 Jun  6 14:21 S55sshd -> ../init.d/sshd
lrwxrwxrwx    1 root     root           20 Jun  6 14:14 S56rawdevices -> ../init.d/rawdevices
lrwxrwxrwx    1 root     root           15 Jun  6 14:21 S90crond -> ../init.d/crond
lrwxrwxrwx    1 root     root           11 Jun  6 14:14 S99local -> ../rc.local
Some random ideas:

o Are you sure that the system doesn't boot? Speaking from experience , make sure that iptables doesn't stop you from connecting with SSH.

o Is your BIOS configured as "Halt on: No errors"? Otherwise, the BIOS hangs if you don't have a keyboard connected with the lovely message "No keyboard connected, hit F1 to continue"

Martin
 
Old 10-13-2004, 08:16 PM   #8
Anjr00
LQ Newbie
 
Registered: Oct 2004
Location: Florida
Distribution: Fedora Core 2 and Slack 10
Posts: 4

Original Poster
Rep: Reputation: 0
Well, Martin, I've double checked the BIOS and it is set to properly boot with no videocard.

I also checked to make sure that iptables and the firewall were disabled completely, and they were. I was even able to gain SSH access to it from my parents computer through PuTTY.

I'm going to change the runlevel to 4, and see if that helps in any way. I think the loading stops right after it selects the kernel, so maybe I will have to recompile it, which isn't really that big of a deal.

I'm also going to take a second glance at the services that startup when I boot... but I don't think it's made it far enough to begin loading anything except the kernel.
 
Old 10-14-2004, 04:02 PM   #9
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
I feel that I'm on thin ice now, but couldn't the gettys be the problem? If they try to connect to /dev/ttyN, what happens if there is no video card?

You could try to comment out these lines from /etc/inittab
Code:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
Unfortunately I don't have the time and means to test this myself now. My life is currently revolving around cardboard boxes, since I'm moving.

Martin
 
  


Reply



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
Reset video card settings in FC2? mijohnst Fedora 4 06-17-2005 01:27 PM
Configuring dual head video card for 2 monitors in FC2? the_rhino Fedora 1 02-10-2005 03:20 PM
overclocking my video card in fc2 cuchumino Fedora 3 11-01-2004 11:27 PM
FC2 video problems Gero Fedora 2 10-06-2004 01:47 AM
S-Video on Compaq Presario 2701US running FC2 emarquezarreaza Fedora 0 07-13-2004 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:13 AM.

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
Open Source Consulting | Domain Registration