v2.0: Migrate from BusyBox init to systemd

- Replace BusyBox userspace with Debian Bookworm minbase (344MB rootfs)
- systemd 252 as init system with service management
- systemd-networkd for DHCP networking
- systemd-resolved for DNS resolution
- Custom Nova OS boot splash service
- Updated mkimage.sh, Makefile, and README
- Image: nova-os-2.0-systemd.img (1.5GB)
- Root password: nova (change on first login)
This commit is contained in:
blazblue547-afk committed 2026-06-14 09:59:09 -04:00
1 parent e0ae8ed87b
commit 8a622dfb9e
39 files changed
+583 -178

No files matched your search

+50 -32
View File
@@ -2,41 +2,59 @@
**Burn bright, run light.**
A minimalist Linux distribution built from the latest mainline kernel and busybox userspace. Designed for the Raspberry Pi 5, Nova OS strips away everything unnecessary — no systemd, no package manager, no bloat. Just the kernel, a shell, and you.
A lightweight Linux distribution built from the latest mainline kernel and a minimal Debian userspace. Designed for the Raspberry Pi 5, Nova OS pairs a custom-compiled kernel with systemd for modern init and service management — keeping things small but capable.
```
╔══════════════════════════════════════╗
║ N O V A O S ║
║ kernel 7.0.12-nova-os ║
║ "Burn bright, run light." ║
╚══════════════════════════════════════╝
╔══════════════════════════════════════════╗
║ N O V A O S ║
║ kernel 7.0.12-nova-os ║
║ "Burn bright, run light." ║
╚══════════════════════════════════════════╝
```
## Specifications
| Component | Version |
|-------------|--------------------|
| Kernel | Linux 7.0.12-nova-os |
| Userspace | BusyBox 1.36.1 |
| Shell | ash (busybox) |
| Init | Custom (busybox init)|
| Architecture | aarch64 (ARM64) |
| Target | Raspberry Pi 5 |
| Image size | ~1 GB |
| Component | Version |
|-------------|----------------------|
| Kernel | Linux 7.0.12-nova-os |
| Userspace | Debian Bookworm (minbase) |
| Init | systemd 252 |
| Shell | bash |
| Architecture | aarch64 (ARM64) |
| Target | Raspberry Pi 5 (BCM2712) |
| Image size | ~1.5 GB |
## v2.0 — What Changed
- **systemd replaces BusyBox init** — proper service management, cgroups, socket activation
- **Debian minbase userspace** — apt-ready, 344MB rootfs
- **systemd-networkd** — DHCP networking out of the box
- **systemd-resolved** — DNS resolution
- **Nova splash service** — boot banner on tty1
- **Root password:** `nova` (change on first login)
## Build from Source
```bash
make all # Build kernel + busybox + rootfs + image
make kernel # Build only the kernel
make busybox # Build only busybox
make image # Package into bootable .img
make kernel # Build the kernel (45 min on Pi 5)
make image # Package into bootable .img (requires sudo)
make all # Kernel + image
```
The rootfs is pre-built via debootstrap. To rebuild it:
```bash
sudo apt-get install debootstrap
sudo debootstrap --arch=arm64 --variant=minbase \
--include=systemd,systemd-sysv,udev,dbus,apt,kmod,netbase \
bookworm rootfs http://deb.debian.org/debian
# Then customize: hostname, os-release, splash service, networking
```
## Flash to SD Card
```bash
sudo dd if=nova-os-1.0-starlight.img of=/dev/mmcblk0 bs=4M status=progress
sudo dd if=nova-os-2.0-systemd.img of=/dev/mmcblk0 bs=4M status=progress
```
## Directory Layout
@@ -47,19 +65,19 @@ nova-os/
├── boot/ # Boot partition files
│ ├── config.txt # Pi bootloader config
│ └── cmdline.txt # Kernel command line
├── rootfs/ # Root filesystem
│ ├── init # Init script
│ └── etc/ # Config files
│ ├── issue # Pre-login banner
│ ├── motd # Post-login banner
│ ├── hostname # "nova-os"
│ ├── os-release # OS identity
│ ├── fstab # Mount table
│ ├── inittab # Init table
│ └── profile # Shell config
├── rootfs/ # Debian minbase + systemd rootfs
│ ├── bin/ # Essential binaries
│ ├── sbin/ # System binaries
│ │ └── init → /lib/systemd/systemd
│ ├── etc/
│ │ ├── systemd/ # systemd config + services
│ │ ├── hostname # "nova-os"
│ │ ├── os-release # OS identity
│ │ ├── motd # Login banner
│ │ └── fstab # Mount table
│ └── lib/systemd/ # systemd itself
└── build/ # Build artifacts
├── linux-7.0.12/
└── busybox-1.36.1/
└── linux-7.0.12/ # Kernel source + build
```
## License