blob: d1878e23e5a36beca06210cf2d743ceed2351a28 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# 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
5part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
6
Andrew Geissler90fd73c2021-03-05 15:25:55 -06007part / --source rootfs --ondisk sda --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9part swap --ondisk sda --size 44 --label swap1 --fstype=swap
10
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"