[email protected] wrote:
I should login as root or lfs to begin?
Any user will do, but generally not lfs if you follow the book
explicitly. Section 4.3:
groupadd lfs
useradd -s /bin/bash -g lfs -m -k /dev/null lfs
...
su - lfs
I can't extract for the first package
-----------
lfs:/mnt/lfs/sources$ tar xvjf binutils-2.24.tar.bz2
I don't like bsd style options. They can give what you don't expect.
The above is ok, but the v and j are not needed. Use
tar -xf binutils-2.24.tar.bz2
tar (child): binutils-2.24.tar.bz2: Cannot open: Permission denied
You should be able to figure out permission problems yourself to build
LFS.
Section 3.1:
mkdir -v $LFS/sources
chmod -v a+wt $LFS/sources
Later as user lfs in Chapter 5:
cd $LFS/sources
tar -xf binutils-2.24.tar.bz2
But you don't, strictly speaking, need to be in $LFS/sources. For
Chapter 5, from any writable directory by user lfs:
tar -xf $LFS/sources/binutils-2.24.tar.bz2
and proceed from there. But you can't do that in Chapter 6, so the most
consistent place for everything is $LFS/sources (which will be /sources
in Chapter 6).
-- Bruce
--
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