mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
Etcher is privacy-invasive; replace it in INSTALL.md, the USB upgrade tool messages, and the live-boot ephemeral warning. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
4.2 KiB
4.2 KiB
Installing WROLPi
There are several ways to run WROLPi. Pick the one that matches your hardware:
- WROLPi Portable (Live USB) — boot a full WROLPi from a USB stick on any x86 PC or laptop, no installation required.
- Debian 12 Install — install WROLPi onto an x86 PC or laptop.
- Raspberry Pi Install — install WROLPi onto a Raspberry Pi with an external drive.
- Docker — run the WROLPi containers on an existing Linux host (best for trying it out or development).
See UPGRADE.md for upgrading an existing WROLPi.
WROLPi Portable (Live USB)
WROLPi Portable is a bootable amd64 image that runs a complete WROLPi system
directly off a USB drive on any x86 PC or laptop — nothing is installed to the
computer's internal disk. On the first boot it creates a persistence
partition on the USB drive so your library, database, and configuration survive
reboots.
You will need:
- A USB drive of at least 16 GB (32 GB+ recommended so there is room for your library).
- An x86 PC or laptop that can boot from USB.
Steps:
- Download the latest
WROLPi-v*-amd64.isofrom wrolpi.org. - Flash the whole drive with the ISO using Raspberry Pi Imager, Rufus, or
dd:
(Replacesudo dd if=WROLPi-v<version>-amd64.iso of=/dev/sdX bs=4M status=progress conv=fsync/dev/sdXwith your USB drive. This erases the whole drive.) - Boot the PC from the USB drive. At the boot menu, choose Run WROLPi (live).
- The first boot sets WROLPi up automatically: it creates the persistence partition, initializes the database, and starts the services. This takes a minute or two; progress is shown on screen.
- Once the desktop loads, browse to https://wrolpi.local or the IP address of your WROLPi. Wi-Fi hotspot and all other features work as usual.
Notes:
- Installing to internal disk. The same boot menu offers Install / Graphical Install entries that run the standard Debian Installer if you would rather install WROLPi onto the computer's internal disk instead of running from the USB.
- Ventoy / multiboot USBs. Booting the ISO via Ventoy, YUMI, Easy2Boot, or any other tool that loop-mounts the ISO works, but runs ephemerally — the library lives in RAM and is lost on reboot, because WROLPi cannot safely write a persistence partition onto your multiboot stick. A first-boot dialog warns you when this happens. For persistent use, flash the ISO directly to its own drive as shown above.
- Upgrading. See Upgrading a WROLPi Portable USB to move to a newer ISO without losing your library.
Debian 12 Install
Steps necessary to initialize your WROLPi after installing the Debian image from wrolpi.org
- Download and copy a pre-built Debian image from https://wrolpi.org onto a USB thumb-drive (USB 2 recommended).
- Insert the thumb-drive into the laptop, boot to the thumb-drive.
- Select "Start Installer".
- Install Debian 12 as you would like.
- It is recommended to use the hostname wrolpi.
- (WROLPi will be installed during the installation without your intervention.)
- Unplug the thumb-drive after the installation has completed.
- Login as the user you created during installation.
- Initialize the WROLPi databases using the repair script:
/opt/wrolpi/repair.sh - Reboot:
reboot - Browse to https://wrolpi.local or the IP address of your WROLPi!
Raspberry Pi Install
Steps necessary to initialize your WROLPi after installing the Raspberry Pi image from wrolpi.org
- Download and copy a pre-built image from https://wrolpi.org onto an SD card.
- Boot the Raspberry Pi, login with username pi and password wrolpi.
- Modify fstab to mount your external drive to /media/wrolpi (modify this command to match your system).
echo '/dev/sda1 /media/wrolpi auto defaults,nofail 0 0' | sudo tee -a /etc/fstab
- Initialize the WROLPi databases using the repair script:
sudo /opt/wrolpi/repair.sh - Reboot
sudo reboot - Join the Hotspot or browse to https://wrolpi.local or the IP address of your WROLPi!