2026-01-24 22:59:20 +00:00
|
|
|
# Archipelago OS Image Recipes
|
2026-01-24 22:01:51 +00:00
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
Build scripts for creating bootable Debian Linux OS images for Archipelago Bitcoin Node OS.
|
2026-01-24 22:01:51 +00:00
|
|
|
|
2026-01-24 22:59:20 +00:00
|
|
|
## Quick Start
|
|
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
### Build the ISO
|
2026-01-24 22:01:51 +00:00
|
|
|
|
|
|
|
|
```bash
|
2026-02-01 13:24:03 +00:00
|
|
|
# 1. Sync latest configs from live dev server
|
|
|
|
|
./sync-from-live.sh
|
|
|
|
|
|
|
|
|
|
# 2. Build components
|
|
|
|
|
./scripts/build-backend.sh
|
|
|
|
|
./scripts/build-frontend.sh
|
|
|
|
|
|
|
|
|
|
# 3. Build the ISO
|
2026-02-01 02:22:02 +00:00
|
|
|
./build-debian-iso.sh
|
2026-01-24 22:59:20 +00:00
|
|
|
```
|
2026-01-24 22:01:51 +00:00
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
This creates a bootable Debian Live ISO with Archipelago pre-installed.
|
|
|
|
|
|
|
|
|
|
### Write to USB
|
2026-01-24 22:01:51 +00:00
|
|
|
|
2026-01-24 22:59:20 +00:00
|
|
|
```bash
|
2026-02-01 02:22:02 +00:00
|
|
|
# Using dd (recommended)
|
|
|
|
|
./write-usb-dd.sh /dev/diskN
|
|
|
|
|
|
|
|
|
|
# Or use Balena Etcher to flash the ISO
|
2026-01-24 22:01:51 +00:00
|
|
|
```
|
|
|
|
|
|
2026-02-01 13:24:03 +00:00
|
|
|
See the **ISO-BUILD-CHECKLIST.md** for a comprehensive build workflow.
|
|
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
See the Architecture documentation for detailed system information.
|
2026-01-24 22:59:20 +00:00
|
|
|
|
|
|
|
|
## What's Included
|
|
|
|
|
|
2026-05-05 11:29:18 -04:00
|
|
|
- **Debian Linux Base**: Debian 13 (Trixie) with security updates applied during ISO/install creation
|
2026-02-01 02:22:02 +00:00
|
|
|
- **Podman**: Container runtime for apps (rootless by default)
|
2026-01-24 22:59:20 +00:00
|
|
|
- **Archipelago Backend**: Rust-based API server
|
|
|
|
|
- **Archipelago Frontend**: Vue.js web interface
|
|
|
|
|
- **Systemd Services**: Automatic service management
|
2026-02-01 02:22:02 +00:00
|
|
|
- **Network Configuration**: NetworkManager for easy setup
|
2026-01-24 22:59:20 +00:00
|
|
|
|
|
|
|
|
## Build Output
|
|
|
|
|
|
2026-05-05 11:29:18 -04:00
|
|
|
- `results/archipelago-installer-x86_64.iso` - Bootable hybrid ISO image
|
2026-01-24 22:59:20 +00:00
|
|
|
|
|
|
|
|
## Supported Platforms
|
|
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
- **x86_64**: Dell OptiPlex, HP ProDesk 400 G4 DM, Start9 Server Pure, and other x86_64 machines
|
|
|
|
|
- **Build Systems**: macOS (requires Docker) and Linux (native or Docker)
|
|
|
|
|
|
|
|
|
|
## Installation Methods
|
2026-01-24 22:59:20 +00:00
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
### 1. Live USB Boot
|
|
|
|
|
Boot from USB, run in live mode to test, or install to disk.
|
|
|
|
|
|
|
|
|
|
### 2. Full Disk Installation
|
|
|
|
|
From the live environment, run:
|
|
|
|
|
```bash
|
|
|
|
|
sudo /archipelago/install-to-disk.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
This installs Archipelago to a target disk using debootstrap.
|
|
|
|
|
|
|
|
|
|
## Directory Structure
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
image-recipe/
|
|
|
|
|
├── build-debian-iso.sh # Main ISO builder
|
|
|
|
|
├── write-usb-dd.sh # Write ISO to USB with dd
|
|
|
|
|
├── create-fat32-usb.sh # Alternative USB creation
|
|
|
|
|
├── archipelago-scripts/ # Scripts included in ISO
|
|
|
|
|
│ ├── install-to-disk.sh # Disk installer
|
|
|
|
|
│ └── setup-bitcoin.sh # Bitcoin Core setup
|
|
|
|
|
├── scripts/ # Build helper scripts
|
|
|
|
|
│ ├── build-backend.sh # Compile Rust backend
|
|
|
|
|
│ ├── build-frontend.sh # Build Vue.js frontend
|
|
|
|
|
│ └── check-dependencies.sh # Verify build requirements
|
|
|
|
|
└── results/ # Built ISO output
|
|
|
|
|
```
|
2026-01-24 22:59:20 +00:00
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
## Requirements
|
2026-01-24 22:59:20 +00:00
|
|
|
|
2026-02-01 02:22:02 +00:00
|
|
|
- Docker (for macOS builds)
|
|
|
|
|
- xorriso (for ISO creation): `brew install xorriso`
|
|
|
|
|
- 7zip (for ISO extraction): `brew install p7zip`
|