Raspberry Pi 5: choose between two bootable SD cards (or OS) remotely, without touching the Pi ?
Hi,
I have a Raspberry Pi 5 connected to a TV, and I use two systems:
- LibreELEC
- LineageOS ATV 23 (KonstaKANG), for an Android streaming app
I want to switch between them without getting up, using only a remote or my phone. I don't care about the method, any solution is fine.
What I tried:
- PINN on a single 128 GB SD card with both systems installed. It works, but the TV remote (HDMI-CEC) does not work in the PINN boot menu, so I can't pick the OS without a keyboard.
- From LibreELEC over SSH, "systemctl reboot --reboot-argument=6" boots straight into Android. This works, and I'm planning a Kodi favourite to trigger it.
My questions:
- Is there a dual microSD slot board or HAT for the Pi 5, or any SD card switcher / multiplexer, that lets me select the active card remotely or by software ?
- Is there a way to make the PINN boot menu respond to a remote (CEC, IR or Bluetooth) ?
- From Android (LineageOS), is there a way to reboot into a specific PINN partition, so I can go back to LibreELEC without the PINN menu ?
- Any other approach I'm missing (network boot, NVMe, USB, etc.) ?
Thanks !
2
Upvotes
2
u/will-cd 21h ago
An easy solution that comes to mind: Insert a card into a USB reader (or just use a pen drive). Change the Pi’s configuration boot order and then reboot. This functionality should be available in both operating systems. You could expose a rest endpoint for it and invoke by phone browser