Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 05-05-2005, 02:45 PM   #1
Registered: Mar 2005
Posts: 44

Rep: Reputation: 15
"there are no more ptys" error!..pls help!!

hi all,

well i completed chapter 5 as specified in the Docs , am using LFS 6.0, and i didnt get any error while installing the packages........but once i entered "chroot' n chapter 6, am getting error when i type the command,

expect -c "spawn ls"

it is throwing this error

there are no more ptys.

how to rectify this error??......i have re-tried the chapter 6 several times..but the end result is same!!

i would be happy if any one can help me..

thanks in advance...

with regards,
Old 05-05-2005, 06:41 PM   #2
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
sounds like you forgot a step -

mkdir -p $LFS/{proc,sys}
mount -t proc proc $LFS/proc
mount -t sysfs sysfs $LFS/sys
mount -f -t ramfs ramfs $LFS/dev
mount -f -t tmpfs tmpfs $LFS/dev/shm
mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts

or possibly the host system doesn't have devpts mounted?
Old 05-07-2005, 11:15 AM   #3
LQ Newbie
Registered: May 2005
Posts: 1

Rep: Reputation: 0
chmod 666 /dev/ptmx
chmod u=rwxs,g=rx,o=rx $LFS/tools/libexec/pt_chown
chown root:root $LFS/tools/libexec/pt_chown
helped me. have a look at the lfs wiki for more infos
Old 05-07-2005, 01:48 PM   #4
Registered: Mar 2005
Posts: 44

Original Poster
Rep: Reputation: 15
hi all,

thanks for the command dirkk,but my system doesnt seems to work becoz i tried many nonsense work!..forget abt am rebuilding LFS now...........anyway i have noted down ur CODE.............i think it would help me in future...............from now onwards..............i have to be very carefull in building and NOT RESTART MY BUILD UNLESS IT IS TO.,......

with regards,

Last edited by chakkaradeepcc; 05-07-2005 at 01:58 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
screen error "no more PTYs" darcon3k Linux - Software 10 04-19-2011 05:30 PM
Error: "cannot set groups" by using "su -", pls help nelsonyuen Linux - General 14 07-31-2010 01:24 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 01:49 PM
xterm not spawning "not enough ptys" sohmc Linux - General 4 09-23-2004 08:42 PM

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration