How can I totally make use of the chroot I create with debootstrap on a neighborhood equipment?

I'm working on a Ubuntu 10.04, and also mounted an 8.04 variation in a directory site /stuff/hardy

sudo debootstrap --variant buildd --arch i386 hardy /stuff/hardy http://archive.ubuntu.com/ubuntu

What I intend to do is to get a workplace separated from my linux equipment (without mounting right into an additional dividing).

My trouble is, that when I chroot right into it (sudo chroot /stuff/hardy) I see that I have absolutely nothing in /proc or no network arrangement. Additionally, if I attempt to return to my residence directory site (inside durable, not 10.4),

hardy# cd I get a /home/myuser No such file or directory

Is there an (with any luck very easy) means to get an ubuntu install making use of debootstrap without a great deal of added job?

Many thanks beforehand

0
2019-12-02 03:06:28
Source Share
Answers: 2

Yes, schroot is the means to go if you intend to set up an extra full setting in your chroot. I advise mounting ubuntu - dev - devices and also making use of mk-sbuild which will certainly do every little thing for you instantly.

http://manpages.ubuntu.com/manpages/lucid/en/man1/mk-sbuild.1.html

0
2019-12-03 05:25:27
Source

You can make use of schroot as opposed to chroot, it will certainly care for establishing/ proc,/ etc and also go across place your residence. You can make use of the adhering to manuscript which aids to build/setup a schroot : http://bazaar.launchpad.net/~debfactory-devs/debfactory/devel/download/head%3A/schroot_build.py-20090314124651-txt9bwioeycax53m-1/build_schroot.py

0
2019-12-03 04:44:28
Source