make_win_usb: Correct the parted cmd to use 100% of the device for the

first part.
This commit is contained in:
Jeremy Gardais 2015-11-17 22:16:33 +01:00
parent 5a291a1ee8
commit 369f6eecf5
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ sudo dd if=/dev/zero of=${WIN_USB} bs=446 count=1
sudo parted ${WIN_USB} mklabel msdos
# Create one big partition with "boot" flag then format in NFTS
sudo parted ${WIN_USB} mkpart primary 0% 100MS-partition table
sudo parted ${WIN_USB} mkpart primary 0% 100%
sleep 10
sudo parted ${WIN_USB} set 1 boot on
sudo mkfs.ntfs ${WIN_USB}1 --fast --no-indexing