GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Menese-Protocol/ic-subnet-without-farm: Run an Internet Computer subnet outside DFINITY: reproduce an IC-OS build, boot the unmodified image on your own machines, and verify it works.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
evidence
evidence
 
 
libvirt
libvirt
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SKILL.md
SKILL.md
 
 

Repository files navigation

Running an Internet Computer subnet outside DFINITY

Authoritative steps for reproducing an IC-OS GuestOS build, booting the unmodified, hash-verified image on your own hardware, and forming a working Internet Computer subnet; without Farm, without SetupOS, and without patching the image.

The point is to let you exercise a build rather than only checksum it. A build that matches a published hash tells you the artifact is the right artifact. Running it tells you whether it works.

What this is for

You do not run a blockchain on this. A subnet built this way is a verification instrument. It holds no value, serves no users, and nothing should depend on it. Its keys are throwaway, its root key is not mainnet's, and the moment you are finished you delete it.

What it gives you is the two things a hash comparison cannot:

  • Build verification. Confirming that a published IC-OS artifact is byte-identical to what you built is one half. The other half is that the artifact boots, bootstraps, joins a subnet, installs the NNS and certifies blocks. A build can match its published hash and still fail on contact with hardware, and only running it tells you which you have.
  • Canister state verification. On a subnet you control you can install a canister, drive it, and read its state and behaviour directly, with the registry, the replica version and every parameter in your hands. On a public network you observe a canister from outside; here you observe the machine underneath it.

Everything else in this guide exists to get you to those two capabilities and to keep you from losing hours to the failure modes in 07 on the way.


Why this guide exists

You can already build IC-OS. The build is reproducible, the toolchain is public, and DFINITY publish SHA256SUMS for every artifact.

What is missing is the sequence for launching the image. DFINITY boot GuestOS VMs through Farm, an internal service whose source is private, so the without-Farm path has never needed to be written down inside DFINITY and cannot be found outside it. The clearest symptom is that rs/nns/init/README.adoc, documenting the tool that installs the entire NNS, is two lines long.

This guide is that path, in four parts:

  1. The assembly sequence, from a bare Ubuntu machine to a subnet answering /api/v2/status.
  2. The failure modes that report success, which are the ones that cost time: a dropped port that presents as a dead replica, a dirty logical volume that ignores your configuration without an error, virsh define failing with an empty error message.
  3. The host-side fixes: QEMU 10.2 with a ROM-path quirk, and three AppArmor profile additions. All host-side. The image is never modified, because a recipe containing "and patch X" describes a fork, and a fork proves nothing about the release.
  4. The provenance design, in which the registry carries DFINITY's own download URL and hash and their orchestrator does the verifying, so nobody has to take your word for the image.

How many machines you need

Node count is a BFT parameter: a subnet tolerating f faulty nodes needs 3f + 1 of them. Machines are where you put those nodes, and the two numbers are independent, because one host can run several GuestOS VMs.

Plan for one node per machine. It removes shared-CPU contention as a variable, and it is the only arrangement in which one machine failing costs you exactly one node.

Machines Nodes Tolerates What it gives you
1 1 none Genesis rehearsal. Proves the image boots, bootstraps and serves. Do this first.
2 4 f = 1 The compressed floor, two VMs per machine. Certification crosses a real network, but one machine failing takes two nodes with it, so the subnet halts rather than degrades.
4 4 f = 1 The shape to plan for. One node per machine; a single machine failure is exactly the fault the subnet is designed to absorb.
7 7 f = 2 One node per machine, two simultaneous faults absorbed.

The sequence is identical at every size. Start on one machine to get genesis working, then add the rest; that step is 06: A subnet across machines. If you end up with fewer machines than nodes, 05: More than one node per machine covers that arrangement and what it costs.

What a machine has to provide

Four things disqualify a host. Check them before you pay for anything:

  1. x86-64, at least 8 CPU, 16 GB RAM, 100 GB disk, Ubuntu 22.04+; DFINITY's documented build minimums, which comfortably cover running the VMs too.
  2. Access to /dev/kvm; real hardware, or a VM with nested virtualisation actually enabled. Most unprivileged shared containers fail here, and so does the build, which needs unshare --user.
  3. A routed IPv6 /64. IC nodes are IPv6-native, and the single /128 most providers give by default is not enough once a node sits behind the host.
  4. Root, for QEMU, libvirt, AppArmor and LVM.

Where to rent it

Any hourly or monthly bare-metal provider in that class will do, as will a machine you own. Hetzner, OVHcloud, Latitude.sh, Vultr Bare Metal, phoenixNAP and Scaleway Elastic Metal are all in scope; nothing in the sequence is provider-specific. Confirm the four requirements above against the provider's own current documentation before committing, since the two that actually eliminate hosts are the routed IPv6 /64 and /dev/kvm.

Scaleway Elastic Metal is a reasonable default if you want to start immediately: provisioning is card details only, with no identity-document check and no sales conversation, and it bills hourly. Three of its properties shape what you can do there, and each one generalises to a question worth asking any provider:

  • The routed /64 is a Flexible IP, a separate resource you request explicitly and must delete explicitly, or it keeps billing after the server is gone.
  • Quota defaults to 2 servers per organisation and 1 per offer type, so a four-machine topology needs either mixed offer types or a quota increase.
  • The BMC is reachable over HTTPS only, so ipmitool … sol activate does not work, and the SetupOS install path is unavailable. Use the direct GuestOS path in this guide, which does not need the BMC at all.

Read in this order

Doc What it covers
00: Why this guide exists The gap, and what running a build tells you that hashing it does not
01: Build and verify Reproducing the image. Build inside their container
02: Host preparation QEMU 10.2, ROM paths, 3 AppArmor profiles, LVM, br6 plus proxy NDP
03: Bootstrap config media The FAT16 CONFIG volume; crypto injection is not dev-gated
04: Genesis and the NNS ic-prep, the 15 wasms, ic-nns-init, the firewall wedge
05: More than one node per machine Fewer machines than nodes, and what it costs
06: A subnet across machines One host to a real 4-node BFT subnet
07: Failure modes that report success Read this one. Every failure that looks like success
08: Provenance Four-way hash agreement, and how a third party checks it
09: Registering nodes and creating subnets Growing past the genesis set, by NNS proposal

SKILL.md is the same sequence condensed to commands, for an agent or for an engineer who does not want the prose.

Repository layout

docs/        the sequence, above
scripts/     working scripts for each stage; addresses use the documentation prefix
libvirt/     domain XMLs, as libvirt accepts them
evidence/    reference captures: serial logs, status responses, host state, SHA256SUMS

Addresses throughout use the documentation prefix 2001:db8::/32. Substitute your own routed /64 wherever one appears.

Security

No private key material is in this repository. ic-prep generates node secret key stores (sks_data.pb), node signing keys, committee signing keys, NI-DKG dealing encryption keys and iDKG MEGa encryption keys. Those stay on the machine that generated them; CI fails the build if any of them appear here. See evidence/EXCLUDED-KEY-MATERIAL.md, and treat the same rule as binding on your own copy: a bootstrap config volume contains a node's private keys, so it is not something to attach to an issue or paste into a chat.

Node identities and addresses appearing in these documents belong to a throwaway subnet that no longer exists. They have no relationship to IC mainnet.

License

Apache-2.0. Copyright 2026 Menese DeFi Team. See LICENSE.

About

Run an Internet Computer subnet outside DFINITY: reproduce an IC-OS build, boot the unmodified image on your own machines, and verify it works.

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.