Open wutiejun opened 8 years ago
jimmy@ubuntu-jimmy:/LFS$ ll
total 20
drwxr-xr-x 5 jimmy jimmy 4096 Jun 28 05:19 ./
drwxr-xr-x 22 root root 4096 Jun 28 05:17 ../
drwxrwxr-x 2 jimmy jimmy 4096 Jun 28 05:19 boot/
drwxrwxr-x 3 jimmy jimmy 4096 Jun 28 05:19 build/
drwxrwxr-x 2 jimmy jimmy 4096 Jun 28 05:19 home/
export LFS=/mnt/lfs
jimmy@ubuntu-jimmy:/LFS/build$ echo $LFS
/LFS
jimmy@ubuntu-jimmy:/LFS/build$
# LFS示例:
mkdir -pv $LFS
mount -v -t ext4 /dev/<xxx> $LFS
# 在root下mount新的分区
root@ubuntu-jimmy:~# mount -t ext4 /dev/sdb /LFS/
# 修改权限
root@ubuntu-jimmy:~# chown jimmy:jimmy -R /LFS/
root@ubuntu-jimmy:~#
# 退出root
root@ubuntu-jimmy:~# logout
jimmy@ubuntu-jimmy:~/LFS_Build$
mkdir -v $LFS/sources
chmod -v a+wt $LFS/sources
wget --input-file=wget-list --continue --directory-prefix=$LFS/sources
pushd $LFS/sources
md5sum -c md5sums
popd
Linux From Scratch
http://www.linuxfromscratch.org/lfs/index.html
Build log and problems!!!
Beyond Linux From Scratch
http://www.linuxfromscratch.org/blfs/view/svn/index.html
file list