14 lines
750 B
Plaintext
14 lines
750 B
Plaintext
# short-description: Create an EFI disk image with grub-efi
|
|
# long-description: Creates a partitioned EFI disk image that the user
|
|
# can directly dd to boot media. The selected bootloader is grub-efi.
|
|
# It also includes intel-microcode as an initrd for early update support.
|
|
|
|
#part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --label boot --active --align 1024 --use-uuid
|
|
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 100
|
|
|
|
part / --source rootfs --fstype=ext4 --ondisk mmcblk0 --label root --align 4096
|
|
|
|
#part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
|
|
|
|
#bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 "
|