On Wed, Feb 10, 2010 at 7:28 PM, Hendrik Boom <hend...@topoi.pooq.com> wrote:
[snip]
> Now I presume this is because /dev is absent from the chroot and it's
> trying to use /dev/fd/0 -- the device that acts like stdin.  What do I do
> to set things up so that I have a valid /dev?  The /dev outside the
> chroot is set up by udev.  Is there some way of mounting it from inside
> the chroot?

I've read somewhere that udev is able to work from within a chroot,
which is why you need to bind or rbind mount it as suggested above.

>Is there some way of duplicate-mounting it from outside so
> it's visible inside?  And there are probably similar problems with /proc,
> though I haven't hit them yet.

Since you're doing this regularly, take a look at schroot which helps
manage chroots including mounting and unmounting /dev, /home/ etc.

http://delicious.com/tag/schroot


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ae6dd7d31002140729m6f8f1de9lf2723bfc82d31...@mail.gmail.com

Reply via email to