Chroot to Debian

April 14, 2009 by hejian

Chroot into debian root:

chroot /path/to/debian

Mount /proc and /dev/pts

mount -t proc proc /proc
mount -t devpts -o rw,gid=5,mode=620 none /dev/pts

Make the /dev

cd /dev; /sbin/MAKEDEV generic;

Leave a Reply

You must be logged in to post a comment.

Wordpress template made by HeJian