BusyBox自建根文件系统完善
添加根文件系统动态库
1 | mkdir lib |
uboot NFS挂载
1 | root=/dev/nfs nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>] ip=<client-ip>:<server-ip>:<gwip>:<netmask>:<hostname>:<device>:<autoconf>:<dns0-ip>:<dns1-ip> |
1 | run loadfdt |
内容
1 | !/bin/sh |
nano etc/fstab
1 | <file system> <mount point> <type> <options> <dump> <pass> |
nano etc/inittab
1 | etc/inittab |
nfs install
1 | sudo apt-get install nfs-kernel-server rpcbind |
tftp
1 | sudo apt-get install xinetd -y |
自建roofs打包
1 | cd rootfs/ |
1 | !/bin/bash |