View previous topic :: View next topic |
Author |
Message |
The_Bell Apprentice
Joined: 01 Jul 2002 Posts: 157
|
Posted: Tue Oct 14, 2003 3:04 pm Post subject: GRUB hangs on stage 1.5 |
|
|
I have installed gentoo in my laptop. I've not made different partitions for / and /boot so they're the same. I compiled the kernel myself (not using genkernel).
I have / in an extended FS in /dev/hda2
I have windows in /dev/hda1 (NTFS)
I wanted grub to load both OS so I installed it in the MBR as follows:
Code: |
grub> root (hd0,1)
grub> setup (hd0)
|
The grub told me it found the /boot/grub necessary files and it was succesfully installed into the MBR.
Here's my /boot/grub/grub.conf file
Code: |
timeout 15
default 1
title=Gentoo Linux
root (hd0,1)
kernel (hd0,1)/boot/bzImage root=/dev/hda2 vga=792
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
|
Well actually when I boot my machine I can see in the screen:
Code: |
Grub Loading stage 1.5
Loading grub...
|
and it hangs, without telling me any error message nor number. I can reboot with Ctrl + Alt + Supr but it won't boot anything.
I have tried to boot with my boot disk and entering the parameters from the grub.conf manually and linux and windows boot perfectly, so the configuration file seems to be ok.
Anyone knows where the problem could be?
For giving more information (don't know if it's important or not) the /dev/hda2 (my /) partition is the only one marked with the bootable flag when listing the drives in fdisk. Should I put the bootable flag anywhere else? Don't know what else could be causing this problem. _________________ Live long and prosper
Last edited by The_Bell on Tue Oct 14, 2003 6:24 pm; edited 3 times in total |
|
Back to top |
|
|
BenjyD_UK n00b
Joined: 03 Sep 2003 Posts: 44
|
Posted: Tue Oct 14, 2003 4:21 pm Post subject: bracket? |
|
|
Code: |
kernel (hd0,1)/boot(bzImage root=/dev/hda3 vga=792
|
Is the bracket between boot and bzImage just a mistype in the forum? If not, that could be the cause of the problem. My grub.conf looks like this:
Code: |
title Gentoo Linux 1.4 2.4.22-ck2 Kernel
root (hd0,1)
kernel /boot/bzImage root=/dev/hda2
|
Did you mean to put /dev/hda3 as your root fs, when you say you installed linux on /dev/hda2? |
|
Back to top |
|
|
The_Bell Apprentice
Joined: 01 Jul 2002 Posts: 157
|
Posted: Tue Oct 14, 2003 6:07 pm Post subject: |
|
|
Yeah it's a mistake in the post sorry it's fixed now.
The problem persists _________________ Live long and prosper |
|
Back to top |
|
|
The_Bell Apprentice
Joined: 01 Jul 2002 Posts: 157
|
Posted: Tue Oct 14, 2003 7:29 pm Post subject: |
|
|
Hey i fixed the problem. It seems I had the floppy to boot first on my bios that the hard drive and grub does not like to be "started" if you have tried to read from floppy first.
Many Thanks _________________ Live long and prosper |
|
Back to top |
|
|
|