Skip to content
Main site

G1OS installation

Full procedure to flash G1OS (the Mainsail-based operating system) onto the Raspberry Pi 4 SD card inside the G1 printer. Required when reinstalling the OS or replacing the SD card.


  • First-time setup of a new machine
  • OS is corrupted and the printer does not boot
  • Replacing the SD card
  • Tools: hex screwdriver (to open electronics box), SD card reader/adapter
  • Files: latest G1OS image from the G1OS GitHub repository (→ Releases) — the arm64 .img.xz for Raspberry Pi 4
  • Software: Raspberry Pi Imager installed on your computer
  • Machine state: powered off

  1. Turn off the printer
  2. Open the electronics box: unscrew the two hex screws on the left side of the display
  3. Locate the Raspberry Pi 4 behind the display
  4. The SD card slot is behind the flat ribbon cable — gently remove the SD card
  1. Go to the G1OS GitHub repositoryReleases
  2. Download the latest G1OS image — the arm64 .img.xz for Raspberry Pi 4 (e.g. ...-G1OS-raspberry_pi-arm64-bookworm-X.X.X.img.xz)
  1. Extract the downloaded .img.xz archive to obtain a .img file

4 — Flash the SD card with Raspberry Pi Imager

Section titled “4 — Flash the SD card with Raspberry Pi Imager”
  1. Insert the SD card into your computer
  2. Open Raspberry Pi Imager
  3. Choose Device → Select Raspberry Pi 4
  4. Choose OS → Select Use custom → pick the .img file you extracted
  5. Choose Storage → select your SD card
  6. Click Next, then EDIT SETTINGS and configure:
    • Hostname: G1OS.local
    • Username: pi
    • Password: raspberry
    • Go to Services tab → enable SSH → Use password authentication
  7. Click Save, then confirm YES to apply OS customisation settings
  8. Confirm to start flashing — wait for “Write Successful
  1. Safely remove the SD card from your computer
  2. Insert it back into the Raspberry Pi in the G1 printer
  3. Reassemble and close the electronics box
  4. Power on the printer
  1. Connect the printer to your Wi-Fi from the Klipper menu on the display
  2. From your PC, open a browser and go to g1os.local

    If the printer doesn’t connect via g1os.local, try restarting the router


The G1OS Mainsail dashboard appears at http://g1os.local in your browser. The printer shows as connected and temperatures are visible.

  • After a fresh OS install, follow Migration to new Configurator to initialize the printer with your serial number
  • If the machine was previously configured, perform a Klipper firmware update after connecting
  • The SD card slot is tight and partially hidden by the ribbon cable — be gentle to avoid bending the connector