1*4882a593Smuzhiyun# short-description: Create an EFI disk image with systemd-boot 2*4882a593Smuzhiyun# long-description: Creates a partitioned EFI disk image that the user 3*4882a593Smuzhiyun# can directly dd to boot media. The selected bootloader is systemd-boot. 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunpart /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 --use-uuid 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunpart / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunpart swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid 10*4882a593Smuzhiyun 11*4882a593Smuzhiyunbootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0" 12