Change disk label for msdos in bios_vreate_key_structure
This commit is contained in:
parent
50d2b171fa
commit
1c2829b34f
1 changed files with 2 additions and 2 deletions
4
init.sh
4
init.sh
|
@ -165,8 +165,8 @@ efi_create_key_structure () {
|
||||||
}
|
}
|
||||||
|
|
||||||
bios_create_key_structure() {
|
bios_create_key_structure() {
|
||||||
parted -s $1 mklabel gpt mkpart debian fat32 1MiB 100% set 1 boot on
|
parted -s $1 mklabel msdos mkpart debian fat32 1MiB 100% set 1 boot on
|
||||||
mkfs.vfat ${1}2 -n debian &> /dev/null
|
mkfs.vfat ${1}1 -n debian &> /dev/null
|
||||||
mount ${1}1 $2
|
mount ${1}1 $2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue