[SOLVED] Error While Trying Build of Binutils (1st Attempt)
Linux From ScratchThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
dhcppc0:~ # export LFS=/mnt/lfs
dhcppc0:~ # echo $LFS
dhcppc0:~ # mount -t ext3 /dev/sdb6 $LFS
dhcppc0:~ # df -h | grep $LFS
/dev/sdb6 9.9G 265M 9.1G 3% /mnt/lfs
dhcppc0:~ # ls -l /tools/bin/env
ls: cannot access /tools/bin/env: No such file or directory
dhcppc0:~ # chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h
chroot: failed to run command `/tools/bin/env': No such file or directory
After becoming "root user" this morning I checked "echo $LFS": no output - ran "export LFS=/mnt/lfs" - that fixed "echo" command. Ran check if LFS was mounted - no output - mounted LFS using "df -h | grep $LFS" command. Ran the other "mount" commands.
I don't know how or why they changed. Thank you for your patience and help.