'xterm': unknown terminal type.

Jim Gifford lfs at jg555.com
Wed Aug 25 10:04:49 PDT 2004


Chuck Teal wrote:

>Yes, I am building inside KDE.  I did try switching to
>a virtual terminal to accomplish the same thing.  With
>that I also got an error message saying it did not
>recognize the  terminal type linux.  I don't have the
>exact output because I am at work currently.
>
>However, I am using Mandrake 10 as my base OS.  They
>do something to change the defaults for the terminal
>on boot up.  I don't know what.  I only notice because
>the fonts are "nicer" than for most non-gui boot ups.
>
>I should add I am using LFS 5.1.1 downloaded. 
>Everything has went well up until this point.  I am
>trying to complete the step "Making the LFS system
>bootable"  in  Chapter 8.
>
>Should I consider installing grub via a boot disk?  My
>current boot config is GAG which points to 'lilo' or
>'ntloader'.
>
>--- Jim Gifford <lfs at jg555.com> wrote:
>
>  
>
>>Chuck Teal wrote:
>>
>>    
>>
>>>I built up my system until it came to the point of
>>>installing the GRUB.  I wasn't sure if this was the
>>>way I wanted to do it, so I left the chroot
>>>environment.
>>>
>>>I tried to enter the LFS environmnet using the
>>>following script: (as instructions in Chap 6 end)
>>>
>>>chroot "$LFS" /usr/bin/env -i \
>>>   HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
>>>   PATH=/bin:/usr/bin:/sbin:/usr/sbin \
>>>   /bin/bash --login
>>>
>>>The first problem is that there is not a
>>>      
>>>
>>'/usr/bin/env
>>    
>>
>>>-i' but there exists a '/bin/env -i'.  So I just
>>>modified the script to get back into chroot.
>>>
>>>When I try to execute 'grub' or 'clear' I get the
>>>error message:
>>>
>>>'xterm': unknown terminal type.
>>>
>>>That prevents me from installing grub.  I get
>>>additional output when using the 'grub' command:
>>>
>>>Probing devices to guess BIOS drives. This may take
>>>      
>>>
>>a
>>    
>>
>>>long time.
>>>Error opening terminal: xterm.
>>>
>>>When I use a echo $PATH:
>>>
>>>/bin:/usr/bin:/sbin:/usr/sbin
>>>
>>>I get what I expect.  I guess I have two questions:
>>>
>>>1) Should I be concerned that I don't have a
>>>/usr/bin/env ?
>>>
>>>2) Why am I getting this xterm error?
>>>
>>>Thanks for any help.
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam
>>>      
>>>
>>protection around 
>>    
>>
>>>http://mail.yahoo.com 
>>> 
>>>
>>>      
>>>
>>Are you building inside of a gui like x, kde, or
>>gnome?
>>
>>
>>-- 
>>------
>>jim at linuxfromscratch.org
>>lfs at jg555.com
>>
>>LFS User # 2577
>>Registered Linux User # 299986
>>
>>FWD: 275410
>>IPKall: 360-968-1517
>>
>>-- 
>>
>>    
>>
>http://linuxfromscratch.org/mailman/listinfo/lfs-support
>  
>
>>FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>Unsubscribe: See the above information page
>>
>>    
>>
>
>
>
>		
>_______________________________
>Do you Yahoo!?
>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>http://promotions.yahoo.com/goldrush
>  
>
Builds inside kde don't always work properly. If you want to do a build 
it's recommended that you use runlevel 3.  That may solve most of the 
issues you are having.

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986

FWD: 275410
IPKall: 360-968-1517




More information about the lfs-support mailing list