LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-16-2002, 02:16 AM   #1
dpcook
LQ Newbie
 
Registered: Dec 2002
Posts: 6

Rep: Reputation: 0
Angry RH 7.3 GRUB boot issue with no Video card present


Hardware: Advantech SBC (Firewall/Gateway appliance)
PIII-850, 256MB, 20GB disk in a 1U enclosure. Loaded custom software based on RH 7.3 and GRUB. S3 Trident PCI card used to load and configure network IP parms. Boots fine with video card still in, but when video card is removed - GRUB gets stuck in a loop waiting for a console response.

Video card must be removed to put cover on enclosure.

I edited grub.conf to enable a serial console to see what was going on, that is how I discovered the GRUB waiting for a console input. I disabled the splashimage line and I can manually type in my grub.conf command into the serial terminal and boot the system without the video card.

How do I automate the GNU GRUB loader to ignore the missing video card/console and just process the kernel and initrd commands to boot?

Here is my current grub.conf

root (hd0,0)
kernel /boot/vmlinuz-2.4.18-18.7x. ro root=/dev/hda1
initrd /boot/initrd-2.4.18-18.7.x.img
boot /dev/hda1

Thanks in Advance.
 
Old 12-16-2002, 04:27 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You might want to consider using lilo for this, not the version that redhat ships but the latest stabe version from the lilo web site.
 
Old 12-16-2002, 10:03 AM   #3
dpcook
LQ Newbie
 
Registered: Dec 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Further info and results so far.

The appliance is supposed to be a headless unit with only ethernet cables attached and power of course.
Link to see the unit. http://www.advantech.com/products/M..._id=1-8080D&bu=

To load the CD and application I have a keyboard kit, CD rom drive and a video card attached.

The /boot/grub/menu.lst file is really a pointer to the /boot/grub/grub.conf file. They are identical. Here is my current file.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
# default=0
serial --unit=0 --speed=9600 --parity=no --stop=1
terminal serial console
# splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Enable-IT Gateway (4.0)
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-18.7.x ro root=/dev/hda1 console=ttys0
initrd /boot/initrd-2.4.18-18.7.x.img
boot=dev/hda1

This unfortunately still requires me to attach a serial console and respond to the boot process. Here is the serial console output.

Press any key to continue.
Press any key to continue.
Press any key to continue.

GRUB version 0.91 (639K lower / 261120K upper memory)

+-------------------------------------------------------------------------+
| Enable-IT Gateway (4.0) |
|
[H Booting 'Enable-IT Gateway (4.0)'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.4.18-18.7.x ro root=/dev/hda1 console=ttys0
[Linux-bzImage, setup=0x1400, size=0x108fde]
initrd /boot/initrd-2.4.18-18.7.x.img
[Linux-initrd @ 0xffd1000, 0x1ea7f bytes]
boot=dev/hda1

My goal in this is to have a self booting loader with nothing attached except power and the 3 ehternet cables. It can be done, it is just a matter of fixing GRUB I believe.
 
Old 12-16-2002, 07:33 PM   #4
dpcook
LQ Newbie
 
Registered: Dec 2002
Posts: 6

Original Poster
Rep: Reputation: 0
GRUB Problem Solved !

Ok here it is:
This is the grub.conf file located at /boot/grub

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file # NOTICE: You do not have a /boot partition. This means that #
all kernel and initrd paths are relative to /, eg. # root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
# default=0
serial --unit=0 --speed=9600 --parity=no --stop=1
terminal --timeout=2 serial
timeout=2
# splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Enable-IT Gateway 4.0
root (hd0,0)
kernel /boot/vmlinuz-2.4.18-18.7.x ro root=/dev/hda1 console=ttyS0
initrd /boot/initrd-2.4.18-18.7.x.img
boot=dev/hda1
 
  


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
ATI Video Card Driver Issue vegetacron Linux - Hardware 1 10-15-2004 10:28 PM
grub boot loader issue mbegovic Linux - Software 2 04-17-2004 04:59 PM
Red Hat 9 Install Issue (Video Card) bshelton Red Hat 4 12-03-2003 10:40 AM
video card issue please_help Linux - Hardware 1 02-27-2003 02:46 PM
Interesting RH 7.3 GRUB boot issue with no Video card present dpcook Linux - Software 3 12-16-2002 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 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
Open Source Consulting | Domain Registration