Click to See Complete Forum and Search --> : GRUB problems (Error 18)


Swishaa
04-28-2004, 10:18 PM
I have just installed Red Hat Linux 9 on my computer. I haveWindows XP on the system also. GRUB installed to my MBR (hda). Both of my hard drives have LBA enabled according to my BIOS.

When Grub runs on starup i get:
GRUB Loading stage1.5
GRUB loading, please wait...
Error 18


This is how my computer is set up (fdisk -l):

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 9729 78148161 7 HPFS/NTFS <---- Windows XP

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 5483 44042166 7 HPFS/NTFS
/dev/hdb2 5484 15212 78148192+ f Win95 Ext'd (LBA)
/dev/hdb3 15213 15343 1052257+ 82 Linux swap
/dev/hdb4 * 15344 19929 36837045 83 Linux
/dev/hdb5 5484 15212 78148161 b Win95 FAT32

My grub.conf file:

default=0
timeout=10
slashimage=(hd1,3)/boot/grub/splash.xpm.gz
title Red Hat Linux
root (hd1,3)
kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hdb4
initrd /boot/initrd-2.4.20-8.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

I also tried to put GRUB on a floppy disk and boot from that, but i got "GRUB Geom Error".

All I can do right now is boot Linux from my boot floppy disk I made durring installation.

Parcival
04-29-2004, 02:32 AM
Your grub.conf looks perfectly fine to me. The problem must be elsewhere:

After installing gentoo, with grub 0.93. When booting grub hangs at Stage 1.5 with error 18. I'm posting this because I didn't find any post regarding error 18 at stage 1.5... After googling a bit, I found a list of grub errors, and it says that error 18 is generated when the kernel being loaded is not compatible with grub... I've recompiled gentoo-dev-sources three times...

GRUB error collection (http://forums.gentoo.org/viewtopic.php?t=122656&highlight=grub+error+collection)

stumbles
04-29-2004, 04:50 AM
[QUOTE]Originally posted by Swishaa
[B]I have just installed Red Hat Linux 9 on my computer. I haveWindows XP on the system also. GRUB installed to my MBR (hda). Both of my hard drives have LBA enabled according to my BIOS.

When Grub runs on starup i get:
GRUB Loading stage1.5
GRUB loading, please wait...
Error 18
[/QUTOE]

Google -

http://www.mepis.org/node/view/2223