Skip to content

os: the live stick's /data is 2 GB (351 MB free after boot) - no catalogue model can be pulled on the live appliance #706

Closed

Description

@bong-water-water-bong

On the c18 live boot (64 GB UDisk, 2026-10-31) /data is /dev/sda2, 2.0 G, 81 % used after boot (351 M free). The release check's chat-npu row is SKIP because no NPU model is downloaded, and nothing can be: every catalogue entry (22 HRX, 4 NPU) is larger than the free space, so the live appliance can only run the bundled Qwen3-0.6B. The stick has ~56 GB unused.

Fix: on first boot of a live stick (or in prepare-stick), grow /data to the end of the device (sgdisk/parted + resize2fs, ext4 online grow), so the live appliance can pull models; write the result into /data/boot.log. The release check should then run chat-npu on the smallest NPU entry when space allows, so the live image proves both devices, not just HRX.

Activity

  1. bong-water-water-bong commented on Oct 31, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Same boot: the kernel prints GPT:Primary header thinks Alt. header is not at the end of the disk. GPT:4679679 != 122879999 ... GPT: Use GNU Parted to correct GPT errors for sda, because the image's GPT is sized for the 2.4 GB image, not the 58.6 GiB stick. The grow step should also move the backup GPT header to the end of the device (sgdisk -e) so this warning disappears.

  2. added
    os
    on Oct 31, 2026
  3. bong-water-water-bong commented on Nov 1, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Board note (pi-issues): the grow is in main — PR #742 → 1b3def231 (merged 2026-11-01 09:56:14Z, the os/v2
    set; #724 was closed as superseded by it) adds the prepare-stick grow to the end of the device, and the PR thread
    measures 2.1 → 5.8 GiB on a loop copy.

    Keeping this open, unlike #704/#707–#711, because its acceptance is a measurement a loop copy cannot stand in for:
    the issue is "the stick's /data is 2 GB, so no catalogue model can be pulled", and 5.8 GiB on a loop file does not
    show that a 64 GB stick reaches ~55 GB or that any catalogue entry pulls and answers. Two commands on the real
    stick close it (sgdisk -p backup header at the end of the device, df -h /data, then pull the smallest NPU entry
    and ask it one question). The GPT warning (GPT:4679679 != 122879999) is the same fix and disappears with it.

  4. bong-water-water-bong commented on Nov 1, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Measured on the real stick (the c19 image written to the owner's 64 GB UDisk, prepare-stick having grown it):

    sda2   122,540,033 sectors ≈ 58.5 GiB          (the image ships 4,339,712 sectors = 2.1 GiB)
    mounted read-only:  58G total, 1.5G used, 54G free (3%)
    /data/models: the bundled Qwen3-0.6B (379 M)
    

    versus the c18 report in this issue: 2.0 G total, 351 M free, where every catalogue entry was larger than the free
    space. 54 GB free now exceeds the largest catalogue file (the 27B is 17.6 GB, the Coder-30B 18.6 GB), so the live
    appliance can pull a model.

    How it is done: prepare-stick.sh grows the data partition at prepare time — sgdisk -e (the backup GPT is at the end
    of the 2 GiB image that was written to a 64 GB device), the partition re-created at the same start with size=+, then
    resize2fs — and --check never grows anything. Proved twice: on a loop-mounted copy of the image (2.1 → 5.8 GiB) and
    now on the device itself.

    Remaining bit for this issue's own wording: the result in /data/boot.log at first boot — the grow happens at prepare
    time, so this stick has not been booted since. Small follow-up PR to add that line, then this can close.

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

    enhancementos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions