View previous topic :: View next topic |
Author |
Message |
Tuvow n00b
Joined: 12 Jul 2002 Posts: 1 Location: The Netherlands
|
Posted: Fri Jul 12, 2002 6:49 pm Post subject: GRUB booting problem |
|
|
Hi, i have some problems with the GRUB bootloader, when i boot i got the following:
GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB etc
My hard disk layout:
/dev/hda1 = NTFS, Windows XP
/dev/hdb1 = Ext2, BOOT
/dev/hdb2 = Swap
/dev/hdb3 = Ext3, ROOT
/dev/hdb4 = NTFS
I did the following in grub:
Code: |
grub> root (hd1,0)
grub> setup (hd1)
grub> quit
|
My /boot/grub/menu.lst file:
Code: |
default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 1.2
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3
|
Does somebody know what i am doing wrong here? _________________ Excuse me for my english |
|
Back to top |
|
|
Guest
|
Posted: Fri Jul 12, 2002 8:02 pm Post subject: |
|
|
I've solved the problem to install grub as well at hd0:
grub> setup (hd0) |
|
Back to top |
|
|
Guest
|
Posted: Sat Jul 13, 2002 12:31 pm Post subject: |
|
|
How did you get grub inside the MBR of an NTFS disk? When I tried that it said it couldn't be done for some reason???
I am using NTFS from Windows 2000 btw. Not Windows XP. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sat Jul 13, 2002 2:31 pm Post subject: |
|
|
Anonymous wrote: | How did you get grub inside the MBR of an NTFS disk? When I tried that it said it couldn't be done for some reason???
I am using NTFS from Windows 2000 btw. Not Windows XP. |
Oops! I am that guest. Forgot to login...
Anyways. I got Grub in to the MBR of my boot HDD.
That one is, like I said, NTFS. But When I try to boot Windows 2000 it just kicks me back to Grub.
This is my layout:
hda1: Windows 2000 using NTFS
hdc1: /boot for Gentoo
Under Gentoo I did this:
root (hd2,0)
setup (hd0,0)
quit
And this is in the menu.lst:
default 0
timeout 30
splashimage=(hd2,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 1.2
root (hd2,0)
kernel /boot/bzImage root=/dev/hdc3
title=Windows 2000 Pro
root (hd0,0)
chainloader +1
Using fdisk/mbr under DOS didn't even work to get back the stand NT boot loader wich normally works to get rid of LILO. It just gave me Grub again.
I had to use fdisk under DOS to remove the partition and create it again. After that I could load my backup Ghost image. And then I could load Windows 2000 again.
Does anyone know what to do about this?
Also, Gentoo won't boot correctly.
It gives kernel panic errors and then hangs.
This is the message it gives before hanging:
Unable to handle kernel NULL pointer derefernce at virtual address 00000000
printing eip:
C011447C
*pde = 00000000
Oops: 0002
"and then some more dump info"
<0>Kernel panic: Attepemted to kill unit!
I really have no idea what to doe with that one.
Booting from the Gentoo CDROM and doing the first few steps does get my into Gentoo though.
Any thoughts? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
Shak n00b
Joined: 13 Jul 2002 Posts: 34 Location: Huddersfield UK
|
Posted: Sat Jul 13, 2002 3:19 pm Post subject: |
|
|
you need to use:
not (hd0,0) as you typed above.
To fix the mbr boot into the Windows 2000 install cd, choose repair and then get a recovery console, type fixmbr
Shak |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sun Jul 14, 2002 11:46 am Post subject: |
|
|
Ah, thanks. Gonna try that one when I have reinstalled Gentoo.
I screwed it up yesterday when I did something wrong. _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Mon Jul 15, 2002 11:24 am Post subject: |
|
|
it worked! I can now boot Gentoo and W2K without a problem.
well, except for the Kernel panic from Gentoo. but that's a different thread.
thanks! _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
|