Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macmini2012 in pxe not booting #664

Open
juju4 opened this issue Dec 15, 2024 · 6 comments
Open

macmini2012 in pxe not booting #664

juju4 opened this issue Dec 15, 2024 · 6 comments

Comments

@juju4
Copy link

juju4 commented Dec 15, 2024

Describe the bug

Trying to do automated install on a Macmini6.1 following https://wiki.fogproject.org/wiki/index.php/FOG_on_a_MAC

Any plan for updated ipxe binaries that works with mac?
Can you confirm that mac patches were added to upstream ipxe?
Does the above wiki page need a refresh?

Thanks

To Reproduce
Steps to reproduce the behavior:

  1. set tftp and dhcp for PXE following wiki
  2. try with one of above ipxe and mac model
  3. validate if can initiate a boot sequence
  4. See error

Expected behavior
Get the pxe boot menu allowing to start network install

Screenshots
If applicable, add screenshots to help explain your problem.

Software (please complete the following information):

  • N/A
  • just ipxe part as per version abovve
@George1422
Copy link

You did not happen to mention the version of FOG you are using, but I would first start out by rebuilding ipxe to get the latest version from the iPXE project. https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe

The latest version should be in the 1.21.0+ range. The latest release is 24db39f

To answer your questions

  1. Any plan for updated ipxe binaries that works with mac?
    The iPXE binaries are supported by a different open source project than the FOG Project. We depend on the iPXE folks to support pxe booting on unique hardware. If they support pxe booting on mac minis then by default fog will at least get to the iPXE menu.

  2. Can you confirm that mac patches were added to upstream ipxe?
    That would be a question for the iPXE folks.

  3. Does the above wiki page need a refresh?
    Probably yes, but we rely on community members to help give direction since the developers don't have access to every bit of hardware FOG supports. If there are better instructions you see, please provide the guidance if you can.

Another option would be to bypass pxe booting and boot into FOS Linux directly from a USB drive. You will lose some features of FOG , but imaging will work. I don't know the mac series, but if your mac has the T2 chip there is a custom FOS kernel with the patches for the T2 security chip that has worked in the past.

@juju4
Copy link
Author

juju4 commented Dec 16, 2024

Thanks @George1422
I said N/A for FOG because it is not used currently. I have a working dhcp/tftp setup to do pxe with bios/uefi pc and just followed guidance of the FOG wiki to add mac. The matching ipxe binary is from FOG project or seems to be (pointing on https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/). I also have automated install from usb key for mac (custom debian installer). just trying to get pxe works and not have to use usb key.

On 2, it does not seem so
https://github.com/search?q=repo%3Aipxe%2Fipxe%20Macmini6&type=code returns nothing
There is this commit ipxe/ipxe@aa4b038 from 2016 so not matching the "timeline" of the FOG wiki mentioning 2014. but maybe. 2 closed PR.

On 3, yes but first make it work :)

And no T2, this is a macmini2012 aka Intel. well before T2

@George1422
Copy link

FWIW: SVN is no longer updated by the Developers, they now only use github. A current version of iPXE compiled by the fog developers is here: https://github.com/FOGProject/fogproject/tree/stable/packages/tftp

@juju4
Copy link
Author

juju4 commented Dec 16, 2024

Thanks. will give it a try!

@juju4
Copy link
Author

juju4 commented Dec 22, 2024

I tried the latest github ipxe.efi binary on my macmini2012 and it does not work.
stay on "iPXE initialising devices..." for 3-4min and back to local boot. iPXE 1.21.1+ (g5de5d)
from tftpd logs, it only accessed ipxe.efi file.

For above wiki page, I would recommend to put a warning that it is outdated/not supported/not test with Apple silicons either. still add a link to current ipxe binaries repository.

@darksidemilk
Copy link
Member

We no longer update the wiki, we're trying to move to a more collaborative markdown based site over at https://docs.fogproject.org

I made an issue for this over on that repo. I'm not sure we've migrated that page yet. I'm on my phone so it's an empty issue, feel free to comment details, I'm hoping it auto links so what you've already noted can be referenced. You're also more than welcome to make a markdown doc and pull request this information in the docs repo, especially if you find a way to get it working.

FOGProject/fog-docs#24 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants