Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem installing Grub
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
UnclePecos
n00b
n00b


Joined: 01 Feb 2013
Posts: 1

PostPosted: Fri Feb 01, 2013 8:52 pm    Post subject: Problem installing Grub Reply with quote

Hi everyone!
I'm new to gentoo, but i wanted to try this out.
The installation went fine but when I had to install grub I run into some problems:
I configured the /boot/grub/grub.conf file as show in the guide but when I reboot the system nothing happens...
Maybe I made a mistake configuring the grub.conf, but i don't understand where.

Thx for the help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Feb 01, 2013 9:12 pm    Post subject: Reply with quote

UnclePecos,

Welcome to Gentoo.

Can you describe this 'nothing' which happens at boot in a bit more detail :)
Do you get a message like "No Operating System Found"
Nothing at all on the screen after the POST messages
No grub splash screen or menu ?
Does it go wrong after you select Gentoo from grub ?

Which version of grub do you have?
_________________
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
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Feb 01, 2013 9:18 pm    Post subject: Reply with quote

boot cd, mount gentoo partitions, enter the chroot, start grub
Code:
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
emerge grub
grub
find /boot/grub/stage1
This will return an answer in the format (hdx,y) substitute the returned values for x and y below
Code:
root (hdx,y)
This will return the file system of the /boot partition.
Code:
setup (hdx)
this will return sectors embedded and succeeded.
Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot
Assuming /boot/grub/grub.conf was edited correctly and kernel drivers exist for hard drives and file systems ....
_________________
Defund the FCC.
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