RaspberryPi 3安装ubuntu server

    xiaoxiao2025-02-28  19

    如果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远程就可以了。

    转载请注明原文地址: https://ju.6miu.com/read-1296750.html
    最新回复(0)