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
debootstrap unstable /tmp/unstable
There are a few things that need cleaning up, however, starting with locales:
apt-get install 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
Next add a user, and enable that user to log in via sudo
apt-get install sudo
echo "rubys ALL=(ALL:ALL) ALL" > /etc/sudoers.d/rubys
chmod 440 /etc/sudoers.d/rubys
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
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)
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...
Debian-News.net - Your one stop for news about Debian
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.
Run Debian Unstable within Ubuntu
[link] Filed under: Linux, Security... 0ddn1x: tricks with *nix
sudo apt-get install debian-archive-keyring Sam Ruby at
Use with apt-cacher-ng:
debootstrap unstable /tmp/unstable http://192.168.1.103:3142/ftp.us.debian.org/debian/
warning: one apt-cacher per distribution. Sam Ruby at
We are learning, too, that the love of beauty is one of Nature’s greatest healers.
SEO Liverpool at
Success consists of going from failure to failure without loss of enthusiasm.
Security Shutters at
You produce a great point in your own final paragraph. We couldn’t agree more together with your points. In today’s modern world, your approach to this issue is lacking in today’s kids. We need to ensure that our kids find out more on this topic so we nev