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=6a60524d-061d-454a-bfd1-38989910eccd |
| 8 | |
| 9 | bootloader --ptable gpt --configfile="n1sdp-grub.cfg" --timeout=5 |