Raspberry Pie 4 Tutorial for Installing Ubuntu 19.10

  • 2021-07-22 12:22:03
  • OfStack

Because running opencv on raspbian before can't rely on packaging, so some codes can't run, so I want to try Ubuntu. The installation process follows this video:

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

Download system image

It's slow to download on the official website, but it seems that Ubuntu 19.10 is faster to download
What I downloaded here is arm 64 version.

Installation system

After downloading, the system image is burned into SD card. However, bug and USB devices in this system have no response, so total_mem=3072 needs to be added to config. txt, and the memory is limited to 3g, so the full performance of 4g is not exerted (it needs to be modified by downloading notepad + +, and it may destroy other places if modified directly with text manager). In


 [pi4]
kernel=uboot_rpi_4.bin
max_framebuffers=3

Add a line below

total_mem=3072 Limit 3G memory, which can be deleted by restarting after the system is installed


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

If you want to overclock the raspberry pie to 2GHz, you can add the following three lines of code in config. txt:


over_voltage=4
arm_freq=2000
gpu_freq=650`

Start the system, account name and password are entered into ubuntu, note that the password is not displayed, enter directly after entering, and then you will be asked to reset the password
To access the network cable and install the desktop environment, enter (select 1)


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 rudimentary.

Note that the download volume here is very large, and the network speed is very slow (about 10kb) without changing the source, but changing the source is too complicated, so I choose to get up early to download (pleasantly surprised to find that the network speed thief is good at hh in the morning, and there are more than 100 kb)

I installed ubuntu-desktop, but after booting the system and adding it to the desktop, the usb device still can't be used. I can't find the reason, so I
The lubuntu was reinstalled, and it was normal. At this point, the installation was successful.

Summarize

Above is this site to introduce the Raspberry Pie 4 installation Ubuntu 19.10 tutorial details, I hope to help you!


Related articles: