LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-21-2006, 09:10 PM   #1
webserverdude
LQ Newbie
 
Registered: Jun 2006
Location: ("Error: Cannot find city,state where name='webserverdude'")
Distribution: Fedora
Posts: 10

Rep: Reputation: 0
GRUB hangs at bootup


Here is my setup: I have two hard drives, one internal and one external. The internal one is 100GB with the default Windows XP bootloader installed. The external one is a partitioned Fedora Core 4 with GRUB as it's bootloader. When I change the BIOS to boot to my external drive (which by the way, supports USB booting), the GRUB bootloader hangs up with "GRUB " On the external drive, the boot partition is the first partition and is under 8.5GB (which I think clears up the LBA issue) then comes a vfat partition to share data with the windows xp partition on the internal drive. After that, comes a root partition. Then comes a swap partition. And the rest of the space is free. I was trying to use the Windows XP bootloader, and add a menu for linux, which points to a file, that comes up with the GRUB prompt. That doesn't work, but I will worry about that later. I have been working and pulling my hair out for three days. Please help. I will keep looking for solutions, myself. Any detail or suggestion is much appreciated.

EDIT: Found some files



START: /etc/grub.conf
#boot=/dev/sda1
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd1,0)
kernel /vxlinux-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /inittrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
END: /etc/grub.conf





START: /boot/grub/device.map
# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda
END: /boot/grub/device.map

Last edited by webserverdude; 06-21-2006 at 09:29 PM.
 
Old 06-21-2006, 09:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
At the grub prompt, type in "root (hd" (no quotes), and hit the <tab> key. This will show you what hard-disks grub can see. Hopefully both.
Then maybe try "find /grub/stage1" - that is where the needed files will be, and should correspond to the "root" directive in your menu.lst.
 
Old 06-21-2006, 09:47 PM   #3
webserverdude
LQ Newbie
 
Registered: Jun 2006
Location: ("Error: Cannot find city,state where name='webserverdude'")
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
I don't get a prompt if your talking about the boot screen. I tried in rescue mode by typing grub and running your command. I did and when I press Tab after I typed the command you told me to in, it just makes a new line with the same string.

Last edited by webserverdude; 06-22-2006 at 09:43 AM.
 
Old 06-22-2006, 11:40 AM   #4
webserverdude
LQ Newbie
 
Registered: Jun 2006
Location: ("Error: Cannot find city,state where name='webserverdude'")
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
***bump***
 
Old 06-22-2006, 04:59 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
I think that if you get the grub "message" and no prompt that means the loader code was unable to determine which disk has the stage files (and menu.lst), and parked itself in a hard loop.
Been a while since I looked at the code - you could try yourself if interested.

Doesn't sound good for what you are trying to achieve.
 
Old 06-23-2006, 09:31 AM   #6
webserverdude
LQ Newbie
 
Registered: Jun 2006
Location: ("Error: Cannot find city,state where name='webserverdude'")
Distribution: Fedora
Posts: 10

Original Poster
Rep: Reputation: 0
Which code should I look at?
 
Old 06-23-2006, 05:15 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
grub - that portion will be in assembler.
 
  


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
bootup hangs in 3.4.3 stanW MEPIS 0 05-27-2006 05:16 PM
Mandrake 10.0 hangs on bootup brandNewtoLinux Mandriva 1 11-17-2005 10:55 AM
2.6.9 hangs at bootup cosiek Linux - Software 3 10-20-2004 03:29 PM
Hangs up on bootup BigHead314 Slackware 4 12-22-2003 11:51 PM
Bootup prob, she hangs thechronic Linux - Software 3 02-08-2002 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:36 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