| View previous topic :: View next topic |
| Author |
Message |
cdavidson n00b

Joined: 15 May 2005 Posts: 35 Location: Staring at the screen
|
Posted: Mon Mar 26, 2007 1:26 pm Post subject: [SOLVED] Just emerged gentoo-sources, now system can't find |
|
|
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 |
|
 |
PsychoticRetina Guru


Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Mon Mar 26, 2007 1:31 pm Post subject: |
|
|
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 |
|
 |
cdavidson n00b

Joined: 15 May 2005 Posts: 35 Location: Staring at the screen
|
Posted: Mon Mar 26, 2007 1:35 pm Post subject: |
|
|
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 |
|
 |
PsychoticRetina Guru


Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Mon Mar 26, 2007 1:38 pm Post subject: |
|
|
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 |
|
 |
cdavidson n00b

Joined: 15 May 2005 Posts: 35 Location: Staring at the screen
|
Posted: Mon Mar 26, 2007 1:42 pm Post subject: |
|
|
| That did the trick! Thanks for the help. |
|
| Back to top |
|
 |
|