Partition 2 is now primary in efi_create_key_structure()

This commit is contained in:
Yorick Barbanneau 2017-01-30 21:40:38 +01:00
parent cc4a1f043f
commit cc5efbcc21

View file

@ -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