make_win_usb: Correct the parted cmd to use 100% of the device for the
first part.
This commit is contained in:
		
							parent
							
								
									5a291a1ee8
								
							
						
					
					
						commit
						369f6eecf5
					
				|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue