rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [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. |
| 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 platform --align 1024 --use-uuid |
| 8 | |
| 9 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap |
| 10 | |
| 11 | bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0" |