windows: 修复分区单位错误

This commit is contained in:
bin456789 2023-09-29 01:37:56 +08:00
parent 2fcb6d2a9c
commit d3ccd02fc6
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -539,8 +539,8 @@ create_part() {
# bios
parted /dev/$xda -s -- \
mklabel msdos \
mkpart primary ntfs 1MiB -${part_size}GiB \
mkpart primary ntfs -${part_size}GiB 100% \
mkpart primary ntfs 1MiB -${part_size}MiB \
mkpart primary ntfs -${part_size}MiB 100% \
set 1 boot on
update_part /dev/$xda