Posts Tagged ‘Debain’

Chroot to Debian

Tuesday, April 14th, 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;

Wordpress template made by HeJian