Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Just emerged gentoo-sources, now system can't find
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cdavidson
n00b
n00b


Joined: 15 May 2005
Posts: 35
Location: Staring at the screen

PostPosted: Mon Mar 26, 2007 1:26 pm    Post subject: [SOLVED] Just emerged gentoo-sources, now system can't find Reply with quote

I am doing an install on my machine at home via an SSH connection from my office. Everything has been going fine. I was in chapter 7 of the Gentoo Handbook and I came to step 7b. I issued the command "emerge gentoo-sources", emerge started doing its thing, and I left for lunch. When I got back, the emerge had finished, but my SSH connection had timed out, so I reconnected (I connect to SSH via a non-privileged account and then su - to do installation tasks). Once I reconnected, I checked to make sure that the symlink was there in /usr/src/linux as it should be (step 7b), but it wasn't. After some head-scratching, I decided to re-emerge gentoo sources, but when I try I get:

Code:

livecd / # emerge gentoo-sources
-bash: emerge: command not found
livecd / #


How in the world does emerge just dissapear? I've been searching for problems similar to mine, but I'm coming up empty. Appreciate any help I can get.


Last edited by cdavidson on Mon Mar 26, 2007 1:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Mon Mar 26, 2007 1:31 pm    Post subject: Reply with quote

did you chroot after sshing back in?

EDIT: if you didnt, it could explain the missing symlink in /usr/src as well.
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
cdavidson
n00b
n00b


Joined: 15 May 2005
Posts: 35
Location: Staring at the screen

PostPosted: Mon Mar 26, 2007 1:35 pm    Post subject: Reply with quote

I'm (obviously) a n00b, but I didn't know that I had to chroot each time I reconnected with SSH. Should the following from the handbook do the trick?
Code:

# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile
# export PS1="(chroot) $PS1"
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Mon Mar 26, 2007 1:38 pm    Post subject: Reply with quote

i believe so. just check with mount before chrooting to make sure all is in place. if its not for some peculiar reason, just mount all your partitions and chroot.
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
cdavidson
n00b
n00b


Joined: 15 May 2005
Posts: 35
Location: Staring at the screen

PostPosted: Mon Mar 26, 2007 1:42 pm    Post subject: Reply with quote

That did the trick! Thanks for the help.
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 - 5 Hours
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