mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
parent
8354ffdc14
commit
6fc6f0ad94
@ -253,7 +253,7 @@ then
|
|||||||
ms-sys -e "$(get_dev_partition_num "${dev}" "1")"
|
ms-sys -e "$(get_dev_partition_num "${dev}" "1")"
|
||||||
|
|
||||||
echo "${bold} == Mounting data partition ==${normal}"
|
echo "${bold} == Mounting data partition ==${normal}"
|
||||||
mount "$(get_dev_partition_num "${dev}" "1")" "$partpath"
|
mount -o utf8=true "$(get_dev_partition_num "${dev}" "1")" "$partpath"
|
||||||
|
|
||||||
# GPT FAT32
|
# GPT FAT32
|
||||||
elif [[ "$labeltype" == "gpt" ]];
|
elif [[ "$labeltype" == "gpt" ]];
|
||||||
@ -266,7 +266,7 @@ then
|
|||||||
mkfs.vfat -n "${isolabel:0:11}" "$(get_dev_partition_num "${dev}" "1")"
|
mkfs.vfat -n "${isolabel:0:11}" "$(get_dev_partition_num "${dev}" "1")"
|
||||||
|
|
||||||
echo "${bold} == Mounting data partition ==${normal}"
|
echo "${bold} == Mounting data partition ==${normal}"
|
||||||
mount "$(get_dev_partition_num "${dev}" "1")" "$partpath"
|
mount -o utf8=true "$(get_dev_partition_num "${dev}" "1")" "$partpath"
|
||||||
|
|
||||||
# GPT NTFS
|
# GPT NTFS
|
||||||
elif [[ "$labeltype" == "gptntfs" ]];
|
elif [[ "$labeltype" == "gptntfs" ]];
|
||||||
|
Loading…
Reference in New Issue
Block a user