02-06-2008, 08:04 PM
main # cd / ; mkdir /sid-root
main # debootstrap sid /sid-root <!-- m --><a class="postlink" href="http://ftp.debian.org/debian/">http://ftp.debian.org/debian/</a><!-- m -->
[ ... watch it download the whole system ]
main # echo "proc /sid-root/proc proc none 0 0" >> /etc/fstab
main # mount proc /sid-root/proc -t proc
main # cp /etc/hosts /sid-root/etc/hosts
main # chroot /sid-root /bin/bash
chroot # dselect
[ you may use aptitude, install mc and vim ... ]
main # echo "8:23:respawn:/usr/sbin/chroot /sid-root " \
"/sbin/getty 38400 tty8" >> /etc/inittab
[ define a login tty that will use this system ]
main # init q
[ reload init ]
main # debootstrap sid /sid-root <!-- m --><a class="postlink" href="http://ftp.debian.org/debian/">http://ftp.debian.org/debian/</a><!-- m -->
[ ... watch it download the whole system ]
main # echo "proc /sid-root/proc proc none 0 0" >> /etc/fstab
main # mount proc /sid-root/proc -t proc
main # cp /etc/hosts /sid-root/etc/hosts
main # chroot /sid-root /bin/bash
chroot # dselect
[ you may use aptitude, install mc and vim ... ]
main # echo "8:23:respawn:/usr/sbin/chroot /sid-root " \
"/sbin/getty 38400 tty8" >> /etc/inittab
[ define a login tty that will use this system ]
main # init q
[ reload init ]