This is driving me nuts!
I recently upgraded to an M3-based Mac, and started to investigate running Rocky under VMware Fusion. I had already read somewhere that Rocky 8 was problematic, so concentrated on Rocky 9.
My initial experience was good… using the minimal ISO, everything installed out of the box, and runs fine.
Now the tricky part… I tend to install things using PXE, so wanted to add arm64 support to that. After many trials and tribulations, I decided I needed to switch from my syslinux based setup to grub2… which I now have working. (using the rocky 9 grub2-mknetdir as a base)
Now for the issue…
If I install the OS from PXE boot, either manually or via kickstart, the installation completes, gets back to grub, but is unusable… selecting the kernel, the screen blanks for a few seconds and come back to grub. Occasionally I have seen messages about the 64K granular kernel not being supported by my CPU. Indeed, looking at the grub menu I can see that it’s trying to use an aarch64+64k-debug kernel, which is obviously the root cause of the problem.
It is odd that manually installing from an ISO image using the same options installs the regular kernel and works fine.
Why does PXE booting behave differently?
What part of the installation process chooses the +64K kernel, and how can I prevent it?
I’ve tried a number of things, like adding transparent_hugepage=never to the linux command line and grub, and disabling the kernel-64k etc.
Hopefully there is a simple fix.
Thanks in advance for any pointers…
/nick