LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   GRUB black screen (http://www.linuxquestions.org/questions/linux-software-2/grub-black-screen-50015/)

mbatalla82 03-15-2003 07:09 PM

GRUB black screen
 
I have a dual boot system with XP and Redhat 8.0.
I have the XP bootloader on the MBR, and then GRUB on the linux partition.
It was working fine before, but i don't know if I changed anything, or whatever, but now whenever i choose to boot into RH, i get a black screen with the word GRUB. I have checked grub.conf and it looks ok, but can't get it to boot. Here is my grub.conf and my partition table.
Any ideas? Thanks a lot.


[root@localhost boot]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2432 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ b Win95 FAT32
/dev/hda2 1413 2432 8193150 f Win95 Ext'd (LBA)
/dev/hda4 1021 1412 3148740 83 Linux
/dev/hda5 1413 2432 8193118+ b Win95 FAT32

Partition table entries are not in disk order

----------------------
# 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,3)
# kernel /boot/vmlinuz-version ro root=/dev/hda4
# initrd /boot/initrd-version.img
#boot=/dev/hda4
default=0
timeout=10
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-24.8.0)
root (hd0,3)
kernel /boot/vmlinuz-2.4.18-24.8.0 ro root=/dev/hda4 hdc=ide-scsi
initrd /boot/initrd-2.4.18-24.8.0.img
title Red Hat Linux (2.4.18-14)
root (hd0,3)
kernel /boot/vmlinuz-2.4.18-14 ro root=/dev/hda4 hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1


--------------------

rch 03-16-2003 03:56 AM

Re: GRUB black screen
 
Quote:

Originally posted by mbatalla82
I have a dual boot system with XP and Redhat 8.0.
I have the XP bootloader on the MBR, and then GRUB on the linux partition.
It was working fine before, but i don't know if I changed anything, or whatever, but now whenever i choose to boot into RH, i get a black screen with the word GRUB. I have checked grub.conf and it looks ok, but can't get it to boot. Here is my grub.conf and my partition table.
Any ideas? Thanks a lot.


[root@localhost boot]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2432 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ b Win95 FAT32
/dev/hda2 1413 2432 8193150 f Win95 Ext'd (LBA)
/dev/hda4 1021 1412 3148740 83 Linux
/dev/hda5 1413 2432 8193118+ b Win95 FAT32

Partition table entries are not in disk order

----------------------
# 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,3)
# kernel /boot/vmlinuz-version ro root=/dev/hda4
# initrd /boot/initrd-version.img
#boot=/dev/hda4
default=0
timeout=10
splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-24.8.0)
root (hd0,3)
kernel /boot/vmlinuz-2.4.18-24.8.0 ro root=/dev/hda4 hdc=ide-scsi
initrd /boot/initrd-2.4.18-24.8.0.img
title Red Hat Linux (2.4.18-14)
root (hd0,3)
kernel /boot/vmlinuz-2.4.18-14 ro root=/dev/hda4 hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1


--------------------

do you use nt boot loader to boot into linux?

mbatalla82 03-16-2003 10:00 AM

yes, i have the NT (XP) bootloader on the MBR, and from that i go to grub on the linux partition

rch 03-17-2003 08:24 AM

Quote:

Originally posted by mbatalla82
yes, i have the NT (XP) bootloader on the MBR, and from that i go to grub on the linux partition
well i think that you should try again to install lilo on your linux partition
copy the bootsector with dd to windows partition
reedit boot.ini
and reboot
i think it should work
(incidentally i tried once this approach booting through nt boot loader - the bad thing about using this approach is that every time you change some partition you have to redo everything- so isn't lilo/grub on the mbr a better idea)
keep posted

mbatalla82 03-17-2003 02:58 PM

Thanks a lot....that did.
I forgot about a kernel update that I told the Red Hat updater thing to do. That was what messed it up.


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