LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-05-2005, 01:45 PM   #1
chakkaradeepcc
Member
 
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,
C.C.Chakkaradeep
 
Old 05-05-2005, 05:41 PM   #2
gbhil
Member
 
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 -

Code:
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
http://lfs.osuosl.org/lfs/view/6.0/c...06/kernfs.html


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

Rep: Reputation: 0
Code:
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, 12:48 PM   #4
chakkaradeepcc
Member
 
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 it...........so 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,
C.C.Chakkaradeep

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


Reply



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 04:30 PM
Error: "cannot set groups" by using "su -", pls help nelsonyuen Linux - General 14 07-31-2010 12:24 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
xterm not spawning "not enough ptys" sohmc Linux - General 4 09-23-2004 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:55 AM.

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