This is an old revision of the document!


How-to chroot into Debian

Files needed

Installing steps

  1. mkdir /mnt/HD_a2/work && cd /mnt/HD_a2/work
  2. ln -s /mnt/HD_a2/bzip2 /mnt/HD_a2/bzcat
  3. /mnt/HD_a2/bzcat debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2 | /mnt/HD_a2/tar -xvf -
  4. export DEBOOTSTRAP_DIR=`pwd`/usr/lib/debootstrap
  5. ./usr/sbin/debootstrap –arch powerpc sid /mnt/HD_a2/debian http://ftp.nl.debian.org/debian
  6. cp /etc/resolv.conf /mnt/HD_a2/debian/etc/resolv.conf
  7. mount -t proc proc /mnt/HD_a2/debian/proc
  8. cd /
  9. chroot /mnt/HD_a2/debian
  10. apt-get update
  11. apt-get install locales
  12. dpkg-reconfigure locales

FIXME This wiki page is writing in progress.


Personal Tools