--- Em qui, 3/5/12, Scott Robertson escreveu:

> De: Scott Robertson 
> Assunto: [lfs-support] Chapter 5 questions
> Para: "lfs-support" <lfs-support@...>
> Data: Quinta-feira, 3 de Maio de 2012, 1:53
> Hello,
> 
> Can someone explain what the directory structure is supposed
> to look like in Chapter 5?
> 
> 1. Where does the Binutils folder/directory go? Where does
> the GCC folder go? That's all the further I have gotten so
> far.  I think I will probably want to know where all the
> folders go.   I created a separate partition for LFS, and
> put the folders there, is that right, or not?
> Or is it supposed to go into the /mnt/lfs folder? Or
> somewhere else?

The separate partition for LFS is supposed to be mount at /mnt/lfs, by default. 
You can always change, but why? It is easear using that:

So, in Chapter 2.4: 
<Quote>
export LFS=/mnt/lfs

Next, create the mount point and mount the LFS file system by running:

mkdir -pv $LFS
mount -v -t ext3 /dev/<xxx> $LFS

Replace <xxx> with the designation of the LFS partition.</UnQuote>

In chapter 5, you are building "tools" in $LFS/tools directory. Everything 
should be owned by lfs user: $LFS/{tools,source}/{,*}, to avoid the risk of 
braking the host system when issuing commands which are dangerous as root.



So, You should not have /media/LFS, but /mnt/lfs.




[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to