From cc5efbcc2157c5935576146baaf2705eefba9235 Mon Sep 17 00:00:00 2001 From: Yorick Date: Mon, 30 Jan 2017 21:40:38 +0100 Subject: [PATCH] Partition 2 is now primary in efi_create_key_structure() --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index cd8d3d2..960f7ce 100755 --- a/init.sh +++ b/init.sh @@ -151,7 +151,7 @@ umount_device (){ efi_create_key_structure () { parted -s $1 mklabel gpt mkpart EFS fat32 1MiB 128MiB set 1 boot on - parted -s $1 mkpart EFS fat32 128MiB 100% + parted -s $1 mkpart primary fat32 128MiB 100% mkfs.vfat ${1}1 -n efi &> /dev/null mkfs.vfat ${1}2 -n debian &> /dev/null mount ${1}2 $2