mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Bug fix: MBF-FAT32 mode not working on /dev/loop0
``` == Writing bootloader == /dev/loop0 seems to be a disk partition device, use the switch -f to force writing of a master boot record ```
This commit is contained in:
parent
5d803853aa
commit
ed82962bae
@ -244,7 +244,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} == Writing bootloader ==${normal}"
|
echo "${bold} == Writing bootloader ==${normal}"
|
||||||
ms-sys -7 "${dev}"
|
ms-sys -7 -f "${dev}"
|
||||||
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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user