make_win_usb: Need a FAT32 FS on the USB key to be able to install

Winchiasse for a UEFI system.
This commit is contained in:
Jeremy Gardais 2015-11-18 00:30:19 +01:00
parent e6a1cb838b
commit d02a6ae3c9
1 changed files with 3 additions and 2 deletions

View File

@ -24,9 +24,10 @@ sudo parted ${WIN_USB} mklabel msdos
# Create one big partition with "boot" flag then format in NFTS
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
#sudo mkfs.ntfs ${WIN_USB}1 --fast --no-indexing
# Need a FAT32 partition to be able to install Windaube on UEFI system!
sudo mkfs.vfat ${WIN_USB}1
# Mount first partition of the USB key
sudo mkdir -p -- "${WIN_USB_MNT_PATH}"