2

I've downloaded en_windows_10_education_version_1703_updated_march_2017_x64_dvd_10189297.iso from the Windows imagine portal. I'm reading that the image can be booted from a usb so I've tried using dd.

With the following command:

sudo dd bs=4M if=en_windows_10_education_version_1703_updated_march_2017_x64_dvd_10189297.iso of=/dev/sdc  status=progress

That doesn't work when I try to boot into the usb, so I also tried replacing /dev/sdc/ with /dev/sdc1.

My computer is setup to first boot with utfi and then legacy.

Is there something else I can try to get this working?

1
  • If it's an ISO, it will be formatted to boot from a DVD. To boot from USB drive, it will need extra boot code. Most of the Linux utilities will format Linux ISOs, but not Windows. I have tried a couple which seem to support Windows, but so far I have got secure boot errors in EFI mode. I have always had to resort to Rufus on Windows. You may wish to investigate some of these for yourself.
    – AFH
    Commented Aug 13, 2017 at 22:02

2 Answers 2

6

It will not work by writing the ISO file to the thumb drive with dd because that works only for hybrid ISO (ISO file that has an MBR and a partition table), which is not the case of Windows ISOs (They are actually UDFs).

To make a UEFI bootable drive out of of it, you need to partition the drive with fdisk or gdisk. You need MBR/msdos partition table if you want it make it BIOS/legacy bootable as well, otherwise you can use GPT (but it's not a must for UEFI booting). A single partition (not the same as partitionless) will do. The partition type should be c (W95 FAT32 LBA) in fdisk or 0700 in gdisk. ef/ef00 might also work but that would prevent the drive from being accessible in normal Windows environment without extra steps. Use 'a' in fdisk to mark the partition as active if you will make it legacy bootable as well.

Then format the partition with mkfs.fat (with optionally -F32). Mount both the formatted partition and the Windows ISO (to different mountpoint respectively) and copy the content from the ISO to the drive.

If you need the drive to be legacy bootable, write boot code to the MBR of the drive and the boot sector of the partition with ms-sys:

ms-sys -7 /dev/sdX
ms-sys -e /dev/sdXY

Note that if you want your Windows installation to be of UEFI variant, you may want to avoid making the installer drive legacy bootable to avoid ambiguity, because the mode the installer drive booted in is going to determine the boot mode / variant of the new Windows installation.

1
  • I had success with formatting the USB stick with NTFS and running ms-sys -n /dev/sdXY instead of -e.
    – Pedro
    Commented Apr 11, 2018 at 20:08
0

If you are using Linux Mint, you can use the native app "USB image writer". If you are on a different distro, you can add the Mint repository and install the app. I have successfully used it several times.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .