mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 07:05:56 +03:00
[GH-ISSUE #551] Solaris based distros #1711
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#1711
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 @thelamer on GitHub (Jan 20, 2020).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/551
Originally assigned to: @thelamer on GitHub.
SmartOS and Oracle Solaris can be loaded with IPXE the only problem is our hosting stack.
They require a specific path to be included in the URL leading up to the kernel IE functional boot entry:
Maybe look at Sourceforge as we can make subfolders with them and toss the unextracted stuff there. Or get actual maintainers to host links, though Oracle has a registration wall in front of their stuff.
@thelamer commented on GitHub (Jan 27, 2020):
ref issue upstream to see if they can just host it :
https://smartos.topicbox.com/groups/smartos-discuss/T181a52074b18fa37/direct-hosting-of-platform-tarballs-for-netbooting
@bahamat commented on GitHub (Jan 30, 2020):
I've got a netboot.xyz-custom fork that works with SmartOS here: https://github.com/bahamat/netboot.xyz-custom
I just need to do a bit of work to "operationalize" our side of it to get it ready for mainline inclusion.
@thelamer commented on GitHub (Jan 30, 2020):
OmniOS reference, looks like http support for grabbing the zlib files only might have to lean on them for hosting if possible:
https://github.com/jfqd/OmniOSce-wiki/blob/master/PXEfromNonOmniOS.md
@bahamat commented on GitHub (Jan 31, 2020):
I've deployed a new infrastructure for hosting netboot and updated my fork of netboot.xyz-custom to point at this new infra hosted at netboot.joyent.com. You can use this for testing, and we can discuss what final integration will look like.
@thelamer commented on GitHub (Jan 31, 2020):
Paging @antonym , we have avoided it in the past, but would it make sense to link directly to external ipxe for rolling out Smartos considering the organizations direct support ?
https://netboot.joyent.com/smartos.ipxe
@antonym commented on GitHub (Jan 31, 2020):
I'd still prefer to maintain the actual pxe boot instructions within the project as it makes it easier to view the various boot methods as documentation in one repo. If it chains out to a remote menu, that's another place a user would have to go to view the docs on how to boot that OS.
It would be interesting though if we could pull versions from an iPXE file from the provider so that their build systems could generate a versioned file to avoid having to maintain version increments.
But either way, this is awesome, thanks for setting up infrastructure to allow us to consume builds!
@bahamat commented on GitHub (Jan 31, 2020):
If there’s a better way to provide versions, I’m perfectly willing to do that instead. I don’t have a particular preference for hosting the boot instructions, but I do want to be able to support multiple versions.
Is it possible to chain load just a list of items for the menu?
@antonym commented on GitHub (Jan 31, 2020):
Yeah, you could chain in specific versions, so if you wanted to maintain several versions you could do something like:
netboot.xyz menu file
@thelamer commented on GitHub (Jan 31, 2020):
We can probably do an external assets yaml like we do with endpoints for programmatically ingested externally hosted asset versioning through cronned builders .
@antonym commented on GitHub (Jan 31, 2020):
Yeah, that'd be cool too... eventually we might add some mirroring logic so users could mirror the kernels locally so ideally we can leverage the assets/version yamls to store those versions and retrieve those files. That might be where the dependency on the versions hosted remotely could break.
@bahamat commented on GitHub (Jan 31, 2020):
@thelamer If you can tell me the syntax for that (or point me to an example?), I'll set it up.
@thelamer commented on GitHub (Feb 1, 2020):
It doesn't exist we are speaking hypothetically.
Likely it will be a bash command that generates a string we can update in a yaml file in our repo from pretty much any external source.
This breaks down the build env a little more.
https://github.com/netbootxyz/build-pipelines
You have done plenty on your side , the ball is in our court to ingest your work.
@bahamat commented on GitHub (Feb 1, 2020):
I updated the ipxe file to allow usage of kmdb, so I'd like that to be included with the boot instructions, wherever that ends up being.
We have releases every two weeks, and one thing I'd like to do in addition to keeping releases relatively up to date, is to sometimes include experimental images. For example, right now we're close to integrating in-zone nfs server, and having that available would reduce friction for people wanting to test it. So if possible, I'd like the list of images to be of variable size rather than just a static four (or however many) elements.
@thelamer commented on GitHub (Feb 3, 2020):
Smartos is now in development head and can be tested with these assets:
https://s3.amazonaws.com/dev.boot.netboot.xyz/0899b4efaf4feccc7e1ddc5b381ad16a7d7a03eb/index.html
We will ingest an array of versions for whatever you put in between the platforms and options menu in your ipxe file , but the rest of the file is static and will need logic changes PR'd in.
Let me know if you notice anything that needs fixing in the initial implementation @bahamat .
@bahamat commented on GitHub (Feb 3, 2020):
@thelamer Neat!
Looking at the commit (
0899b4efaf), I'm not sure how to format it, or where to put it.@thelamer commented on GitHub (Feb 3, 2020):
we use a cronned bot to pull in your ipxe file and parse out the versions to commit changes to our development branch.
The logic is here:
https://github.com/netbootxyz/external-versions/blob/smartos/version.sh
You just change your ipxe file versions and we will ingest it.
@bahamat commented on GitHub (Feb 3, 2020):
Ok, that works for me. How frequently do you pull it in?
@thelamer commented on GitHub (Feb 3, 2020):
Daily
@antonym commented on GitHub (Feb 3, 2020):
Do the images work in UEFI? I was getting exec errors trying with VirtualBox in UEFI mode. If not, we can disable the menu from the UEFI menu. Legacy mode worked great though.
@bahamat commented on GitHub (Feb 4, 2020):
Triton and stand-alone SmartOS use the same build process for platform images (although they have different release schedules), so it should work with uefi, although we do have a problem where the console is blank (see https://smartos.org/bugview/OS-7746). I'm not sure if the problem is ipxe or loader, and we haven't made it a high priority because we primarily use serial for console access.
Even with the blank console, it should still be booted and usable. I was going to bring up enabling the serial console for netboot.xyz the same way we do for Triton, though not necessarily for OS-7746.
@bahamat commented on GitHub (Feb 4, 2020):
BTW, I can't get the efi ISO to load at all using vmware fusion.
@antonym commented on GitHub (Feb 4, 2020):
Is the VM settings set in UEFI mode? If it's in legacy it probably won't boot. We can look at adding serial console support to the ipxe image if needed as well.
@bahamat commented on GitHub (Feb 4, 2020):
I'm not sure where to change that. Compatibility is set to version 14, which should allow efi. All the settings are the same as my regular SmartOS vm, which works with EFI.
@antonym commented on GitHub (Feb 4, 2020):
Should be a way to do it via the interface or by editing the vmx and changing the firmware mode.
@thelamer commented on GitHub (Feb 4, 2020):
I get exec format error on hardware too using UEFI, I get the same error codes when I try to load a 32 bit kernel in UEFI also if that helps.
@bahamat commented on GitHub (Feb 5, 2020):
Our kernel is 64-bit only. It's not even possible to build a 32-bit illumos kernel anymore.
Would either of you be able to give me a screenshot of it?
@thelamer commented on GitHub (Feb 5, 2020):
I was compiling a micro os a while back for a POC Linux bootloader , I got exec format when I did not flag EFI stub support also.
I am just shooting in the dark here , my expertise in Solaris in general stops at getting it to boot.
@bahamat commented on GitHub (Feb 5, 2020):
SmartOS by itself works with EFI. Our usb boot images are EFI capable and the same platform image we’re providing for NetBoot is what we use for our usb images.
@thelamer commented on GitHub (Feb 7, 2020):
@bahamat your live https://boot.netboot.xyz/2.0.8/index.html
@bahamat commented on GitHub (Feb 7, 2020):
@thelamer Nice! I was just adding an experimental platform image and noticed the Unix menu show up!
@thelamer commented on GitHub (Feb 7, 2020):
Pinged omnios gitter to get a dialogue started just tracking link here https://gitter.im/omniosorg/Lobby
@thelamer commented on GitHub (Apr 6, 2020):
@bahamat I am gonna close this out as I do not see tons of value keeping this open indefinitely as we identify potential Solaris based distros for netboot.
I noticed briefly you had some alternative installers in your menu, if you are at all interested in maintaining some other Solaris based boot files I would be happy to ingest them and/or even host assets out of github if needed and expand the Unix list.