| 
					
				 | 
			
			
				@@ -16,11 +16,17 @@ actually /mnt/lfs but the shell doesn't know that). 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <blockquote><literallayout> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<userinput>cd $LFS &&</userinput> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<userinput>chroot $LFS /usr/bin/env -i HOME=/root /bin/bash  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		--login</userinput> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<userinput>chroot $LFS /usr/bin/env -i HOME=/root \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		TERM=`echo $TERM` /bin/bash --login</userinput> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </literallayout></blockquote> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+The TERM=`echo $TERM` construction will set the $TERM value inside 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+chroot to the same value as outside chroot which is needed for programs 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+like vim and less to operate properly. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 Now that we are inside a chroot'ed environment, we can continue to 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 install all the basic system software. Make sure you execute all the 
			 |