> From: Michael Havens <[email protected]>
> Date: Thu, 5 Nov 2015 09:45:12 -0500
> To: LFS Support List <[email protected]>
> Subject: Re: [lfs-support] 5.33
>
        .
        .
> lfs@debian:~$ /usr/bin/readelf -e /tools/bin/ls | grep interp
> bash: /tools/bin/grep: No such file or directory


You want to use full path there for grep too:

/usr/bin/readelf -e /tools/bin/ls | /bin/grep interp


Also what do you get from:

/bin/ls /tools

/bin/ls /mnt/lfs


> lfs@debian:~$ /bin/ls
> history.txt


What directory is that in? Do:

/bin/pwd


> >
> > Also, you should be able to verify what $LFS says; plus whether /tools/bin/
> > exists and is mounted, and what it contains; plus whether you are in chroot
> > or not.
> >
>
> lfs@debian:~$ mount
> <edit>
> /dev/sda3 on /mnt/lfs type ext4
> <edit>
> lfs@debian:~$
>


Also do:

echo $LFS

/bin/cat /proc/mounts


And, are you definitely sure that you are not in chroot.


Don't omit any of the above-requested info (bitte; danke).


> > Last thing, as a general point, stated again: it really really is normally
> > very useful to have built the book manually at least once, prior to trying
> > scripting it.
> >
>
> That is exactly what I am going to do. I am copying the text out of the
> scripts and pasting them in.
>


Be sure to read the text too, and carefully.


In particular, be clear (if not already) that at several places you are
changing your working environment - e.g. mounts, non-root, root, chroot,
the various environemnt-vars setups, &c: and if you undo any of that setup
(e.g. via machine reboot, or whatever) then you need to reinstate it all
properly, prior to continuing where you left off; you can't just resume
copy'n'paste of commands from where you left off. IOW, you are copy'n'pasting
commands always within a particular context, that needs to be just-so.



akh



> -- 
> :-)~MIKE~(-:


--
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to