Installing Photon OS on Raspberry Pi
You can get Photon OS up and running on an RPi board, by flashing the Photon RPi image onto the board’s SD card.
Flash Photon OS on Raspberry Pi
After you have downloaded the Photon RPi image with the file extension
*.raw.xz, decompress the file to
*.raw and then you can choose one of the methods below to flash it onto the RPi SD card.
- Flash Photon to RPi using Etcher
- Flash Photon to RPi using Linux CLI
Flash Photon to RPi using Etcher
- Install Etcher https://etcher.io/, which is a utility to flash SD cards attached to your host computer.
- Plug the RPi SD card into your host computer’s SD card reader.
- Perform the following steps on the Etcher GUI: Select image -> Select drive -> Flash, by selecting the Photon OS RPi as image and the RPi SD card as drive.
Flash Photon to RPi using Linux CLI
If you have Linux running on your host computer, install the
xzpackage, which provides the
xzcompression utility and related tools, from your distribution package manager.
Plug the RPi’s SD card into your host computer’s SD card reader.
Identify the device file under
/devthat refers to the RPi SD card. For example,
/dev/sdc. This file path is used to flash the Photon image onto the RPi in the next step.
Note: Make sure that you are flashing to the device file that refers to your RPi3 SD card. Running the below command with an incorrect device file will overwrite that device without warning and might result in a corrupted disk. The device file ‘/dev/sdc` is an example and might not be the device file in your case.
Run the following command to flash Photon onto the RPi SD card:
xzcat <photon-rpi4-image.raw.xz> | sudo dd of=/dev/sdc bs=4M conv=fsync
Boot Photon OS on Raspberry Pi
After you flash Photon OS successfully onto the RPi SD card, eject the card from your host computer and plug it back into the RPi board.
When you power on Raspberry Pi , it boots with Photon OS.
After the splash screen, Photon OS prompts you to log in.
Update login credentials
The Photon OS RPi image is configured with a default password. However, all Photon OS instances that are created using this image will require an immediate password change upon login. The default account credentials are:
After you provide these credentials, Photon OS prompts you to create a new password and type it a second time to verify it. Photon OS does not allow common dictionary words for the root password. When you are logged in, you will see the shell prompt.
You can now run
tdnf list to view all the ARM packages that you can install on Photon OS.