Skip to content

os/v3 puppy: an appliance installed onto a virtio-blk disk does not boot (/init cannot mount 1BIT-DATA); the same disk on SATA is green #1190

Closed

Description

@bong-water-water-bong

An appliance installed onto a virtio-blk disk does not boot with no stick attached: the kernel boots, /init runs, then the console says

*** 1bit: init stopped (status 1) - logging, and this console stays
*** 1bit: 1BIT-DATA not mountable - the log is only in /tmp/bootinit.log
*** 1bit rescue: this console stays alive. 'reboot -f' restarts

ssh never opens. The installed partition is not damaged — mounted read-only from the host it holds the frugal data
(1bit/, lemonade/, models/, npu/, install.log, ssh/, logs/ copied off the stick). The same disk installed
and booted on ahci/SATA opens ssh and its own 1bit-release-check reports RESULT: PASS (24 checks, no failures).

It is the target bus, not the cmdline

The obvious hypothesis — the installed grub entries keeping the stick's pmedia=usbhd pupsfs=1BIT-DATA psubdir=1bit, so
/init hunts for the SFS on USB media — is refuted by the matrix: the sata+none arm had no USB controller in the
VM at all
and booted, while the virtio+usb arm had an empty USB stick present and still failed.

arm target bus USB device present result
sata+none ahci no boots, release check PASS 24/0
virtio+usb virtio-blk yes (empty stick) no boot, init stopped (status 1), 1BIT-DATA not mountable
sata+usb ahci yes boots, release check PASS 24/0

Measured 2026-11-05 on strixhalo with the c25 appliance image (9 GB), one installed disk, three arms
(~/wt/release-rc/vminstall-phaseB.sh). Evidence: ~/wt/release-rc/fixtures/installed-boot-c25/ (the installed system's
own boot dir, the phase-B serial log, the installer log) and fixtures/install-c25-success.log.

Why record it, why it is not release-blocking

Nothing ships on virtio-blk: the board, the owner's machine and every USB stick are SATA/NVMe/USB, and /init's scan
covers those. But it silently costs a day: a QEMU install test defaults to virtio-blk, boots to a rescue console, and
reads exactly like a broken image — that is how the first run of the install gate here was reported as a phase-B failure
until the matrix separated it. /init's device scan is also the kind of list an osinstall change can trim or reorder.

Smallest fix, in order

  1. Document: in os/mini/'s notes and the docs that describe the install path, state that the device scan is
    USB/SATA/NVMe and a virtio-blk target is unsupported; VM install harnesses then wire SATA and say why (mine now do).
  2. Support it: add virtio-blk (vda/vdb naming) to the init's device enumeration and keep the three-arm matrix as
    the regression test — the arms exist and cost ~15 min on CPU only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions