blob: d4c79d337bcb9afca8a34149549b4a8fcce32774 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# short-description: Create an EFI disk image
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. Uses a custom grub.cfg file to configure the boot.
4
5part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
6
7part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 1024 --uuid=9c53a91b-e182-4ff1-aeac-6ee2c432ae94
8
9part swap --ondisk sda --size 44 --label swap1 --fstype=swap
10
11bootloader --ptable gpt --configfile="sgi575-grub.cfg" --timeout=5