Installing OS onto a Raspberry Pi: Difference between revisions

From Global Meteor Network
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:


If you encounter problems with any of the images, contact the Technical Support group at https://globalmeteornetwork.groups.io/g/techsupport.  
If you encounter problems with any of the images, contact the Technical Support group at https://globalmeteornetwork.groups.io/g/techsupport.  
: '''TIP:''' [https://globalmeteornetwork.org/wiki/index.php?title=Images_checksums Here], you will find a list of checksums and sizes of images.
: '''TIP:''' [https://globalmeteornetwork.org/wiki/index.php?title=Images_checksums Here], you will see a list of checksums and sizes of images.


2. Download [https://www.balena.io/etcher/ BalenaEtcher], if you haven’t done it yet. The process shown below uses BalenaEtcher as it is the simplest tool for beginners, but if you are familiar with another USB flashing utility (e.g. Rufus or Raspberry Pi Imager) feel free to use these. But if they don’t work for you, please fall back to BalenaEtcher and the process documented below.
2. Download '''[https://www.balena.io/etcher/ BalenaEtcher]'''.
# Note;if you're using RPi imager, select "Custom" for the OS then select the image you downloaded. You can also configure the hostname, wifi details and ssh key details via Custom Settings. Howver DO NOT change the username and password as those are baked into the image.  
The process shown here uses '''BalenaEtcher''' because it is the simplest tool for beginners. If you are familiar with a different USB flashing utility (such as, '''Rufu''' or '''Raspberry Pi Imager'''), feel free to use these. It these alternatives do not work for you, use '''BalenaEtcher''' and the process documented here.
# Insert a microSD card or a USB flash disk into your PC, and note the letter it was assigned.
:  If you use '''RPi imager''', select ''Custom'' for the OS, then select the image you downloaded. You also can configure the hostname, wifi details, and ssh key details with '''Custom Settings'''.  
# Run BalenaEtcher, and flash the image file onto your microSD card/USB flash disk: Select Flash from file, find the image file and select it. As Target select your USB flash disk. Normally the system disks are hidden but verify the name, letter and size of your USB flash disk to be sure you have the correct target. Click Flash, once again verify the target and confirm it. Wait for the process to finish. (In case you will receive an error you may need to run BalenaEtcher as administrator)
: '''IMPORTANT:''' DO NOT change the username and password. These are embedded in the image.  
# Eject the USB flash disk in Windows if necessary and then remove your microSD card/USB flash disk from your PC and insert it into your Raspberry Pi, which should be connected to a TV or Monitor, and have a keyboard and mouse connected. If you don't have a TV or monitor you can connect then see [[#Booting without a TV/Monitor|these instructions]].
3. Insert a microSD card or a USB flash disk into your PC and note the letter it was assigned.
# Wait for the boot. If the boot takes too long to occur, please have a look at the next section. If it booted successfully, follow the on-screen instructions.  
4. Run '''BalenaEtcher''', then flash the image file onto your microSD card/USB flash drive.
5. Select ''Flash from file'', then find the image file and select it.  
6. Select your USB flash drive as the ''Target''.  
:  Even though the system disks are hidden, they usually verify the name, letter, and size of your USB flash drive to verify you chose the correct target.
7. Click ''Flash'' once again to verify the target and confirm it, then wait for the process to finish.  
: '''NOTE:''' If you see an error, you may need to run '''BalenaEtcher''' as administrator.
8. Eject the USB flash drive in Windows, then remove microSD card/USB flash drive.
9. Insert microSD card/USB flash drive into your Raspberry Pi.
: Raspberry Pi should already be connected to a TV or monitor, a keyboard, and mouse connected.  
: If a TV or monitor is not connected, refer to '''[[#Booting without a TV/Monitor|these instructions]]'''.
10. Wait for the boot.  
: If the boot takes too long to begin, refer to the next section. If the Pi booted successfully, follow the on-screen instructions.  


This is what the selection should look like:
This is what the selection should look like:

Revision as of 23:51, 2 September 2025

Ahoj! In this section, you will flash (or install if you wish) an OS Linux onto your SD card or USB flash key and boot your Raspberry Pi for the first time.

Install the OS by flashing the image

Flash the image onto a microSD card or a USB flash drive

NOTE: The process is the same for types of storage; only the target differs.

1. Download the appropriate image for your Raspberry Pi model, and save it on your PC in any directory.

  • If you have Raspberry Pi 4B, we recommend you download this image.
This image is based on Bullseye 64-bit.
This image is based on Bookworm 64-bit, and it is the only image that works with Raspberry Pi 5.
NOTE: You can use this download for Raspberry Pi 4B, but some functions do not work, such as the RTC module, and you must install AnyDesk. At this time, we see no advantage in running this image on Raspberry Pi 4B.

For archive uses, you can download the previous 32-bit image for Raspberry Pi 4B, which is based on Buster 32-bit image. We do not support this image, so you should use it only if you really need it and know what you are doing.

If you encounter problems with any of the images, contact the Technical Support group at https://globalmeteornetwork.groups.io/g/techsupport.

TIP: Here, you will see a list of checksums and sizes of images.

2. Download BalenaEtcher.

The process shown here uses BalenaEtcher because it is the simplest tool for beginners. If you are familiar with a different USB flashing utility (such as, Rufu or Raspberry Pi Imager), feel free to use these. It these alternatives do not work for you, use BalenaEtcher and the process documented here.
If you use RPi imager, select Custom for the OS, then select the image you downloaded. You also can configure the hostname, wifi details, and ssh key details with Custom Settings.
IMPORTANT: DO NOT change the username and password. These are embedded in the image.

3. Insert a microSD card or a USB flash disk into your PC and note the letter it was assigned. 4. Run BalenaEtcher, then flash the image file onto your microSD card/USB flash drive. 5. Select Flash from file, then find the image file and select it. 6. Select your USB flash drive as the Target.

Even though the system disks are hidden, they usually verify the name, letter, and size of your USB flash drive to verify you chose the correct target.

7. Click Flash once again to verify the target and confirm it, then wait for the process to finish.

NOTE: If you see an error, you may need to run BalenaEtcher as administrator.

8. Eject the USB flash drive in Windows, then remove microSD card/USB flash drive. 9. Insert microSD card/USB flash drive into your Raspberry Pi.

Raspberry Pi should already be connected to a TV or monitor, a keyboard, and mouse connected.
If a TV or monitor is not connected, refer to these instructions.

10. Wait for the boot.

If the boot takes too long to begin, refer to the next section. If the Pi booted successfully, follow the on-screen instructions.

This is what the selection should look like:

BalenaEtcher selection.png

This is what the process should look like:

BalenaEtcher process.png

Pre-2021 Raspberry Pi 4 Bootloader update - an USB flash disk ONLY

If you encountered a problem booting Raspberry Pi 4 from a USB device (common for all USB devices, not only flash disks), the most probable reason is that your Raspberry Pi 4 is from an older batch and its bootloader has to be updated. The procedure is simple and you will need a blank small MicroSD card to continue, the data are around 1MB in size, so any small microSD card will do the job. The process is nicely described in the raspberry pi official documentation.

  • In case you are looking for more extensive USB booting guide click here
  • the pre-installed RMS software images incorporate an auto-updating feature, so that the RMS software is updated to the current release whenever your Raspberry Pi RMS is booted. This way, your station is always running the most recent set of updates.

The first boot

This is how the first boot of RMS linux looks like:

The first boot raspi.png

Now it is good time to send an email to denis.vida@gmail.com with short introduction, stating that you are building the camera, stating from which country you are and asking for the station code. You will need it later when setting up the RMS software once your camera is fully installed and positioned.

[OPTIONAL] Install the software from scratch

This is for users who wish to perform more advanced tasks, if you have gone for the previous section, do not continue with the sections below Note: if you're setting up a Raspberry Pi you should use the prebuilt image as this comes with all necessary software installed and is ready to use.. If you really really really do want to install on the RPi from scratch, you can follow the instructions on this page.

You are now done with this section and now you are going to focus your camera and put all bits and pieces together for the first test. Exciting, isn't it? Back to the signpost page.

Booting without a TV/Monitor

If you don't have a TV or monitor that you can connect to the Pi while setting it up, you can still proceed but you will need to use VNC, a remote-access tool.

After burning the SD card, insert it into the Pi and switch the power on. You should see the lights on the pi flicker for a minute or two - if not, then its possible the SD card image didn't burn properly.

Wait at least two or three minutes after the lights stop flickering. There are several stages to the initial boot so don't rush things.

While you're waiting, download VNC Viewer. You do not need to create an account or subscribe so ignore the various buttons and links. After a few seconds the download will start and then you can install the software.

To connect to the Pi using VNC you will need to know either its name or its IP address. If you didn't set the hostname while burning the SD card (this is an option available in Raspberry Pi Imager), then its name will probably be 'raspberrypi'. Otherwise you can run a tool called Advanced IP Scanner to find its IP address using the manufacturer name which will start with Raspberry Pi.

Open VNC Viewer and type the name or IP address into the box at the top. After a few seconds you should get a login dialog. The username is "rms" and the initial password is "rmsraspberry". Make sure you change this as soon as you have logged in.

You should now see the Pi's desktop and RMS_FirstBoot window.