Tanya 1 : The system has no more ptys.

Tanya :
Saya sedang menginstall binutils di Linux from Scratch
Ketika menjalankan perintah

expect -c "spawn ls"

Saya mendapatkan pesan

The system has no more ptys.  Ask your system administrator to create more.
    while executing
"spawn ls"

Apa yang harus saya lakukan ?
Jawab :
Pesan kesalahan itu biasanya muncul karena anda lupa melakukan proses mounting di awal. Lakukan tahapan mounting sebelum masuk ke chroot :

mount -v --bind /dev $LFS/dev
mount -vt devpts devpts $LFS/dev/pts
mount -vt tmpfs shm $LFS/dev/shm
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys

Lakukan lagi perintah

expect -c "spawn ls"

tadi di lingkungan chroot

Be the first to comment

Leave a Reply

Your email address will not be published.


*