Menu ▾ ▴

#31 [INSTALLER] Support GPT partitioning and both UEFI and Legacy BIOS boot

open
nobody
None
3 days ago
3 days ago
Anonymous
No

Originally created by: maldyrek

Upgrade sys.install() to detect firmware boot mode by checking for /sys/firmware/efi. Use MBR + grub-install --target=i386-pc for Legacy BIOS machines, and GPT + a 256 MB FAT32 EFI System Partition + grub-install --target=x86_64-efi for modern UEFI hardware.

Acceptance Criteria:

  • Installed MacroMag OS boots standalone (without USB media) on both Legacy BIOS laptops and modern UEFI desktops.

Discussion


Log in to post a comment.