Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # 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 | |
| 5 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 |
| 6 | |
| 7 | part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 1024 --uuid=9c53a91b-e182-4ff1-aeac-6ee2c432ae94 |
| 8 | |
| 9 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap |
| 10 | |
| 11 | bootloader --ptable gpt --configfile="sgi575-grub.cfg" --timeout=5 |