Debootsrap Befehl
debootstrap --variant=buildd --arch i386 hardy /var/chroot/hardy http://archive.ubuntu.com/ubuntu/
Mount
mkdir /mnt/chroot
mount -o bind /dev /mnt/chroot/dev
mount -o bind /dev/pts /mnt/chroot/dev/pts
mount -t sysfs /sys /mnt/chroot/sys
mount -t proc /proc /mnt/chroot/proc
Wurzelverzeichnis ändert
chroot /mnt/chroot /bin/bash
Optional
apt-get update
apt-get --no-install-recommends install wget debconf devscripts gnupg nano
apt-get update
apt-get install locales dialog
Sprache einstellen
export LANGUAGE=de_DE.UTF-8
export LANG=de_DE.UTF-8
export LC_ALL=de_DE.UTF-8
locale-gen de_DE.UTF-8
dpkg-reconfigure locales
Fehler
cannot connect to Upstart
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl