Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




ChRoot: Multiple Distributions

The chroot allows multiple installs on the one machine without rebooting! In this way you can then keep an older ``stable'' release that some applications might require, and run those applications as in:

sudo chroot /path/to/chroot /bin/sh

Set it up with (from

  # cd / 
  # mkdir /sid-root
  # debootstrap sid /sid-root
     ... watch it download the whole system
  # echo "proc-sid /sid-root/proc proc none 0 0" >> /etc/fstab
  # mount proc-sid /sid-root/proc -t proc
  # cp /etc/hosts /sid-root/etc/hosts
  # chroot /sid-root /bin/bash
  # apt-setup # set-up /etc/apt/sources.list
  # vi /etc/apt/sources.list # point the source to unstable
  # dselect  # you may use aptitude, install mc and vim :-)

I tried with a local mirror but failed:

  # debootstrap sid /sid-root
  I: Retrieving
  E: Couldn't download libc6

Copyright © 1995-2006 [email protected]

  Published under the terms fo the GNU General Public License Design by Interspire