Linux : environnement Debian chrooté

Boris HUISGEN April 24, 2013

administration système linux debian chroot

root@muse:~# apt-get install debootstrap
root@muse:~# debootstrap --variant=minbase squeeze /opt/chroot/debian-squeeze

root@muse:~# mount -o bind /proc /opt/chroot/debian-squeeze/proc/
root@muse:~# mount -o bind /dev /opt/chroot/debian-squeeze/dev/
root@muse:~# mount -o bind /sys /opt/chroot/debian-squeeze/sys/
root@muse:~# chroot /opt/chroot/debian-squeeze /bin/bash

See also

Debian : installer un firewall léger
Read more
Debian : archive des dépôts
Read more
Debian : configuration du scheduler I/O
Read more