From 369f6eecf5b5a53037c81964bd3a0af22f43d8eb Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 17 Nov 2015 22:16:33 +0100 Subject: [PATCH] make_win_usb: Correct the parted cmd to use 100% of the device for the first part. --- make_win_usb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make_win_usb b/make_win_usb index b9ec6b5..7bb6b22 100755 --- a/make_win_usb +++ b/make_win_usb @@ -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