Is there an easier way to chroot than bind-mounting?
Solution 1:
See the schroot package. Man Page
As an alternative, you can shorthand the bind mounting with:
for f in proc sys dev ; do mount --bind /$f /mnt/$f ; done
See the schroot package. Man Page
As an alternative, you can shorthand the bind mounting with:
for f in proc sys dev ; do mount --bind /$f /mnt/$f ; done