2021年3月28日星期日

Installing Ubuntu Mate on Raspberry Pi 4B - a Tutorial

This is not a question. This is my journey in learning how to install Ubuntu MATE 20.04 on a Raspberry Pi 4B computer.

Creating_A_Bootable_SD_Card_for_Linux.txt

In these instructions, I am assuming you are converting from Windows, completely from scratch, and you have no Linux system to begin with.

Hardware Required:

These instructions apply solely to running on a Raspberry Pi 4B computer, with either 4GB or 8GB RAM, which can be acquired here:

8GB version (approx $75 US): https://www.pishop.us/product/raspberry-pi-4-model-b-8gb/

4GB version (approx $55 US) [too many links]

The important thing to know is that the Raspberry Pi 4B computer operates on an ARM processor, 64 bit, for Debian (Linux) systems. This you need to know to download the proper OS.

At some point, I suggest you look at the the Raspberry Pi documentation page also, at: https://www.raspberrypi.org/documentation/


You will need a micro SD Card - not full size. I don't actually know what the minimum capacity size would be, I would not get anything less than 8GB capacity SD card. When I recently (2021) created my first Linux system, I thought that the maximum card capacity was limited to 64GB, so I began operating on 64GB. You might want to start there. If you want to figure out how to use larger capacity cards, there are likely instructions on related links.

But you may find later that there is an advantage to smaller cards - that is, when you want to image/duplicate/backup your system. It is more trouble (and time) to duplicate a smaller capacity card from one of larger capacity.

To make life simple for now, you can consider purchasing this micro SD card: [too many links]

if that is out of stock, then perhaps: [too many links]

You want to get a card that is as fast as possible because it does affect the speed of your system. You might want to set up a master disk on the 32GB card and copy/image it to a larger card later for backup purposes.

I am no way affiliated with any computer retailer, I am just trying to make this as simple as possible - getting everything at as few places as possible. You can get a micro SD card next time you go to WalMart. I do.


You will also need a micro SD card 'Reader'. To me, these are just USB adapters. But they call them 'Readers' - this is just something else to confuse you. Here's a couple of choices:

https://www.pishop.us/product/high-speed-micro-sd-card-reader-maximum-128gb-black/

, and

https://www.pishop.us/product/usb-2-0-keychain-micro-sd-card-reader/

Yes, the first one has a cute raspberry logo on it, but it is open-faced on one end. The second reader is closed-end, which you may prefer if you are concerned about keeping it clean inside. I have not used the second one. You may find that the fit physically interferes with other USB devices on your Pi. I haven't tried the second one yet myself.

And, by the way, get two of the micro SD card Readers - in case you think you might to later image one SD card to another on you Raspberry Pi. If you image a running operating system to a single card, there will be undetected errors. Image from one card to another - not while you are operating from either of them.


As you are running on a Windows system (or I dunno about Macs)...

Download the Ubuntu-MATE 20.04 (Operating system) for ARM64 processors:

My choice is the release: 20.04 Focal Fossa (not 20.10 Groovy Gorilla)

https://ubuntu-mate.org/download/arm64/focal/

And select 'Direct Download'

You will get a *img.xz file.

When the page says 'Your download has started', well, you might have to click the link anyway, and 'Save As'. I would not change the download filename.

Be patient. If the filename is 'Unconfirmed nnnn.crdownload', or something to that effect, it is just not finished downloading. Give it 10 min or watch it's progress.

The filename will look like: ubuntu-mate-20.04.1-desktop-arm64+raspi.img.xz


Image your brand new micro SD card:

The fun part. You need more software! But this is not a big deal, really.

Go to:

https://www.raspberrypi.org/software/

You can watch a short video there, and you are going to get the software that runs on Windows that creates the images for Raspberry Pi computers. Click on:

Download for Windows

That takes maybe 5 minutes. The software is called Raspberry Pi Imager.

Just make sure you choose the Download for Windows option, because you are running the Raspberry Pi Imager from Windows. The file is:

imager_1.5.exe

Click to execute; let it install. And by the way, don't put spaces in your filenames. You will thank me later.

Put your card in the USB Reader/Adapter, plug it into a USB port on your Windows computer, and image it with the Raspberry Pi imager for Windows (imager_1.5.exe), like so:

CHOOSE OS --> scroll to bottom: 'Use Custom' --> ubutu-mate[...]img.xz

CHOOSE SD CARD --> don't screw this up (things get deleted)

WRITE


Make your Raspberry Pi 4B computer hummmm...

Put your newly imaged microSD card in the main slot under the board on your Pi, plug everything in, power up - and power up your monitor first (before you turn on the Pi), so the Pi can initialize on it.

And start answering questions.

Be prepared with your WiFi password because you will want the system to automatically update itself when it first sets itself up.

Do not be dismayed if it takes a while to boot up the first time (or two). It takes a while to image the computer.

There you have it. Your next step is:

Customizing_Ubuntu_MATE_on_a_Raspberry_Pi.txt


If some day you want to get fancy with higher capacity cards, you can consider this link.

https://www.sdcard.org/downloads/formatter/


Here's a Complete List of Hardware Items:

Well, I am not allowed to post more than 8 links, so I cannot share them at this time.

Raspberry Pi 4B Computer Motherboard: 8GB version (approx $75 US)

MICRO SD card 'Reader'- Adapter (aprox. $2.45 US; 2 ea.) [too many links] , or [too many links] Raspberry Pi 4B with 8GB RAM (approx. $75 US)

Armor Case Passive Cooling for Raspberry Pi 4 Model B (approx 11.45 US)

MicroHDMI to HDMI Cable, 3 ft (approx $2.95 US) Raspberry Pi 15W (3 amp) Power supply (approx $8 US) Type-C Power Switch for Rasberry Pi4 (approx $3.95)

or

power supply with switch; 5.1V, 3.0 amp; (eBay; approx $8.22)

or,

individual lighted switch (eBay; $6.99)

keyboard, (approx $16.99 US; includes mouse) https://www.ebay.com/itm/Perixx-PERIDUO-212-Wired-Mini-Keyboard-and-Mouse-Set-USB-Connection-Black/164112814473

mouse, (included in the keyboard set mentioned previously, but the mouse is not to my preference)

monitor, You're on your own for this item - requires HDMI port

micro SD Card(s) as mentioned previously; for my estimates, around $32

some options:

extra long stacking header (if you get the armor case I suggested, to cover pins; $1.95 US on sale)

monitor stand (eBay - fits over the mini keyboard; approx $19.50),

jewel case(s) for MicroSD card (eBay - approx $5.79 for 10 ea.),

extended usb ports; angled adapters (eBay; $2.09 ea. - there are 4 USB ports)

printer cable (eBay, approx $5.60 US)

extension cord - power bar power strip

earphones/earbuds

minus the monitor, extension cord, and earbuds, this comes to around:

02.45   11.45   02.95   08.22   16.99   32.00   01.95   19.50   05.79   08.50   05.60   -----  ~$190.40 U.S.  

If anyone is interested, I could post my customization routine also. I am very well pleased with the Raspberry Pi 4B 8GB and Ubuntu MATE. It is arguably the best computer setup I have ever had (and I build my own).

https://stackoverflow.com/questions/66847616/installing-ubuntu-mate-on-raspberry-pi-4b-a-tutorial March 29, 2021 at 09:06AM

没有评论:

发表评论