明远智睿技术论坛
标题: 移植ubuntu到i.mx6ull --2 [打印本页]
作者: mumu_A 时间: 2019-6-14 20:57
标题: 移植ubuntu到i.mx6ull --2
本帖最后由 myzr_soft 于 2019-8-7 08:43 编辑
挂载根文件系统
$ sudo sh ms.sh -m /home/myzr/image/ubrfs16.04.4/
[attach]389[/attach]
安装软件
首先更新源
/# apt update
[attach]390[/attach]
更新完成,安装必要软件,这个根据需求安装就可以了。如: /# 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
[attach]391[/attach]
创建用户
/# adduser myzr
[attach]392[/attach]
设置主机名称和本机IP
echo "i.MX6" > /etc/hostname
echo "192.168.137.99 localhost" >> /etc/hosts
echo "192.168.137.99 i.MX6" >> /etc/hosts
[attach]393[/attach]
配置串口和网络dhcp
[attach]394[/attach]
配置DHCP
/# echo auto eth0 > /etc/network/interfaces.d/eth0
/# echo iface eth0 inet dhcp >> /etc/network/interfaces.d/eth0
/# /etc/init.d/networking restart
[attach]395[/attach]
退出根文件系统
/# exit
[attach]396[/attach]
卸载根文件系统
$ sudo sh ms.sh -u /home/myzr/image/ubrfs16.04.4/
[attach]397[/attach]
启动阶段可能遇到的问题:A start job is running for Raise network interface(5min 13s ):
欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/) |
Powered by Discuz! X3.2 |