It’s just data

Bootstrapping Debian Unstable

It turns out that the following is all it takes to install Debian Unstable in a chroot jail under Ubuntu, and then to log into that jail as root:

apt-get install debootstrap schroot
mkdir /tmp/unstable
debootstrap unstable /tmp/unstable
chroot /tmp/unstable

There are a few things that need cleaning up, however, starting with locales:

apt-get install locales
dpkg-reconfigure locales

Once there, select en_US.UTF-8 UTF-8 both to be installed, and as the default locale.

The following will eliminate a number of other warnings you may see:

echo "none /dev/pts devpts defaults 0 0" >> /etc/fstab
mount /dev/pts

Next add a user, and enable that user to log in via sudo

adduser rubys
apt-get install sudo
echo "rubys     ALL=(ALL:ALL) ALL" > /etc/sudoers.d/rubys
chmod 440 /etc/sudoers.d/rubys

Note: visudo can be used as an alternative.  For reasons I don’t understand, usermod -a -G sudo rubys did not have the desired effect.

One final bit of configuration before logging out as root: define some text that will show up in the prompt and window title area:

echo wheezy > /etc/debian_chroot

Back on your “host” operating system, add the following to /etc/schroot/schroot.conf:

description=Debian wheezy/sid (unstable)

At this point, you should be able to “log in” to your chroot jail with the following command:


We have a tool in ubuntu-dev-tools for automating the creation of schroots: mk-sbuild (we usually use them for package building, but they are also handy for any throw-away playing around)

Posted by Stefano Rivera at

It turns out that the following is all it takes to install Debian Unstable in a chroot jail under Ubuntu, and then to log into that jail as root Read more here...

Excerpt from - Your one stop for news about Debian at

Instead of using usermod to add a group, try ‘adduser username group’, if the user already exists it will add him to the group you specified.

Posted by asdf at

Run Debian Unstable within Ubuntu

[link] Filed under: Linux, Security...

Excerpt from 0ddn1x: tricks with *nix at

sudo apt-get install debian-archive-keyring

Posted by Sam Ruby at

Use with apt-cacher-ng:

debootstrap unstable /tmp/unstable

Heed the warning: one apt-cacher per distribution.

Posted by Sam Ruby at

We are learning, too, that the love of beauty is one of Nature’s greatest healers.

Posted by SEO Liverpool at

Payday advance is a bland name to a moderately new type of loaning cash. Cash Advance ChicagoAuto Title Loans Chicago
Payday Loans Chula-vistaCash Advance Corona

Posted by cash advance at

by visiting this site I found cool stuff here keep it up.

Posted by CS Project Help at

I personally like your post; you have shared good insights and experiences. Keep it up.

Posted by Programming Assignment Help Service at

Really i appreciate the effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up . Thanks for sharing.

Posted by Cheat Online Exam at

Precisely where there exists a new pro, we are competitors helping coffee bean moment, is to use while at work.

Posted by shoes in stock at

Add your comment