netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
9.39k stars 690 forks source link

netboot mounting tmpfs on /cdrom failed invalid argument #1324

Open iTestAndroid opened 1 year ago

iTestAndroid commented 1 year ago

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

AFKeybord commented 1 year ago

I am having the same issue with VMWare workstation.

jkumar2001 commented 11 months ago

Same issue with baremetal with KDE Neon live CD

GingerGraham commented 10 months ago

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

fmcatalan commented 10 months ago

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)

Jerry-Lees commented 9 months ago

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

Jerry-Lees commented 9 months ago

Then maybe this work around? https://stackoverflow.com/questions/70736761/solana-installation-failure-with-curl-23-failure-writing-output-to-destinatio