64-bit kernel ##编译为64位操作系统
x x General setup ---> ##一般设置
x x
Enable loadable module support ---> ##启用可加载模块支持
x x -*- Enable the block layer ---> ##启用块设备支持
x x Processor type and features ---> ##CPU类型及参数
x x Power management and ACPI options ---> ##电源管理和ACPI选项
x x Bus options (PCI etc.) ---> ##PCI总线支持的配置
x x Executable file formats / Emulations ---> ##可执行文件格式
x x
Networking support ---> ##启用网络支持
x x Device Drivers ---> ##设备驱动程序配置
x x Firmware Drivers ---> ##固件驱动程序配置
x x File systems ---> ##文件系统配置
x x Kernel hacking ---> ##内核hack配置
x x Security options ---> ##安全选项
x x -*- Cryptographic API ---> ##加密API选项
x x
Virtualization ---> ##启用虚拟化支持
x x Library routines ---> ##算法程序存储库
编译完成后选择 ---> Save --->
选择 ---> OK ---> Exit
1
2
3
4
5
6
# make bzImage ##编译核心
......
Setup is 17084 bytes (padded to 17408 bytes).
System is 5227 kB
CRC 436670f5
Kernel: arch/x86/boot/bzImage is ready (#1)
x x Busybox Settings ---> ##busybox设置
x x --- Applets ##小应用程序
x x Archival Utilities ---> ##压缩、解压缩相关工具
x x Coreutils ---> ##最基本的命令,如cat、cp、ls等
x x Console Utilities ---> ##控制台相关命令
x x Debian Utilities ---> ##Debian操作系统相关命令
x x Editors ---> ##编辑工具,如vi、awk、sed等
x x Finding Utilities ---> ##查找工具,如find、grep、xargs
x x Init Utilities ---> ##BusyBox init相关命令
x x Login/Password Management Utilities ---> ##登陆、用户账号/密码等方面的命令
x x Linux Ext2 FS Progs ---> ##ext2文件系统的一些工具
x x Linux Module Utilities ---> ##加载/卸载模块等相关的命令
x x Linux System Utilities ---> ##系统命令
x x Miscellaneous Utilities ---> ##各种各样的工具
x x Networking Utilities ---> ##网络相关命令
x x Print Utilities ---> ##打印相关工具
x x Mail Utilities ---> ##mail相关命令
x x Process Utilities ---> ##进程相关命令,如ps、kill等
x x Runit Utilities ---> ##runit程序
x x Shells ---> ##shell程序
x x System Logging Utilities ---> ##系统日志相关工具,如syslogd、klogd
x x --- x x
x x Load an Alternate Configuration File ##加载另一个配置文件
x x Save Configuration to an Alternate File ##将配置保存到另一个文件
这里我只更改了如下:
1
2
3
Busybox Settings ---> Build Options --->
Build BusyBox as a static binary (no shared libs)
##编译BusyBox作为静态二进制文件(没有共享库)
1
2
3
4
5
6
7
8
# make
# make install
......
--------------------------------------------------
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
--------------------------------------------------
1
2
3
4
5
6
7
# cp -a -d _install/* /mnt/sysroot/
# cd /mnt/sysroot/
# ls
bin linuxrc lost+found sbin usr
# rm -f linuxrc
# mkdir -pv dev home lib64 media root sys boot etc/{rc.d,sysconfig} lib mnt proc var tmp
##创建系统所需常用目录