Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub fails after instalation
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
Steve Phariss
n00b
n00b


Joined: 24 Dec 2003
Posts: 1
Location: Phoenix, AZ

PostPosted: Wed Dec 24, 2003 3:19 pm    Post subject: Grub fails after instalation Reply with quote

I had a mandrake/windows XP dualboot system that I had working with grub.

Last night I installed gentoo (overwriting an existing mandrake install). I followed the install instructions for grub and when I rebooted my system it hangs with the word GRUB on the screen (following the bios informational screen and the check for bootable CD). The only option is a reboot at this point (into a live CD )

my partition table is as follows:

hda1 - NTFS XP installation
hda2 - NTFS Data drive
hda3 - Linux boot
hda7 - Linux root
hda8 - Linux swap

I did the following commands during the install (after starting grub)

root (hd0,0)
setup (hd0,6)

then created the grub.conf (I am at work right now so do not have the conf file handy)


does anyone have any ideas on:
1) how to get grub to at least allow commandline entry to get into windows and gentoo.
2) what happened :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Wed Dec 24, 2003 3:26 pm    Post subject: Reply with quote

Steve Phariss,

Quote:
setup (hd0,6)
is wrong if you intended to put grub on /dev/hda3.
setup (hd0,2) would be better.

Regards,

NeddySeagoon
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
D. M. P. inc
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 228
Location: /home/dmpinc

PostPosted: Wed Dec 24, 2003 3:28 pm    Post subject: Reply with quote

#grub setup

root (hd0,0) (Your boot partition)

setup (hd0,2)


that should make it work

grub setup/count of ur partition starts from 0 not 1 so when u look @ ur boot partition is 0 not 1 coz grub starts @ 0. hope this clear it out for yah
_________________
Live And Learn.
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