Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]When I emerge grub system froze. Where do I...
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
mlsbraves
n00b
n00b


Joined: 17 Feb 2006
Posts: 31
Location: Gulfport, MS

PostPosted: Fri Feb 17, 2006 4:50 pm    Post subject: [SOLVED]When I emerge grub system froze. Where do I... Reply with quote

Everything was going fine until I got to installing my bootloader. When I emerged grug, during the compiling the system just froze and had to be turned off. My question is where do I go from here? Do I need to start all over or can I resume from where I left off. I mounted the harddrive and it appears everythings on there. Except when I looked in /usr/src/ it appeared to be empty. Shouldn't my kernel be in there?

I'm running the AMD64 universal cd.

Thanks for your time


Last edited by mlsbraves on Fri Feb 17, 2006 10:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Fri Feb 17, 2006 5:25 pm    Post subject: Reply with quote

You can just start where you left off. Make sure you re-mount all your partitions to /mnt/gentoo/, /mnt/gentoo/boot etc. then chroot again as the manual states. Get back exactly to where you were. Your kernel should be under /boot. not /usr/src - the Linux Kernel Sources are under /usr/src, and won't be there until you emerge kernel sources.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Feb 17, 2006 5:27 pm    Post subject: Reply with quote

Hi and welcome to the forums.

You should read the Gentoo GRUB error collection. As stated there, you should try using grub-install --no-floppy /dev/boot-partition.
Since your system locked, you need to restart with the live-cd, mount the partitions, chroot and continue from where you left off:
Code:
# mount ... /mnt/gentoo
# mount ... /mnt/gentoo/boot
# mount -t proc proc /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# cat /proc/mounts /mnt/gentoo/etc/mtab
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# ...

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
mlsbraves
n00b
n00b


Joined: 17 Feb 2006
Posts: 31
Location: Gulfport, MS

PostPosted: Fri Feb 17, 2006 5:55 pm    Post subject: Reply with quote

Should I try to unemerge grub or since it locked up and didnt finish compiling I dont have to worry about it?
Also do I need to
Code:
export PS1="(chroot) $PS1"


Cause I dont remember this being there when I installed with x86 but its in the man for AMD64

When I: ls /mnt/gentoo/boot nothing shows up. Is this ok?

Thanks for your help
Back to top
View user's profile Send private message
mlsbraves
n00b
n00b


Joined: 17 Feb 2006
Posts: 31
Location: Gulfport, MS

PostPosted: Fri Feb 17, 2006 6:52 pm    Post subject: Reply with quote

nm.. grub-install didn't work but I went ahead and tried emerge grub and it worked this time. everything seems to be showing up in /boot now.

Thanks for the help
Back to top
View user's profile Send private message
PeaceTank
n00b
n00b


Joined: 27 Dec 2004
Posts: 51
Location: Illinois

PostPosted: Fri Feb 17, 2006 10:31 pm    Post subject: Reply with quote

Quote:

Should I try to unemerge grub or since it locked up and didnt finish compiling I dont have to worry about it?
Also do I need to
Code:
export PS1="(chroot) $PS1"



Glad everything worked out for you.

Just for clarification, the command you referenced changes your prompt so that it's clear you're in the chrooted environment (by adding (chroot) in front of the normal prompt). Nothing that will change the way your gentoo install works, it's just a friendly reminder of where you are in the install process. If you've now gotten it to work, go ahead and stick [solved] in the subject of your post. Enjoy your install.
_________________
It's a joyless existence, being smushed.
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