Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installed Gentoo 1.2 but grub wont come up
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
cto2mac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2002
Posts: 95
Location: Washington DC

PostPosted: Mon Aug 19, 2002 4:01 pm    Post subject: Installed Gentoo 1.2 but grub wont come up Reply with quote

I had an old set up dual boot WinXP and SuSE 7.2 using lilo.
I have since put gentoo on but when i finish and reboot i still see the old lilo screen. if i select windows it boots to windows no problem, if i select linux it hangs looking for the old SuSE. Here is my conifiguration PLEASE help me.

hda1 WindowsXP(C:)fat32
hda2 WindowsXP(D:)fat32
hda3 EXT3 (just an extra linux partition)

hdb1 /boot (ext3)
hdb2 swap (swap)
hdb3 / (everything else)

hdc is my dvd drive
hdd is my ide cd burner

I would really like to use Gentoo. Please help. I don't know how to get Grub configured and installed to the right location on my box to get it to work. Any help with this would be appreciated.
Back to top
View user's profile Send private message
SQLBoy
Guru
Guru


Joined: 17 Aug 2002
Posts: 381

PostPosted: Mon Aug 19, 2002 4:14 pm    Post subject: what happens Reply with quote

What happens when you try to boot, what is the error?
Back to top
View user's profile Send private message
cto2mac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2002
Posts: 95
Location: Washington DC

PostPosted: Mon Aug 19, 2002 4:21 pm    Post subject: there is no error Reply with quote

there is no error, my old Suse 7.2 lilo splash comes up with options to boot to Suse or Windows and not my Grub for Gentoo. the size breakdown on the drives are as follows

hda1 6 gb
hda2 25 gb
hda3 6 gb

hdb 1 100 Mb
hdb2 256 Mb
hdb3 6 gb


Thanks
Back to top
View user's profile Send private message
SQLBoy
Guru
Guru


Joined: 17 Aug 2002
Posts: 381

PostPosted: Mon Aug 19, 2002 4:25 pm    Post subject: grub setup Reply with quote

Ok, just a couple things to check. Sorry i didn't ready your posted error message. First boot into your gentoo disk and get a prompt. make a /mnt/gentoo folder and a /mnt/gentoo/boot folder and then do:

mount /dev/hdb3 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot

Make sure you've copied bzImage over from /usr/src/linux/arch/i386/boot/ to /boot

Make sure you created the /boot/grub/menu.lst (thats L S T , not 1 S T)

Yours should be something like this:

default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3

# Below needed only for people who dual-boot
title=WindowsXP
root (hd0,5)
chainloader +1

Ok, now run grub from the command line and typ these commandds:

root (hd1,0)
setup(hd0)
quit

now do:
cd /
umount /dev/hdb1
umount /dev/hdb3

then reboot, grub *SHOULD* come up.
Back to top
View user's profile Send private message
ZagiFlyer
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 93
Location: San Jose, CA

PostPosted: Mon Aug 19, 2002 4:26 pm    Post subject: Reply with quote

This sounds suspiciously like Grub was not installed. Take another look at the install instructions, paying extra attention to code listings 43 and 44.
_________________
"Beer is proof that God loves us and wants us to be happy"

--Ben Franklin
Back to top
View user's profile Send private message
cto2mac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2002
Posts: 95
Location: Washington DC

PostPosted: Mon Aug 19, 2002 4:38 pm    Post subject: i did that but... Reply with quote

According to the install guide
Code listing 43

grub> root (hd0,0)
grub> setup (hd0)
grub> quit


then

Code listing 44

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=My example Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

# Below needed only for people who dual-boot
title=Windows NT Workstation
root (hd0,5)
chainloader +1


So just to make sure I have it (please check my work)

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=My example Gentoo Linux
root (hd1,0)
kernel /boot/bzImage root=/dev/hda3

# Below needed only for people who dual-boot
title=WindowsXP
root (hd0,1)
chainloader +1

Then the umount and reboot??? or then
root (hd1,0)
setup(hd0)
quit

Again thanks for the help.
Back to top
View user's profile Send private message
SQLBoy
Guru
Guru


Joined: 17 Aug 2002
Posts: 381

PostPosted: Mon Aug 19, 2002 4:57 pm    Post subject: yes butt Reply with quote

yes but if you read the install guide carefully you would know that the installation instructions are assuming your MBR and gentoo installation are on the same drive. In your situation, they are not and your config is littered with mistakes.

Your root partiition (/) is on /dev/hdb3
Your boot partion is on /dev/hdb1
Your active mbr is /dev/hda

So. this translates too
grub> root(hd1,0)
grub> setup(hd0)

and

default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3

# Below needed only for people who dual-boot
title=WindowsXP
root (hd0,5)
chainloader +1

so, just do what I say and you'll be up and running.
Back to top
View user's profile Send private message
cto2mac
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2002
Posts: 95
Location: Washington DC

PostPosted: Mon Aug 19, 2002 7:03 pm    Post subject: Thank you Reply with quote

Thanx
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