How rrorg/rr works
RR is a Synology DSM bootloader preinstallation and recovery environment for x86/x64 machines. The principal workflow is: a user boots the prepared media, RR initializes hardware and configuration, presents its management menu, and produces or launches a patched DSM-compatible boot environment. Compilation obtains model, version, PAT, addon, and module data from online sources. The graph also shows Proxmox installation and Docker/QEMU usage. Some shell orchestration is inferred only from filenames because those implementations were not sampled.
Main entry points: menu.sh Management Menu · func.py Catalog Generator · grub.cfg Boot Media · init.sh Environment Init
Components 22
Runtime Environment
- Boot Launcher
files/initrd/opt/rr/boot.sh - Environment Init
files/initrd/opt/rr/init.sh - Management Menu
files/initrd/opt/rr/menu.sh - Configuration Store
files/initrd/opt/rr/include/configFile.sh - Runtime Functions
files/initrd/opt/rr/include/functions.sh
Metadata and Build
- RR CLI Helpers
files/initrd/opt/rr/include/functions.py - Catalog Generator
scripts/func.py - Platform Catalog
files/initrd/opt/rr/platforms.yml - Published Metadata
docs/models.json - PAT Metadata
docs/pats.json
Boot Artifacts
- Ramdisk Patcher
files/initrd/opt/rr/ramdisk-patch.sh - Kernel Patcher
files/initrd/opt/rr/zimage-patch.sh - Boot Media
files/mnt/p1/boot/grub/grub.cfg - EFI Loader
files/mnt/p1/EFI/BOOT/SynoBootLoader.efi
Deployment Integrations
- PVE Installer
scripts/pve.sh
Localization and Extensions
- Module Manager
files/initrd/opt/rr/include/modules.sh - Addon Manager
files/initrd/opt/rr/include/addons.sh - Translations
files/initrd/opt/rr/lang
Other components
- Operator
- Synology Services
- Proxmox VE
- Docker QEMU
Connections 21
- Operator → Boot Launcher: boots
- Boot Launcher → Environment Init: dispatches
- Environment Init → Configuration Store: loads
- Environment Init → Management Menu: opens
- Management Menu → Runtime Functions: runs
- Management Menu → Module Manager: manages modules
- Management Menu → Addon Manager: manages addons
- Management Menu → Translations: loads translations
- Management Menu → Ramdisk Patcher: starts patching
- Management Menu → Kernel Patcher: patches kernel
- Catalog Generator → Platform Catalog: reads platforms
- Catalog Generator → Synology Services: queries releases
- Catalog Generator → Published Metadata: writes models
- Catalog Generator → PAT Metadata: writes PATs
- RR CLI Helpers → Synology Services: downloads metadata
- Ramdisk Patcher → Boot Media: updates boot
- Kernel Patcher → Boot Media: updates media
- EFI Loader → Boot Media: loads configuration
- Operator → PVE Installer: requests install
- PVE Installer → Proxmox VE: installs image
- Docker QEMU → Boot Media: boots image