Had a problem the other day. For some reason I couldn't install an app with removing some packages and lost X. Being that I'm impatient I thought it might be easier to re-install bt4 than try and trouble shoot why I have no desktop. Anyway, I didn't realize when I re-installed I overwrote my drivers. One of which (I really need for internet) I have to get from debian. But only seems to work if I briefly edit my apt sources.list. Alone dpkg -i just throws erros. But since I have no internet I thought I'd pop out a debian livecd(where my card is automatically detected) and use chroot to get a shell in bt and get the driver in question.

My problem:
So I used "chroot /mnt/bt" and things seemed to be working great until I tried to actuall install with apt-get:

Code:
dpkg-preconfigure: unable to re-open stdin: 
Can not write log, openpty() failed (/dev/pts not mounted?)
I remembered coming across this and thought from the debian shell I could use this to fix it:
Code:
# mount --bind /dev/pts /mnt/bt/dev/pts
mount: mount point /mnt/bt/dev/pts does not exist
Seeing the directory didn't exist I looked inside /dev/ only to find "null"
Code:
# mount --bind /dev/pts /mnt/bt/dev/pts
mount: mount point /mnt/bt/dev/pts does not exist
I'm thinking I must be missing something, but the first step from the ubuntu tutorial I linked didn't seem to work either. Any help, much appreciated.