Partition 2 is now primary in efi_create_key_structure()
This commit is contained in:
parent
cc4a1f043f
commit
cc5efbcc21
1 changed files with 1 additions and 1 deletions
2
init.sh
2
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
|
||||
|
|
Reference in a new issue