Monday, December 4, 2006

/dev/pts missing in a chroot

You have a linux installation in a chroot, and when you enter the chroot some applications seem to hang forever (e.g. apt-get or aptitude) or su is not working?

This probably means your chroot shell no longer has a pseudo terminal attached, and some applications need this.

Just add a line like this to your /etc/fstab in order to fix it:


devpts32        /my/chroot/location/dev/pts devpts defaults    0       0


Of course you also have to mount it.

1 comment:

Anonymous said...

Thank you!!!