Click to See Complete Forum and Search --> : [SOLVED] more gentoo: no net after chroot


s3raphim
01-20-2005, 11:51 PM
So I chroot into my new installation enviroment and I think I lost the network. To run emerge --sync I had to put rsync.gentoo.org in my etc/hosts file (very bad I know). Now I'm going to bootstrap and the script can't connect to any of the ftp servers. I was so hoping to let this run over night! Anyway, to chroot I did this:

# chroot /mnt/gentoo/ /bin/bash
# env-update
# source /etc/profile
without any problems.

Is there a way to un-chroot? chroot again? ping and all those lovely things no longer work. :(

Does it make a difference that my command prompt still reads
"livecd portage #"? The livecd bit doesn't entirely make sense to me...

sharth
01-21-2005, 12:15 AM
copy your resolv.conf into the chroot.

"exit" will have you leave the chroot.

Icarus
01-21-2005, 12:22 AM
Originally posted by sharth
"exit" will have you leave the chroot. or Cntl+d
one of my favorate shell shortcuts :)

s3raphim
01-21-2005, 09:50 AM
Whee another problem solved!!

emerge happy-geek