Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB booting problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Tuvow
n00b
n00b


Joined: 12 Jul 2002
Posts: 1
Location: The Netherlands

PostPosted: Fri Jul 12, 2002 6:49 pm    Post subject: GRUB booting problem Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri Jul 12, 2002 8:02 pm    Post subject: Reply with quote

I've solved the problem to install grub as well at hd0:

grub> setup (hd0)
Back to top
Guest






PostPosted: Sat Jul 13, 2002 12:31 pm    Post subject: Reply with quote

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
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Sat Jul 13, 2002 2:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Shak
n00b
n00b


Joined: 13 Jul 2002
Posts: 34
Location: Huddersfield UK

PostPosted: Sat Jul 13, 2002 3:19 pm    Post subject: Reply with quote

you need to use:

Code:

setup (hd0)


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
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Sun Jul 14, 2002 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Mon Jul 15, 2002 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum