violetBSD

INSTALLATION GUIDE

A fresh drive.
A private seed.

IMAGE WRITER 0.2.4 · 2026-10-15

Use version 0.2.4 or newer for the multi-boot image. It supports both standard images and the new FAT16 + FAT32 + NetBSD layout by locating the NetBSD partition through the MBR. Older versions assume a fixed disklabel location.

The 16 GiB multi-boot image has empty 2 GiB FAT16 and 4 GiB FAT32 volumes, followed by the NetBSD root and 512 MiB swap. Write to the whole drive, not a partition; use a 32 GB or larger destination. Automatic root growth is disabled. The writer provisions entropy only in FFS and preserves both FAT volumes.

The violetBSD Image Writer writes a compatible .img or .img.gz, adds unique private entropy for this installation, and verifies the entire personalized image.

Before you write

Download the dated disk image and Image Writer 0.2.4 or newer; no ZIP extraction is needed. Use a 32 GB or larger external drive with 512-byte logical sectors. Verify the published SHA256 checksums. Compressed images are checked and streamed directly to the drive; no full-size temporary extraction or 16 GiB of free space in /tmp is needed. The initial check reads the image before writing begins. The destination will be erased.

Run the native application

chmod +x violetbsd-image-writer-linux-x86_64-20261015
./violetbsd-image-writer-linux-x86_64-20261015
chmod +x violetbsd-image-writer-macos-universal-20261015
./violetbsd-image-writer-macos-universal-20261015

Choose the image and destination, confirm the drive to erase, then approve the operating system’s administrator password prompt. The Unix GUI stays unprivileged; a separate authorized worker writes the disk. Cancelling authorization prevents writing. The tool offers external/removable drives only. Linux rejects mounted filesystems, active swap and mapped devices. macOS APFS destinations are excluded. Windows needs a drive that supports being taken offline; disconnect it after the write.

On Linux, if the password dialog does not appear, check that your desktop’s polkit authentication agent is running. On macOS, the system authorization API buffers progress output; keep the app open until the result appears.

These development binaries are not publisher-signed. Linux writing and full verification have been confirmed by a user with version 0.2.2. macOS and Windows physical-device writing still need acceptance testing. Do not use a failed or interrupted destination until it has been rewritten successfully.

After writing and full verification succeed, Write image changes to Close. Click it to exit, then safely remove the drive.

Verify entropy after boot

After a normal multi-user boot, log in as root at the violetBSD console. These commands do not reveal the private seed.

First, confirm the kernel has enough credited entropy:

sysctl kern.entropy.needed
# Expected: kern.entropy.needed = 0

Confirm the boot service loaded the seed:

grep -F 'Loaded entropy from /var/db/entropy-file.' /var/run/rc.log

Look for that message in the log or on the boot console. An early entropy warning can appear before the disk seed is loaded.

Check permissions, numeric ownership and size:

stat -f '%Sp %u:%g %z' /var/db/entropy-file
# Expected: -rw------- 0:0 536

The file should be mode 0600, owned by root:wheel, and 536 bytes long. File existence alone is not proof of successful entropy loading; also check the kernel value and load message.

The seed changes during boot. Do not compare its post-boot checksum with the original, copy it between machines, or share its contents. No manual seeding is needed after a successful write and boot.

If the checks fail

grep -Ei 'random_seed|entropy|rndctl' /var/run/rc.log
ls -ln /var/db/entropy-file
mount

Check that you booted the correct drive, the root filesystem is writable, and normal multi-user boot completed. Do not generate SSH keys or enable cryptographic services until kern.entropy.needed is zero. A generic image writer does not replace the public image’s zero-credit placeholder.

← Return to downloads