本帖最后由 myzr_soft 于 2019-8-7 08:43 编辑
挂载根文件系统 $ sudo sh ms.sh -m /home/myzr/image/ubrfs16.04.4/ 安装软件 首先更新源 /# apt update
更新完成,安装必要软件,这个根据需求安装就可以了。如: /# apt install sudo
/# apt install ssh
/# apt install ethtool /# apt-get install vim /# apt install net-tools /# apt install ifupdown /# apt install iputils-ping /# apt install rsyslog /# apt install htop /# apt install language-pack-en-base
用户配置设置root密码 /# passwd root 创建用户 /# adduser myzr 设置主机名称和本机IP echo "i.MX6" > /etc/hostname echo "192.168.137.99 localhost" >> /etc/hosts echo "192.168.137.99 i.MX6" >> /etc/hosts 配置串口和网络dhcp 配置DHCP /# echo auto eth0 > /etc/network/interfaces.d/eth0 /# echo iface eth0 inet dhcp >> /etc/network/interfaces.d/eth0 /# /etc/init.d/networking restart 退出根文件系统 /# exit 卸载根文件系统 $ sudo sh ms.sh -u /home/myzr/image/ubrfs16.04.4/ 启动阶段可能遇到的问题:A start job is running for Raise network interface(5min 13s ):
|