-
Notifications
You must be signed in to change notification settings - Fork 99
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
BIOS Boot Support for Raw Images #3061
Comments
IIRC:
A workaround could be to get a normal iso and qemu, run the install in the VM and get the resulting VM disk. That should contain a valid GPT-Legacy raw image that should be valid for Akamai once gzipped. |
It looks like this AuroraBoot script is adapted from the Elemental Toolkit script. Interesting that the original has a TODO for legacy boot support—wonder if that's something carried over here. |
About MBR boot from @mudler:
My issue with being stuck on ‘Generating MBR disk’ was because I didn’t have |
Hey @dnugmanov ! Master aurora now uses a different, faster, more streamlined method to build the MBR raw images. If you use the latest tag of auroraboot you will now not need the install part, as it wont create a qemu vm and install the iso to gednerate a bios raw image. now "disk.mbr" or even better "disk.bios" should generate a pure raw image directly like the efi one. Let me know if this would cover your use case. Currently docs are not updated as this only landed on master recently so we are still trying to find bugs on it, but it will be updated very soon. As you mentioned, the BIOS image now will have grub installed to the main disk image (sector 0). There is also now tests in mainline aurorare to build and test the BIOS image as well, so it should be safe enough to test this. |
Issue Description
When attempting to deploy Kairos on Akamai Cloud (formerly Linode), the platform has specific requirements for bootable images:
UEFI Raw Image Approach
Using auroraboot with
--set "disk.raw=true"
produces a GPT-partitioned image that appears to support BIOS booting (contains partition type EF02). However:MBR Approach
Attempted to use undocumented option
--set "disk.mbr=true"
in auroraboot, but the build process stalls at:2024-12-07T10:48:03Z INF Generating MBR disk '/tmp/auroraboot/build/disk.raw' from '/tmp/auroraboot/build/kairos.iso'
Legacy Boot Support with GPT
MBR Image Generation
disk.mbr=true
option? Is this feature ready for use, given it's currently undocumented?Can you help with a clue why the image generation got stuck at the ISO to raw conversion stage (qemu is just running vm and not stops it for saving disk )The text was updated successfully, but these errors were encountered: