Article 5CA52 Create bootable windows 10 usb drive

Create bootable windows 10 usb drive

by
aiszisz
from LinuxQuestions.org on (#5CA52)
Hello!

I have tried to make a bootable windows 10 flash drive with the following steps:
Code:[downloads]# sha256sum -c win10sha256
Win10_20H2_v2_Hungarian_x64.iso: OK

[downloads]# dd bs=4M if=Win10_20H2_v2_Hungarian_x64.iso of=/dev/sdb status=progress oflag=sync
6097975296 bytes (6.1 GB, 5.7 GiB) copied, 773.77 s, 7.9 MB/s
1453+1 records in
1453+1 records out
6097975296 bytes (6.1 GB, 5.7 GiB) copied, 773.965 s, 7.9 MB/s

[downloads]# fdisk -l

Disk /dev/sdb: 14.9 GiB, 15938355200 bytes, 31129600 sectors
Units: sectors of 1 * 512 = 512 bytes.
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[downloads]# mount /dev/sdb /mnt/tmp
mount: /dev/sdb is write-protected, mounting read-only

[downloads]# ls /mnt/tmp
autorun.inf boot bootmgr bootmgr.efi efi setup.exe sources supportAs you can see after dd command files are present on the flash drive but the partion table looks strange (for me). And of course I can't boot with this usb drive.

I have tried the same steps with a lubuntu iso on the same flash drive and I have got this after all:

Code:Disk /dev/sdb: 14.9 GiB, 15938355200 bytes, 31129600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5dd5a297

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3489055 3489056 1.7G 0 Empty
/dev/sdb2 6752 14687 7936 3.9M ef EFI (FAT-12/16/32)Which looks way better and needles to say it works!

How can I make work windows 10 iso?

PS: I got the windows iso from microsoft site!
PS2: here is the whole output of my commands: pastebin
(I cut off irrelevant parts of fdisk -l)latest?d=yIl2AUoC8zA latest?i=w0OXlImJSFc:7zl8lOwUC4s:F7zBnMy latest?i=w0OXlImJSFc:7zl8lOwUC4s:V_sGLiP latest?d=qj6IDK7rITs latest?i=w0OXlImJSFc:7zl8lOwUC4s:gIN9vFww0OXlImJSFc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments