mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 23:25:54 +03:00
[GH-ISSUE #1384] No popular distro live image boots #425
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qu1ck on GitHub (Dec 27, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1384
Describe the bug
Live images seem to be completely broken for a good chunk of popular distros.
I tried:
Not one of them boots, most fail with unable to mount one thing or another.
To Reproduce
Boot any of the above distros
Expected behavior
I should be able to boot something modern
@OptimusGREEN commented on GitHub (Dec 27, 2023):
I can't get any of the live cd's to work.
@jkoelker commented on GitHub (Dec 27, 2023):
The listed distros boot currently with the exception of KDE fedora (which appears to be a dracut issue not requesting the squashfs image correctly, but that's been the case for at least the last two releases), the issue is you probably have not allocated enough ram for the distro's requirements for the live image. Unfortunately over the years distros livecd images have steadily grown.
I have just validated each with 8G:
@OptimusGREEN commented on GitHub (Dec 27, 2023):
Thanks for the reply.
I can confirm that raising to 8gb ram indeed fixed my issue. great!
@antonym commented on GitHub (Dec 28, 2023):
Thanks @jkoelker, the Live Images do usually just need a lot more memory unfortunately.
There also may be some issues on Fedora that I need to circle back on, because they have steadily grown, I'll need to add the rootfs split logic into the initrds that split out as well:
https://github.com/netbootxyz/netboot.xyz/issues/1214
@qu1ck commented on GitHub (Dec 28, 2023):
This is what I get on 10GB VM, same result on 16 GB
Ubuntu 23.04 KDE

Ubuntu 22.04 xfce

Debian 12 cinnamon

Debian 12 KDE

What am I doing wrong?
@antonym commented on GitHub (Dec 28, 2023):
Make sure you are on the newest rev too, either 2.0.75 or rolling boot.netboot.xyz, 2.0.74 had some some bad images that may have been missing curl. I just tried Ubuntu 23.04 KDE and it loaded fine.
@qu1ck commented on GitHub (Dec 28, 2023):
Yes, I'm on 2.0.75. Netinst images load fine and same VM loads from live iso's fine.
@greatwolf commented on GitHub (Dec 29, 2023):
I'm experiencing the same issue as @qu1ck when booting Linux Mint LMDE edition. This is on a laptop with 8gb of ram. His Deb 12 Cinnamon bootup screenshot is what I'm seeing on my laptop during live boot attempt.
@jkoelker commented on GitHub (Dec 29, 2023):
When ya'll get dumped to the shell, what does
/proc/cmdlinesay? Are you using the github version of everything or are you trying to do self-hosting? If the latter try using the hosted version first, if that works, then its something in your self-hosted setup.@qu1ck commented on GitHub (Dec 29, 2023):
I am using the official netboot.xyz docker image and I'm caching the init image/squashfs files locally to speed up my boot times.
And you are right, sticking a netboot.xyz.iso into my vm and booting from it I was able to boot into debian 12 cinnamon live image.
Trying some things I was able to boot from my self hosted netboot.xyz if I dropped the cache and reverted config changes that pointed to cache host instead of github downloads.
After some trial and error I found that I didn't cache the "default" squashfs which is not obvious that it is needed. After caching it as well I can boot debian 12 and ubuntu 23.04 but not ubuntu 23.10.
Still, better than nothing.