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

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

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.

2019-12-03 05:25:27

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 :

2019-12-03 04:44:28