Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation : Last Step : Rebooting [SOLVED]
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
toak
n00b
n00b


Joined: 04 Sep 2005
Posts: 6
Location: Quebec!

PostPosted: Sun Sep 04, 2005 9:49 pm    Post subject: Installation : Last Step : Rebooting [SOLVED] Reply with quote

Hi, I've just installed Gentoo on my AMD64 following every steps in the handbook.
I've set everything fine and correct. I'm using Windows XP on my hda and *installed* Gentoo on my hdb.
When I came to the last step, I rebooted and instead of having the choice to choose between Windows XP and Gentoo it automaticly booted Windows XP. Hmmm, I though that I might have not set GRUB with the right setting so I reboot with the CD in. Here's where it became weird, it's like Gentoo didn't installed at all. I'm trying to open /boot/grub/grub.conf but it keeps saying it does not exist. Maybe I'm wrong and it did install. I would like some support, please.

Thanks

Toak
_________________
People are strange, when you're a stranger -Jim Morrison


Last edited by toak on Sun Sep 04, 2005 11:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Sep 04, 2005 10:11 pm    Post subject: Reply with quote

You need to mount your boot partition (or whatever partition has /boot on it) first. So let's assume /dev/hdb1 is your /boot partition:
Code:
# mount /dev/hdb1 /mnt/gentoo
Now you can edit the grub.conf in there:
Code:
# nano -w /mnt/gentoo/grub/grub.conf
Then after you're done, unmount it and reboot:
Code:
# umount /mnt/gentoo ; reboot
Back to top
View user's profile Send private message
toak
n00b
n00b


Joined: 04 Sep 2005
Posts: 6
Location: Quebec!

PostPosted: Sun Sep 04, 2005 10:22 pm    Post subject: Reply with quote

So Gentoo did install? Alright then.

But, what should my grub.conf look like?

Here's how I've set it

Code:
default 0
timeout 15
splashimage=(hd1,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12
root (hd1,0)
kernel /kernel-2.6.11-gentoo-r10 root=/dev/hdb3

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

video=vesafb:mtrr,ywrap,1024x768-32@85


By the way, /boot is hdb1, /root is hdb3, swap is hdb2


Thanks

Toak
_________________
People are strange, when you're a stranger -Jim Morrison
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Sep 04, 2005 10:31 pm    Post subject: Reply with quote

That looks fine. You probably haven't installed grub to the MBR of your windows harddrive (hda). What's happening is when your computer boots it looks directly to your first, primary harddrive which is Windows and boots up to it. So, what you need to do is install GRUB in the MBR (master boot record) of the primary harddrive that way when your computer boots to it, it will boot to GRUB and then give you options as to which OS to boot.

What you need to do is boot back into the livecd and run these commands:
Code:
# mount /dev/hdb3 /mnt/gentoo ; mount /dev/hdb1 /mnt/gentoo/boot ; mount -t proc none /mnt/gentoo/proc
# chroot /mnt/gentoo /bin/bash
# cp /proc/mounts /etc/mtab
# grub-install /dev/hda
# exit
# umount /mnt/gentoo/{boot,proc,}
# reboot
Back to top
View user's profile Send private message
toak
n00b
n00b


Joined: 04 Sep 2005
Posts: 6
Location: Quebec!

PostPosted: Sun Sep 04, 2005 10:50 pm    Post subject: Reply with quote

Nice! It works now!

Thank you.

But I got another question, when I load Gentoo, it goes to a black screen with text in green, similar to when I was installing.
Is this normal? I can log in, do some commands but there is no interface like on Gentoo's screenshots.

Thanks for solving my problem.

Toak
_________________
People are strange, when you're a stranger -Jim Morrison
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Sep 04, 2005 11:01 pm    Post subject: Reply with quote

Yeah, that's normal. That interface on the LiveCD is just some special eye candy to keep users from going totally insane.

Have fun with that new system and don't run commands without knowing what they do first. ;)
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