I *thought* I had mounted /dev, /dev/pts, /dev/shm, /proc, and /sys
already, following the template offered by LFS:
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html

But, lo and behold, your suggestion works. I'll have to dig some more
and see why your command worked when LFS's didn't--they should have
the same effect.

Thanks!

On Thu, Oct 1, 2009 at 11:23 AM, Aldas Nabazas <[email protected]> wrote:
> Hey William,
>
> I came myself into same problem some time ago but didn't care much.
>
> Could you please try this and report if it works:
>
> mount -o bind /proc /your_chroot_dir/proc
> mount -o bind /dev /your_chroot_dir/dev
>
>
> Cheers,
> Aldas
>
> On Thu, Oct 1, 2009 at 12:16 AM, William Tracy <[email protected]>
> wrote:
>>
>> Stupid question.
>>
>> I've built a T2 environment to chroot into. I've mounted the virtual
>> filesystems, and everything works great--until I try to connect to a
>> website, at which point DNS resolution fails. Even something as simple
>> as "wget www.google.com" does not work.
>>
>> I've checked that /etc/resolve.conf has correct entries (copied from
>> host) and is readable, and that did not help. Are there any other
>> obvious things that I can try?
>>
>> Thanks.
>>
>> --
>> William Tracy
>> Work: [email protected]
>> Play: [email protected]
>> Cell phone: (805) 704-0917
>> Internet phone: (707) 206-6441
>>
>>
>>
>> -----------------------------------------------------------
>> If you wish to unsubscribe from this mailing, send mail to
>> [email protected] with a subject of: unsubscribe t2
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
>
>



-- 
William Tracy
Work: [email protected]
Play: [email protected]
Cell phone: (805) 704-0917
Internet phone: (707) 206-6441



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to