Implement flasher #3

Open
opened 2026-09-26 16:25:18 +00:00 by dexterlb · 0 comments
Member
  • make a nix-based program that takes an image (box-image) and embeds it into another bootable image (fat-image)
  • flash the fat-image on an usb stick
  • boot the usb stick on the box
  • the fat-image boots, and all it does is dd the embedded box-image onto the box
  • during that process, it displays a neat progress bar on the box display

in addition, the nix program will allow configuring a hostname (and other network settings), and the fat image will be able to patch these several settings into the box after dd'ing, so that users that have just a single box can embed their network settings into the installer. For larger deployments it can key the network settings to be different based on, say, the box's mac address

In addition to embedding an image, we can extend the flasher to allow embedding a nix derivation, or a gzipped filesystem, or other "things" that are installable on a disk.

- make a nix-based program that takes an image (box-image) and embeds it into another bootable image (fat-image) - flash the fat-image on an usb stick - boot the usb stick on the box - the fat-image boots, and all it does is dd the embedded box-image onto the box - during that process, it displays a neat progress bar on the box display in addition, the nix program will allow configuring a hostname (and other network settings), and the fat image will be able to patch these several settings into the box after dd'ing, so that users that have just a single box can embed their network settings into the installer. For larger deployments it can key the network settings to be different based on, say, the box's mac address In addition to embedding an image, we can extend the flasher to allow embedding a nix derivation, or a gzipped filesystem, or other "things" that are installable on a disk.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
video/videobox#3
No description provided.