Most of the time I use chroot
to rescue an existing installation from usb.
When I chroot
into another system I have to manually bind-mount proc
, sys
, dev
and dev/pts
by issuing for example:
mount --bind /proc proc/
Is there an easy way already implemented in a standard Ubuntu install?
--bind
only mounts the specific named filesystem; it won't includepts
or for that mattershm
. However if you usemount --rbind
it will work. – poolie Apr 12 '11 at 02:33mount --bind
;) – turbo Apr 12 '11 at 12:50screen
would be an example of something that needs a pseudoterminal from/dev/pts
, though it might fall back to putting them just under/dev/
. – poolie Apr 13 '11 at 00:18