RaspberryPi 3安装ubuntu server

如果sd空的树莓派是没有任何反应的,键盘,网口灯都不亮,所以要先准备带有系统的SD卡,电源普通充电器2A的就够了,下面简单说一下步骤,权当是以后备忘了。
下面的制作SD的步骤参考:https://wiki.ubuntu.com/ARM/RaspberryPi
- 下载Ubuntu Server预安装server版:
http://www.finnie.org/software/raspberrypi/ubuntu-rpi3/ubuntu-16.04-preinstalled-server-armhf+raspi3.img.xz
- 解压出其中的img文件到本地磁盘上
- 写入到sd卡中
下载Win32DiskImager,https://sourceforge.net/projects/win32diskimager/
- 写入成功后,修改SD卡中的config.txt
我的是通过HDMI转VGA的,需要修改下面几个参数:

# uncomment if you get no picture on HDMI for a default "safe" mode
hdmi_safe=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=-30
overscan_right=-30
overscan_top=-30
overscan_bottom=-30

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1024
framebuffer_height=768

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=16

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
config_hdmi_boost=4

上面framebuffer相关参数如果不设置ubuntu启动的时候会报异常,启动不了,必须要设置一下,不知道是何原因,还是我哪里搞错了,反正按上面的设置就可以启动了。
启动好后,字体显示不是很好,但其实也没有关系了,因为启动后就不再需要显示器,SSH远程就可以了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值