LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB doesn't respond (https://www.linuxquestions.org/questions/linux-newbie-8/grub-doesnt-respond-350578/)

n0va 08-06-2005 11:20 AM

GRUB doesn't respond
 
I've installed Fedora Core 4, and all I get when booting up the computer is a blank screen with the word GRUB. I doubt that it's the GRUB console as it doesn't even have a ">". I've tried all methods, using GRUB as the main MBR, and booting it from the NTLDR, but it still shows only that. Help me out, somebody?

linuxLuser 08-06-2005 11:53 AM

Never fear, I just had that problem and was able to fix it! :)

I got a black screen with "GRUB" printed in the upper-left of the screen; no response for the keyboard or anything else. Apparently what happened (and why I don't know) is that the mapping from the way GRUB specifies drives and partitions to the way Linux specifies drives and partitions got screwed up.

There is a file in /boot/grub called devices.map which you can edit this mapping with.

With mine, this is how the screwed up devices.map looked like
Quote:

(fd0) /dev/fd0
(hd0) /dev/hdb
So I changed it to
Quote:

(fd0) /dev/fd0
(hd0) /dev/hda
hd0 in GRUB is supposed to be the same as hda in Linux. Why you'd change that or better yet, why it would change at all, I have no idea. But that fixed it for me. GRUB was able to find the config files and kernels and all that good stuff.

Maybe show me what you're looks like?

-- the dudeaMAn

PS you'll need KNOPPIX or something like that which boots from CD-ROM to access your filesystem of course ;)

linuxLuser 08-06-2005 11:56 AM

Oh ya, I also reinstalled GRUB to the MBR after I did that too. I don't think that mattered, but it's worth noting.

n0va 08-06-2005 11:18 PM

thanks for the suggestion but it still doesn't work. :(

i guess i'll just post my grub.conf and device.map and hope someone can help

Device.Map
Code:

# this device map was generated by anaconda
(fd0)    /dev/fd0
(hd0)    /dev/hda
(hd1)    /dev/hdb

Code:

# 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 (hd1,7)
#          kernel /boot/vmlinuz-version ro root=/dev/hdb8
#          initrd /boot/initrd-version.img
#boot=/dev/hdb8
default=0
timeout=5
splashimage=(hd1,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
        root (hd1,7)
        kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.11-1.1369_FC4.img
title Windows XP
        rootnoverify (hd0,0)
        chainloader +1

Somebody please help me. I'm lost here. I still get the GRUB text without any keyboard response after trying several variations of the grub.conf. :( Thanks in advance.


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