[GH-ISSUE #1324] netboot mounting tmpfs on /cdrom failed invalid argument #399

Open
opened 2026-02-27 14:51:38 +03:00 by kerem · 8 comments
Owner

Originally created by @iTestAndroid on GitHub (Nov 13, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1324

Describe the bug
EFI/UEFI boot from local mirror of images does not work

To Reproduce
Steps to reproduce the behavior:
Create a VM with UEFI in Proxmox
Set it to boot from Net
(make sure your boot.cfg is configured to point to local mirror)
Select an OS you have cached in local mirror

Expected behavior
You'll get netboot mounting tmpfs on /cdrom failed invalid argument

Screenshots
image

Additional context
Attached GIF
Recording 2023-11-12 at 19 39 18

Originally created by @iTestAndroid on GitHub (Nov 13, 2023). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1324 **Describe the bug** EFI/UEFI boot from local mirror of images does not work **To Reproduce** Steps to reproduce the behavior: Create a VM with UEFI in Proxmox Set it to boot from Net (make sure your boot.cfg is configured to point to local mirror) Select an OS you have cached in local mirror **Expected behavior** You'll get `netboot mounting tmpfs on /cdrom failed invalid argument` **Screenshots** ![image](https://github.com/netbootxyz/netboot.xyz/assets/15746052/01f0b38c-f8ea-40de-8900-3540f736a0fa) **Additional context** Attached GIF ![Recording 2023-11-12 at 19 39 18](https://github.com/netbootxyz/netboot.xyz/assets/15746052/e4a432aa-a855-4bb6-b3db-ea747d6bf133)
Author
Owner

@AFKeybord commented on GitHub (Nov 13, 2023):

I am having the same issue with VMWare workstation.

<!-- gh-comment-id:1807464558 --> @AFKeybord commented on GitHub (Nov 13, 2023): I am having the same issue with VMWare workstation.
Author
Owner

@jkumar2001 commented on GitHub (Jan 7, 2024):

Same issue with baremetal with KDE Neon live CD

<!-- gh-comment-id:1880107016 --> @jkumar2001 commented on GitHub (Jan 7, 2024): Same issue with baremetal with KDE Neon live CD
Author
Owner

@GingerGraham commented on GitHub (Jan 15, 2024):

This seems to be an issue with Ubuntu derived distros. I note that #1125 is effectively the same thing and was closed without resolution.

I see this same behaviour on Ubuntu, and Pop_OS! in addition to Mint.

Something odd with the subiquiti installer perhaps?

I've tried both pulling from the default cloud sources and switching to local distribution

<!-- gh-comment-id:1892597300 --> @GingerGraham commented on GitHub (Jan 15, 2024): This seems to be an issue with Ubuntu derived distros. I note that #1125 is effectively the same thing and was closed without resolution. I see this same behaviour on Ubuntu, and Pop_OS! in addition to Mint. Something odd with the subiquiti installer perhaps? I've tried both pulling from the default cloud sources and switching to local distribution
Author
Owner

@fmcatalan commented on GitHub (Jan 30, 2024):

I'm running the Unraid Docker of Netboot.xyz, I get the same end result, the only difference I see is that before the "/cdrom failed.." line I see a
tmps: Bad value for 'size'
mount: mounting tmpfs on /cdrom failed: Invalid argument

Then starts the download process, be it from the internet or from a local asset the only change is the speed, then for instance at 1200~1300M received I get:
Curl: (23) Failure writing output to destination
and a second download starts thas fails almost immediatly and I get an "Unable to find a live file system on the network"
Hitting enter gets me into BusyBox command line, and a 'df' command returns
udev with 1647620 (1024-blocks) 0 used 1647620 available 0% capaity used /dev mounted on
tmpfs with 341168 (1024-blocks) 160 used 341008 available 0% capacitly used /run mounted on

This is an actual physical machine with 4gb DD4 Ram, that I'm trying to clean install ANY linux distro, so far I can only get to boot Tiny Linux, Ubuntu loads the installer then fails, no livecds (I have no tried all of them yet) some utils work (memtest for example)

<!-- gh-comment-id:1917695599 --> @fmcatalan commented on GitHub (Jan 30, 2024): I'm running the Unraid Docker of Netboot.xyz, I get the same end result, the only difference I see is that before the "/cdrom failed.." line I see a tmps: Bad value for 'size' mount: mounting tmpfs on /cdrom failed: Invalid argument Then starts the download process, be it from the internet or from a local asset the only change is the speed, then for instance at 1200~1300M received I get: Curl: (23) Failure writing output to destination and a second download starts thas fails almost immediatly and I get an "Unable to find a live file system on the network" Hitting enter gets me into BusyBox command line, and a 'df' command returns udev with 1647620 (1024-blocks) 0 used 1647620 available 0% capaity used /dev mounted on tmpfs with 341168 (1024-blocks) 160 used 341008 available 0% capacitly used /run mounted on This is an actual physical machine with 4gb DD4 Ram, that I'm trying to clean install ANY linux distro, so far I can only get to boot Tiny Linux, Ubuntu loads the installer then fails, no livecds (I have no tried all of them yet) some utils work (memtest for example)
Author
Owner

@Jerry-Lees commented on GitHub (Feb 18, 2024):

This won't help anyone other than maybe the developers, but this might be the culprit. Apparently there are issues with the snap installation of curl.

https://askubuntu.com/questions/1387141/curl-23-failure-writing-output-to-destination

<!-- gh-comment-id:1950798646 --> @Jerry-Lees commented on GitHub (Feb 18, 2024): This won't help anyone other than maybe the developers, but this might be the culprit. Apparently there are issues with the snap installation of curl. https://askubuntu.com/questions/1387141/curl-23-failure-writing-output-to-destination
Author
Owner
<!-- gh-comment-id:1950800435 --> @Jerry-Lees commented on GitHub (Feb 18, 2024): Then maybe this work around? https://stackoverflow.com/questions/70736761/solana-installation-failure-with-curl-23-failure-writing-output-to-destinatio
Author
Owner

@ValentinAUCLERC commented on GitHub (Jan 25, 2025):

Hello, still active issue :(

Debian iso are working fine here but all ubuntu images are broken

<!-- gh-comment-id:2614112114 --> @ValentinAUCLERC commented on GitHub (Jan 25, 2025): Hello, still active issue :( Debian iso are working fine here but all ubuntu images are broken
Author
Owner

@kgooris commented on GitHub (Jun 25, 2025):

Quick test and recap, I had with the same issue.
Especially for Live Linux

  • ZorinOS did not work
  • Ubuntu Live did not work
  • Debian Live did work
  • Other errors happen for installing linux (not Debian but Ubuntu) related to missing ISO file on the download side.

I'm using the latest version of docker. However, it seems docker doesn't have the last available menus. To fix that, I downloaded menus.tar.gz from the latest releases, and overwritten my config/menus folder with the content of this file.

This made it properly download, and now both Live and Installations are working.
Maybe there are other updates to be done also to make it work again for some live Linux distros, and the specific errors:

Curl: (23) Failure writing output to destination
"Unable to find a live file system on the network"

<!-- gh-comment-id:3006421406 --> @kgooris commented on GitHub (Jun 25, 2025): Quick test and recap, I had with the same issue. Especially for Live Linux - ZorinOS did not work - Ubuntu Live did not work - Debian Live did work - Other errors happen for installing linux (not Debian but Ubuntu) related to missing ISO file on the download side. I'm using the latest version of docker. However, it seems docker doesn't have the last available menus. To fix that, I downloaded menus.tar.gz from the latest releases, and overwritten my config/menus folder with the content of this file. This made it properly download, and now both Live and Installations are working. Maybe there are other updates to be done also to make it work again for some live Linux distros, and the specific errors: > Curl: (23) Failure writing output to destination > "Unable to find a live file system on the network"
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#399
No description provided.