View previous topic :: View next topic |
Author |
Message |
cto2mac Tux's lil' helper
Joined: 17 Aug 2002 Posts: 95 Location: Washington DC
|
Posted: Mon Aug 19, 2002 4:01 pm Post subject: Installed Gentoo 1.2 but grub wont come up |
|
|
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 |
|
|
SQLBoy Guru
Joined: 17 Aug 2002 Posts: 381
|
Posted: Mon Aug 19, 2002 4:14 pm Post subject: what happens |
|
|
What happens when you try to boot, what is the error? |
|
Back to top |
|
|
cto2mac Tux's lil' helper
Joined: 17 Aug 2002 Posts: 95 Location: Washington DC
|
Posted: Mon Aug 19, 2002 4:21 pm Post subject: there is no error |
|
|
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 |
|
|
SQLBoy Guru
Joined: 17 Aug 2002 Posts: 381
|
Posted: Mon Aug 19, 2002 4:25 pm Post subject: grub setup |
|
|
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 |
|
|
ZagiFlyer Tux's lil' helper
Joined: 19 Apr 2002 Posts: 93 Location: San Jose, CA
|
Posted: Mon Aug 19, 2002 4:26 pm Post subject: |
|
|
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 |
|
|
cto2mac Tux's lil' helper
Joined: 17 Aug 2002 Posts: 95 Location: Washington DC
|
Posted: Mon Aug 19, 2002 4:38 pm Post subject: i did that but... |
|
|
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 |
|
|
SQLBoy Guru
Joined: 17 Aug 2002 Posts: 381
|
Posted: Mon Aug 19, 2002 4:57 pm Post subject: yes butt |
|
|
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 |
|
|
cto2mac Tux's lil' helper
Joined: 17 Aug 2002 Posts: 95 Location: Washington DC
|
Posted: Mon Aug 19, 2002 7:03 pm Post subject: Thank you |
|
|
Thanx |
|
Back to top |
|
|
|