http://www.linuxfromscratch.org/
Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own custom Linux system, entirely from source code.
深入学习linux操作系统
http://linux.chinaitlab.com/manual/linux/lfs/htmlbook/index.html(中文版)
From Power Up To Bash Prompt