mirror of
https://github.com/bin456789/reinstall.git
synced 2026-10-04 14:37:45 +08:00
@@ -2868,9 +2868,11 @@ create_part() {
|
|||||||
apk add dosfstools
|
apk add dosfstools
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 清除分区签名
|
# 清除分区表
|
||||||
# TODO: 先检测iso链接/各种链接
|
# https://github.com/bin456789/reinstall/issues/638
|
||||||
# wipefs -a /dev/$xda
|
apk add wipefs
|
||||||
|
wipefs -a -f /dev/$xda
|
||||||
|
apk del wipefs
|
||||||
|
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
if [ "$distro" = windows ]; then
|
if [ "$distro" = windows ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user