Detailed tutorial on installing Ubuntu 19.10 on Raspberry Pi 4

Detailed tutorial on installing Ubuntu 19.10 on Raspberry Pi 4

Because some dependencies of opencv could not be packaged when running on raspbian before, so some codes could not run, I thought of trying it with Ubuntu. The installation process follows this video:

[Linux] Install the full version of Ubuntu 19.10 on Raspberry Pi 4 [Chinese and English subtitles]

Download system image

The download on the official website is very slow, but it seems that Ubuntu 19.10 is downloaded faster here. I downloaded the arm64 version here.

Installing the system

After downloading, burn the system image into the SD card. However, this system has a bug and the USB device does not respond. You need to add total_mem=3072 in config.txt to limit the memory to 3G, so the full performance of 4G is not brought into play (you need to download notepad++ to modify it, directly modifying it with a text manager may damage other places). exist

 [pi4]
kernel=uboot_rpi_4.bin
max_framebuffers=3

Add the following line

total_mem=3072 limits the memory to 3G. After the system is installed, you can delete this line after restarting.

[pi4]
kernel=uboot_rpi_4.bin
max_framebuffers=2
total_mem=3072

If you want to overclock the Raspberry Pi to 2GHz, add the following three lines of code to config.txt:

over_voltage=4
arm_freq=2000
gpu_freq=650`

Start the system, enter ubuntu for both the account name and password. Note that the password is not displayed. Press Enter directly after entering it. You will be asked to reset the password later. At this time, you need to connect to the network cable, install the desktop environment, and enter (select one)

sudo apt-get install ubuntu-desktop
sudo apt-get install xubuntu-desktop
sudo apt-get install lubuntu-desktop
sudo apt-get install kubuntu-desktop

Among them, lubuntu is the lightest but simplest.

Note that the download size here is very large, and if you don't change the source, the network speed is very slow (about 10kb), but changing the source is too complicated, so I choose to get up early to download (I was surprised to find that the network speed was very good in the morning, more than 100kb)

I installed ubuntu-desktop, but after starting the system and adding it to the desktop, the USB device still couldn't be used. I couldn't find the reason, so I reinstalled lubuntu and it worked normally. At this point, the installation is successful.

Summarize

The above is a detailed tutorial on how to install Ubuntu 19.10 on Raspberry Pi 4. I hope it will be helpful to you!

You may also be interested in:
  • Installation steps of docker-ce on Raspberry Pi 4b ubuntu19 server
  • Ubuntu16.04/Raspberry Pi Python3+opencv configuration tutorial (sharing)

<<:  JavaScript to implement the web version of the snake game

>>:  Detailed tutorial on replacing mysql8.0.17 in windows10

Recommend

Vue song progress bar sample code

Note that this is not a project created by vue-cl...

Detailed explanation of JavaScript's built-in objects Math and strings

Table of contents Math Objects Common properties ...

Summary of HTML knowledge points for the front end (recommended)

1. HTML Overview htyper text markup language Hype...

How to write memory-efficient applications with Node.js

Table of contents Preface Problem: Large file cop...

How to remove inline styles defined by the style attribute (element.style)

When modifying Magento frequently, you may encount...

Tutorial on resetting the root password of Mac MySQL

Disclaimer: This password reset method can direct...

MySQL Database Iron Laws (Summary)

Good database specifications help reduce the comp...

Solution to the data asymmetry problem between MySQL and Elasticsearch

Solution to the data asymmetry problem between My...

How to implement online hot migration of KVM virtual machines (picture and text)

1. KVM virtual machine migration method and issue...

Using js to achieve the effect of carousel

Today, let's talk about how to use js to achi...

Vue.js Textbox with Dropdown component

A Textbox with Dropdown allows users to select an...

Solutions to Files/Folders That Cannot Be Deleted in Linux

Preface Recently our server was attacked by hacke...

Details on overriding prototype methods in JavaScript instance objects

Table of contents In JavaScript , we can usually ...