mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-31 19:08:07 +08:00
windows: 修复分区单位错误
This commit is contained in:
parent
2fcb6d2a9c
commit
d3ccd02fc6
4
trans.sh
4
trans.sh
@ -539,8 +539,8 @@ create_part() {
|
|||||||
# bios
|
# bios
|
||||||
parted /dev/$xda -s -- \
|
parted /dev/$xda -s -- \
|
||||||
mklabel msdos \
|
mklabel msdos \
|
||||||
mkpart primary ntfs 1MiB -${part_size}GiB \
|
mkpart primary ntfs 1MiB -${part_size}MiB \
|
||||||
mkpart primary ntfs -${part_size}GiB 100% \
|
mkpart primary ntfs -${part_size}MiB 100% \
|
||||||
set 1 boot on
|
set 1 boot on
|
||||||
update_part /dev/$xda
|
update_part /dev/$xda
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user