1. Overview
In this tutorial, we walk you through the procedure of installing Ubuntu MATE Desktop on a Raspberry Pi.
What you'll learn:
- How to create a bootable Ubuntu MATE Desktop microSD carte du jour
- Tips on booting from USB drives (optional)
What y'all'll demand:
- A microSD bill of fare (8GB minimum, 16GB recommended)
- A computer with a microSD carte du jour drive
- A Raspberry Pi two or newer
- A micro USB-C power cable
- A monitor with an HDMI interface
- A micro HDMI cable
- A USB keyboard
2. Download the Ubuntu MATE image
Download either the 32-bit or 64-chip image depending on your needs. Make sure that the version is compatible with your Raspberry Pi model.
Downloads for Raspberry Pi
three. Set the SD Card
First, insert the microSD carte into your figurer.
You lot need to install the correct Raspberry Pi Imager for your operating system. You can do this on Ubuntu by running:
sudo snap install rpi-imager
Or on other operating systems follow these links:
- Raspberry Pi Imager every bit a deb packet
- Raspberry Pi Imager for Windows
- Raspberry Pi Imager for macOS
In one case this is washed, offset the Imager and open the "Cull Os" carte.
Scroll down the bill of fare and click "Use custom".
A dialog box will open up request you to cull the image you wish to burn. Click through and select your file.
In one case yous accept made your custom paradigm selection open the "SD Menu" menu.
Note: Please make sure you lot choose the correct location to write to. This could erase your data.
Select the microSD card you have inserted, and click "WRITE". Then just sit dorsum and wait for the magic to happen… (This magic might take a few minutes)
four. Kicking your Desktop
Ensure your HDMI screen and a USB keyboard are plugged in before powering the Pi. You lot will be able to see the boot process on screen and, eventually, the first run wizard.
First gear up your language, so set your keyboard layout.
Now pick yourself a time zone. Unlike convential computers, the Raspberry Pi does not take a battery-powered hardware clock and must sync the date and time from the Internet.
You will be prompted to choose a local Wi-Fi network. Select your Wi-Fi network and enter the countersign in the network connection screen.
At present choose a user name and password.
After setting the keyboard layout, timezone and user credentials you lot'll be taken to the login screen after a few minutes. And voila! You are almost done.
Welcome to your new Ubuntu MATE Desktop:
Once logged in, the first matter you should exercise is to update Ubuntu MATE. This can be washed via the Software Updater application:
Alternately, y'all tin update via the Last:
sudo apt update sudo apt total-upgrade
At this bespeak you can savor your MATE set up as is, or add software as needed through the Software Boutique:
(Optional) Setting upwards USB Boot
For Raspberry Pi 4 simply.
Yous can also now boot from a USB attached difficult drive or SSD with no microSD card involved. You take to do this after booting from an SD carte nonetheless because all Raspberry Pi 4 models ship with an EEPROM configuration that boots from SD cards only, but we can change that.
The first bank check you've got an upwardly to engagement EEPROM version on your Pi four:
sudo apt install rpi-eeprom
Extract the current bootloader configuration to a text file:
sudo vcgencmd bootloader_config > bootconf.txt
Next we demand to set the BOOT_ORDER
option to 0xf41
(meaning endeavour SD card, then USB mass-storage device, and then repeat; run across the Raspberry Pi 4 bootloader configuration for more than information).
sed -i -e '/^BOOT_ORDER=/ s/=.*$/=0xf41/' bootconf.txt
Alternatively, open bootconf.txt
and brand the edits yourself if y'all don't like sed-hacking.
Now we generate a re-create of the EEPROM with the update configuration:
rpi-eeprom-config --out pieeprom-new.bin --config bootconf.txt /lib/firmware/raspberrypi/bootloader/critical/pieeprom-2020-09-03.bin
Prepare the arrangement to flash the new EEPROM firmware on the adjacent boot
sudo rpi-eeprom-update -d -f ./pieeprom-new.bin
To utilize any changes (the EEPROM is only updated during the early stages of boot)
At present we demand to get the epitome onto a hard bulldoze. That'southward the like shooting fish in a barrel function. If you roll this tutorial back to "Prepare the SD Card" and go through it replacing "SD Menu" with "Hard Drive" you'll have it.
You should now be able to boot from your hard bulldoze. Congratulations!
Alert: Some drives may have issues when used to boot the Pi.
In detail, spinning hard disks require a lot more power than SSDs or flash memory. Yous will very likely need a powered USB hub or external USB drive enclosure.
Insufficient ability for 2.5 HDDs may fail to spin upwardly without power, or increase their risk of corruption due to power fluctuations.
Certain USB hubs may cause compatibility issues. For best results, an SSD is recommended.
In that location'due south lots of skilful information on both the Pi forums and various GitHub bug for debugging boot issues; here'south a option of links in a crude "look at this kickoff" gild from our peak Pi guy:
- Pi Forums: Is your Pi not booting?
- Pi Forums: USB MSD boot EEPROM
- Pi Forums: Pi 4 USB3 SSD slow speeds?
- Pi Docs: Pi 4 Bootloader Configuration
- GitHub Outcome: Enclosure doesn't power on after reboot
This page is an accommodation of Ubuntu's Raspberry Pi tutorial.
DOWNLOAD HERE
Posted by: moorefieldraters.blogspot.com
0 Comments