Change disk label for msdos in bios_vreate_key_structure

This commit is contained in:
Yorick Barbanneau 2017-01-30 11:50:21 +01:00
parent 50d2b171fa
commit 1c2829b34f

View file

@ -165,8 +165,8 @@ efi_create_key_structure () {
}
bios_create_key_structure() {
parted -s $1 mklabel gpt mkpart debian fat32 1MiB 100% set 1 boot on
mkfs.vfat ${1}2 -n debian &> /dev/null
parted -s $1 mklabel msdos mkpart debian fat32 1MiB 100% set 1 boot on
mkfs.vfat ${1}1 -n debian &> /dev/null
mount ${1}1 $2
}