summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/mkefidisk.wks
blob: 668ca92b04ddae9b8c0d3171fa5a17a46d8ff7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
# short-description: Create an EFI disk image
# long-description: Creates a partitioned EFI disk image that the user
# can directly dd to boot media.

part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024

part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid

part swap --ondisk sda --size 44 --label swap1 --fstype=swap

bootloader --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"