Skip to content

5. Flashing and first boot

This chapter follows the project's documentation and the community's standard getting-started notes (the KE0FHS "Playing with Pi-Star" notes), cross-checked against the image from chapter 4.

Flash the card

  1. Download the RPi image zip from pistar.uk and unzip it — you want the .img file.
  2. Write the .img to a microSD card of 4 GB or more with an image writer. The notes recommend balenaEtcher (Windows, Mac, Linux); Raspberry Pi Imager also works if you choose "use custom image" — do not let Imager apply its own OS customisation (user, Wi-Fi, SSH settings); Pi-Star has its own first-boot ideas and the two can collide.
  3. Ignore your computer if it complains the card needs formatting afterwards. It is seeing the Linux partition it can't read. The card is fine.

The Wi-Fi question, answered three ways

A headless box's chicken-and-egg problem: it needs your Wi-Fi password before it can be reached to be given your Wi-Fi password. Pi-Star has three answers, in the order most people use them:

1. Do nothing — Auto AP (the default). Since 4.1.4, if the hotspot boots and finds no known Wi-Fi network, it waits a couple of minutes and then becomes its own access point, named Pi-Star-Setup. Join that network from a phone or laptop (the project's release notes describe it as open with a captive portal; the community notes give the password as raspberry where one is asked — versions differ, and the setup page is what matters). Browse to the dashboard, use Configuration → Wireless Configuration to teach it your real network, then reboot. On the next boot it joins your Wi-Fi like it always knew how.

2. Drop a file on the boot partition. Before first boot, while the card is still in your computer, copy a wpa_supplicant.conf with your network details into the boot partition — the one your computer can see. Pi-Star's website offers a "WiFi Builder" that generates the file, and the release notes (since 3.4.0) promise it is picked up automatically on boot. This is the tidy option for a Pi without Wi-Fi coverage of its own setup dance, or for prepping several cards.

3. Use a cable. Plug Ethernet in for the first configuration, then set Wi-Fi up from the dashboard at leisure. Boring, reliable, and what the author of any honest guide does when options 1–2 argue.

A dashboard configuration backup zip dropped in the same boot partition is also restored automatically at boot — that's the backup/restore mechanism of chapter 11 arriving early.

First boot

Put the card in the Pi, the hat on the Pi (if it isn't already), and power on. Boot takes a minute or so — longer on a Pi Zero. The factory kernel command line carries a firstboot flag, and the system spends the first run sorting itself out; give it time before judging it dead. A tiny OLED on the hat, if present, wakes up with status text once MMDVMHost starts.

Then, from a computer on the same network (or joined to Pi-Star-Setup):

  • Windows: browse to http://pi-star/
  • Mac/Linux: http://pi-star.local/
  • If names fail, use the hotspot's IP address from your router's client list; the Auto AP's own address is 192.168.50.1 while you're joined to it.

A fresh install greets you with a "No Mode Defined" screen — expected, not an error: nothing is configured yet. It forwards you to the Configuration page after a few seconds. If you're asked to sign in, the factory dashboard login is username pi-star, password raspberry — and changing it is part of chapter 6, not an optional extra. (On the newest versions, arriving via Auto AP skips the sign-in for this first setup, per the notes.)