mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 15:15:56 +03:00
[GH-ISSUE #946] Please add Proxmox ISO #251
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#251
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 @n3gwg on GitHub (Aug 1, 2021).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/946
Netboot Developers, et alia:
Let me first start out by stating that I appreciate most greatly all of the hard work that has been put into the Netboot ISO and it's persistent maintenance.
I would suggest the addition of Proxmox to the ISO. With the popularity of KVM for virtualization and ease of use provisioned by Proxmox, I would say its addition to the Netboot ISO would be very welcome a great many users.
Thank you in advance for taking the time to consider my request.
Stuart
@antonym commented on GitHub (Aug 1, 2021):
Thanks, appreciate the feedback!
Some discussion is here about it already: https://github.com/netbootxyz/netboot.xyz/discussions/33
I'll take a look this month at seeing about adding it, given you can install it on top Debian too outside of their installer, I think we would be alright adding it as an option.
@n3gwg commented on GitHub (Aug 2, 2021):
Antony, Netboot developers, et alia:
Are you suggesting that there would be a technical issue with adding it or are you concerned about something else? Licensing wise it is Debian Linux with packages added in that are open source (the subscription is just for support). However, the installer they offer allows for installing it onto ZFS and such, which the Debian installer does not do.
If you have not tried Proxmox, I suggest you do as it is an amazing hypervisor environment.
One other suggestion might be for the utilities section to add some of the ISOs provided by the hard drive manufacturers. Seagate I know has a bootable ISO they provide for testing their hard drives as do some of the other manufacturers. Just something I personally do use from time to time and might be nice to add.
Stuart
@antonym commented on GitHub (Aug 2, 2021):
Yeah, I use proxmox for my development environment, works great. I'll be working on the menu soon to add it, I've mocked it up already and it works, just need to add the menu code now.
Would love to do more with adding utilities for server firmware/client firmware and other things, just the fun part is being able to test it to make sure it actually works.
@n3gwg commented on GitHub (Aug 2, 2021):
Antony, Netboot Developers, et alia:
The link as follows hereupon instantiates how to obtain the Seatools bootable ISO (legacy) and a USB based version also. It is not really a PXE Boot image but it is quite small and might be useful to have as an option on the Netboot ISO anyway (granted it may take some fancy scripting to get it download and boot, lest you could get permission from Seagate to provide it on the actual ISO).
https://www.seagate.com/support/downloads/
@antonym commented on GitHub (Aug 3, 2021):
https://github.com/netbootxyz/netboot.xyz/pull/950 Proxmox menu added to development branch.
@n3gwg commented on GitHub (Aug 4, 2021):
Antony, et alia:
Thank you!
When do you think this update will become part of the production ISO?
I also noticed that the ISO filename nor any of the columns on the download page stand demonstrative of a version number for the current ISO or a release date of the current ISO listed there within. Thus, I am curious, how would I know that a new version inclusive of this option has been released?
Stuart
@antonym commented on GitHub (Aug 4, 2021):
It'll go out soon in the next release, but you should be able to test and use it immediately using the Utilities/endpoints/development menu.
@n3gwg commented on GitHub (Aug 25, 2021):
Hear yee, hear yee...I believe I have found some bugs!
I am booting netboot.xyz using a PXE server with the following code:
LABEL Netboot.xyz-bios
MENU LABEL Netboot.xyz ISO (BIOS)
kernel netboot.xyz.lkrn
append dhcp && chain -- autofree https://boot.netboot.xyz
LABEL Netboot.xyz-uefi
MENU LABEL Netboot.xyz ISO (UEFO)
kernel netboot.xyz.efi
append dhcp && chain -- autofree https://boot.netboot.xyz
Now, be it known that the second UEFI entry does not work at all, but the BIOS style works fine.
Now onto the bug I think I found. After using the BIOS entry above (selecting it) and booting into the netboot.xyz ISO I then selected ProxMox (the "non Debug entry") only to observe its failure to boot. Follows hereupon the error messages I got:
Could not start download: Invalid argument (http://ipxe.org/1c25e002)
Could not boot: Invalid argument (http://ipxe.org/1c25e002)
Could not boot: No such file or directory (http://ipxe.org/2d02803b)
Error occurred, press any key to return to menu ...
It is worthy of notation that I also noticed that Debian 11 is in one of the menus but there is another menu where only Debian 10 is listed and has not been updated to have Debian 11.
Thanks for your time and consideration regarding the instant matter!
Stuart
@antonym commented on GitHub (Aug 26, 2021):
I ran across something similar to this a few weeks ago but I haven't been able to replicate it in my environment on the latest builds. Can you ensure you are using 2.0.44 or later? I don't seem to be able to reproduce it there. The latest versions should also have Debian 11 in both the networking installer and live builds.
@n3gwg commented on GitHub (Aug 26, 2021):
For now I just downloaded new copies of the iso, efi and lkrn files.
However, I have no idea how to tell that since the filenames nor the website seems to indicate the version numbers on the download pages. Can you provide some manner by which I can make this determination?
@antonym commented on GitHub (Aug 26, 2021):
Downloads from the main site will be rolling (2.x), point releases are here:
https://github.com/netbootxyz/netboot.xyz/releases
When in doubt always pull the latest rolling build. Every time a new netboot.xyz build is done it also pulls the latest upstream iPXE so rolling is always going to be more bleeding edge.
@n3gwg commented on GitHub (Aug 26, 2021):
ok. I gave it a try and there is still no love booting ProxMox.
One other question...how difficult would it be for there to be an entry for Debian 11 "gnome-nonfree"?
@antonym commented on GitHub (Aug 31, 2021):
Same original problem? Any useful error messages or screenshots to look at? It's loading up the installer in my lab so it appears to be working.
The live images are all Debian nonfree with firmware but the network-based ones are not, we can probably look at adding a nonfree option for those.
@n3gwg commented on GitHub (Sep 9, 2021):
Antony,
I ran several tests using PXE booting to load the netboot images. However, the most straight forward test (eliminating PXE booting from the equation) was to use the netbook ISO boot via VMware Fusion in a VM. A number of things are broken, too many to take screen shots of them all so I performed a screen record video instantiating the basics of what is wrong. To where would you like me to upload this video?
Once you see the video, you can notice during the boot up process there is a problem with HTTPS not starting and I suspect this has something to do with the issue at play.
Stuart
@antonym commented on GitHub (Sep 9, 2021):
I think you might be able to upload it here to the issue directly if its .mp4 or .mov: https://github.blog/2021-05-13-video-uploads-available-github/
If https isn't working, a lot of stuff is going to fail as the releases pulled from github require https. I've seen some odd stuff in Fusion before when I ran it. Time is important to have synced too. Any ipxe.org/errorcode messages would be helpful as well.
@n3gwg commented on GitHub (Sep 9, 2021):
I tried to upload it and it says it is too big. Is there some other way I can get it to you? It would not let me attach a file greater than 10MB to this posting.
The file is a ".mov" file (I recorded it on my Mac) and it is 27MB in size.
@antonym commented on GitHub (Sep 9, 2021):
You should be able to reduce that via Preview in Mac if it's not reduced already, just export it as a lower resolution if you can, I don't really have a drop box for videos.
@n3gwg commented on GitHub (Sep 9, 2021):
Preview did not seem to open it (had it greyed out), so there was no way to reduce it. I am not a video expert, so I just used the simplest and easiest way I could to record it. I'll keep the video for a week, if there is no alternative way for me to upload it to you, then I'll just delete it and forget using netboot. I am not trying to be difficult or mean, it's just I reported a bug, your testing says it doesn't exist or does not show it to you and I cannot get the proof to you to show it to you. Perhaps someone else will report it and show it to you better than I. I have limited time and did the best I could to help out.
I hope you find this bug and fix it, as the entirety of the purpose I wanted to use netboot for is wiped out by this bug. Testing a product in the development environment (as any developer knows) is the best way to assure that bugs will be missed. It must be tested in outside and unfamiliar environments to demonstrate it's veracity. If you want to setup a WebEx, zoom or the like, I will be happy to take time to show you the bug live, that is about all I can offer you at this juncture as I have no way to give you the video recording.
One last thing, I did try to use "xz extreme" to compress it and it got it down to 12MB, still to large to upload to you.
Stuart
@antonym commented on GitHub (Sep 9, 2021):
This is what I'm seeing running this out of Proxmox in my lab on the latest code, would love to get some others testing it as well to see if it works or not. As I mentioned, if you are having HTTPs issues that's probably another problem to sort out and if HTTPs isn't working, it's not going to be able to retrieve any images over HTTPS.
https://user-images.githubusercontent.com/245007/132753277-92e59335-3990-4c24-a2c0-eb228565e45d.mov
@n3gwg commented on GitHub (Sep 10, 2021):
In no uncertain terms something has run afoul. I downloaded the 2.0.47 lkrn version of the netboot binary and it is most surely absent the ProxMox in the live menu. You are clearly using some version different from what you are publishing in the released files area.
@antonym commented on GitHub (Sep 10, 2021):
It's actually in the Linux menu, I accelerated the video so it probably cut that off of me going back to Linux menu.
@n3gwg commented on GitHub (Sep 10, 2021):
I see. Well, the main problem I see is the message when the netboot starts up (also missing from your video). My video being larger but fully complete does show the message stating. However, here is a screenshot of the single point I am referencing.
@antonym commented on GitHub (Sep 10, 2021):
Look up the iPXE error here:
https://ipxe.org/err/1c25e0
This error indicates that the cryptographic random bit generator could not be initialised. This usually indicates that there is no good source of entropy available.
Some versions of the VMware hypervisor provide a “side channel mitigations” feature which unfortunately breaks the entropy source used by iPXE. You can disable side channel mitigations using the Advanced Settings for the virtual machine. See https://kb.vmware.com/s/article/79832 for more details, including the security implications of disabling side channel mitigations.
Process to Disable Side Channel Mitigations:
To disable side channel mitigations use the Workstation / Fusion UI.
On Fusion:
Start Fusion
Go to Virtual Machine > Settings > Advanced
Check "Disable Side Channel Mitigations"
That may help, also, I tested a bare metal install on Vultr and Proxmox works fine.
@n3gwg commented on GitHub (Sep 10, 2021):
Firstly I would point out that the page you recommend viewing "https://ipxe.org/err/1c25e0" is very different from the URL presented when the failure occurs: "http://ipxe.org/1c25e002". Now I am not honestly sure if that is an ipxe issue or a netboot issue, but just pointing it out. Moreover, if there is a way to catch that it is running in a virtual machine or that side channel mitigation is on and warn the user to fix that, that might be useful too. Again, I have no idea of the difficulty level to do that, only that I imagine it can be detected and noticed somehow.
Had I been armed with the same error link you just provided I might have found this issue sooner.
I tried the solution of disabling mitigation and all is working now. This is why software under development must be tested in a multitude of environments! :)
I did test it with the two distributions I had issues with, ProxMox (from the network installation menu) and Kali from the live menu. Both seemed to work (ProxMox complained no virtualization features were enabled, so I enabled them and will try ProxMox again to see if it notices the difference once I finish trying Kali Linux).
Kali Linux did boot fine though one thing I noticed is that it never presented the Kali boot menu (grub menu) that asks about allowing Kali to boot with an encrypted persistent drive (if attached), etc..., can you comment on if it would be possible for netboot to get Kali to boot to that screen before the full boot process proceeds?
One nice feature to add might be having a menu option that looks for a local menu via http or https such as "test.local/localmenu" or the like, so one can easily add a menu without needing to remaster the ISO or image file. I am looking at the instructions for forking a custom image though too.
Using PXE I was also able to boot directly to netboot.xyz.efi and have netboot available via UEFI PXE booting now too.
The fact that I now have a very compact PXE booting environment (no large ISOs) that boot any number of distributions is sweet to say the least! I plan to test it on a bare metal laptop I have later tonight.
I did not see HDT (Hardware Detection Tool) anywhere within Netboot.xyz, any chance it could be added?
https://wiki.syslinux.org/wiki/index.php?title=Hdt_(Hardware_Detection_Tool)
http://www.serverelements.com/?target=Hardware_Detection_Tool
It might be (I have to read more) part of IPXE already, so maybe gaining access to it will not be real hard and I just haven't figured that out yet. I did notice that memtest86 is there, so I am going to try that too.
By the way, what city/state/country or time zone are you in? I am on Pacific Time.
Thank you for all your help and indeed a photo did end up showing the information to figure this out!
Stuart