[GH-ISSUE #1321] Multi-part live images aren't downloaded correctly (again) #394

Closed
opened 2026-02-27 14:51:37 +03:00 by kerem · 4 comments
Owner

Originally created by @iay on GitHub (Nov 12, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1321

Describe the bug

If you download the assets for a large live image (e.g., current Kali or Debian 12 Cinnamon) only the first part of the filesystem.squashfs is downloaded, the .part2 with the rest of the image is not.

This causes running the image from a locally downloaded copy to fail, whereas it works if you download from github.com each time.

To Reproduce

Download the assets for Debian 12 Live Cinnamon. Observe that the filesystem.squashfs is 2.0GB in size. Observe that the release contains an additional asset of 700MB which has not been downloaded.

Expected behavior

All assets should be downloaded.

Additional context

It looks like this happened in the past when the assets moved from one server to another, see #1068. That variant of the problem was apparently fixed in web UI 0.6.6. I am using the current Docker container 0.6.9, however, so it looks like it has "come back" in some sense.

As with #1068, though, if I manually download the .part2 asset and place it alongside the other one, and set its ownership and permissions appropriately, I can boot from it correctly.

Originally created by @iay on GitHub (Nov 12, 2023). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1321 **Describe the bug** <!-- A clear and concise description of what the bug is. --> If you download the assets for a large live image (e.g., current Kali or Debian 12 Cinnamon) only the first part of the `filesystem.squashfs` is downloaded, the `.part2` with the rest of the image is not. This causes running the image from a locally downloaded copy to fail, whereas it works if you download from `github.com` each time. **To Reproduce** Download the assets for Debian 12 Live Cinnamon. Observe that the `filesystem.squashfs` is 2.0GB in size. Observe that the release contains an additional asset of 700MB which has not been downloaded. **Expected behavior** <!-- A clear and concise description of what the bug is. --> All assets should be downloaded. **Additional context** <!-- Add any other context about the problem here. --> It looks like this happened in the past when the assets moved from one server to another, see #1068. That variant of the problem was apparently fixed in web UI 0.6.6. I am using the current Docker container 0.6.9, however, so it looks like it has "come back" in some sense. As with #1068, though, if I manually download the `.part2` asset and place it alongside the other one, and set its ownership and permissions appropriately, I can boot from it correctly.
kerem 2026-02-27 14:51:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@antonym commented on GitHub (Nov 16, 2023):

Think I found the issue, I think I broke this when I was switching it to the fetch library. This should fix the part2 downloads.

github.com/netbootxyz/webapp@64ded80728

I'll look at getting it released soon.

<!-- gh-comment-id:1813729994 --> @antonym commented on GitHub (Nov 16, 2023): Think I found the issue, I think I broke this when I was switching it to the fetch library. This should fix the part2 downloads. https://github.com/netbootxyz/webapp/commit/64ded80728f1f34d85c495b786c7e94c06563b16 I'll look at getting it released soon.
Author
Owner

@antonym commented on GitHub (Nov 16, 2023):

This should be fixed now in: 0.7.0-nbxyz1

<!-- gh-comment-id:1813834385 --> @antonym commented on GitHub (Nov 16, 2023): This should be fixed now in: [0.7.0-nbxyz1](https://github.com/netbootxyz/docker-netbootxyz/releases/tag/0.7.0-nbxyz1)
Author
Owner

@iay commented on GitHub (Nov 18, 2023):

Confirming that the Debian 12 Live Cinnamon case works for me with the latest container. Thank you!

<!-- gh-comment-id:1817509804 --> @iay commented on GitHub (Nov 18, 2023): Confirming that the Debian 12 Live Cinnamon case works for me with the latest container. Thank you!
Author
Owner

@antonym commented on GitHub (Nov 18, 2023):

No prob, thanks for calling out the issue!

<!-- gh-comment-id:1817529206 --> @antonym commented on GitHub (Nov 18, 2023): No prob, thanks for calling out the issue!
Sign in to join this conversation.
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
starred/netboot.xyz#394
No description provided.