I just finished installing most of LFS Version 7.6-systemd-rc2, up to
Section 6.72 of the LFS book.

I got an error when I tried to chroot as instructed:

########################
root:/# chroot "$LFS" /usr/bin/env -i              \
>     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
>     PATH=/bin:/usr/bin:/sbin:/usr/sbin     \
>     /bin/bash --login
chroot: failed to get attributes of '': No such file or directory
########################

Bash is definitely installed properly:

########################
root:/# /bin/bash --version
GNU bash, version 4.3.24(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
########################

So is env:

########################
root:/usr/bin# /usr/bin/env --version
env (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Mlynarik and David MacKenzie.
########################

Any clue what's going wrong?

Alan



--
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