Dariusz on Software

Methods and Tools

About This Site

Software development stuff

Archive

Entries from November 2012.

Thu, 15 Nov 2012 10:13:25 +0000

First question: why do you need local Debian-based install inside your Debian distro? Sometimes you want to check some experimental packages and don't want to break your base system or start some service in isolated environment without virtualisation effort. Then chroot comes as an effective solution for you!

First of all you have the debootstrap program that is used to do all the job you need: sudo apt-get install debootstrap

Then you select your favourite distro version and download URL: sudo debootstrap --arch i386 squeeze /home/debian-chroot http://ftp.debian.org/debian

And you jump to your newly-installed system: sudo chroot /home/debian-chroot

And: voila! Done!

Tags: debian, linux.

Tags

Created by Chronicle v3.5