我爱折腾,我用LFS
Wednesday, 23. May 2007, 14:09:33
其实我不是太喜欢折腾,我用LFS的目的正是不用折腾,当我对编译系统的步骤越来越熟悉,我就可以用ALFS自动安装了。
但要达到不折腾的目的还需要先折腾很长一段时间。
The only way to learn a new programming language is by writing programs in it.
Wednesday, 23. May 2007, 14:09:33
Friday, 16. March 2007, 16:59:04
cat > version-check.sh << "EOF" #!/bin/bash # Simple script to list version numbers of critical development tools bash --version | head -n1 | cut -d" " -f2-4 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4 bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6- echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2 diff --version | head -n1 find --version | head -n1 gawk --version | head -n1 gcc --version | head -n1 /lib/libc.so.6 | head -n1 | cut -d" " -f1-7 grep --version | head -n1 gzip --version | head -n1 cat /proc/version | head -n1 | cut -d" " -f1-3,5-7 make --version | head -n1 patch --version | head -n1 sed --version | head -n1 tar --version | head -n1 EOF bash version-check.sh
bash, version 3.1.17(1)-release Binutils: version 2.16.1 bzip2, Version 1.0.3, 15-Feb-2005. Coreutils: 5.96 diff (GNU diffutils) 2.8.1 GNU find version 4.2.27 GNU Awk 3.1.5 gcc (GCC) 4.0.3 GNU C Library stable release version 2.3.6, grep (GNU grep) 2.5.1 gzip 1.3.5 Linux version 2.6.18-3-686 2.6.18-7) (waldi@debian.org) (gcc GNU Make 3.80 patch 2.5.4 GNU sed version 4.1.5 tar (GNU tar) 1.15.1
Thursday, 15. March 2007, 05:10:14
Thursday, 15. March 2007, 02:37:16
#hdparm -d 1 -c 3 -m 16 -u 1 -a 1024 /dev/hda #mount /dev/hda8 /mnt/gentoo #mount /dev/hda6 /mnt/gentoo/boot #cd /mnt/gentoo #mount -t proc none /mnt/gentoo/proc #mount -o bind /dev /mnt/gentoo/dev #chroot /mnt/gentoo/ /bin/bash #env-update #source /etc/profile #export PS1="(chroot) $PS1"