Etcher: Support burning Windows images

Created on 15 Mar 2016  Â·  72Comments  Â·  Source: balena-io/etcher

Looks like burning Windows images requires a few custom steps for the drive to be bootable:

http://onetransistor.blogspot.com/2014/09/make-bootable-windows-usb-from-ubuntu.html

It'd be nice to experiment detecting a Windows image and perform this steps automatically.

sdk all feature

Most helpful comment

Lorenzo,

Are you saying that if I submitted a pull request that fixes this, you
would patch Balena Etcher and support the feature? If that's all that is
stopping this from being implemented, I'm happy to give it a go.

-Martin

On Wed, May 13, 2020 at 3:33 AM Lorenzo Alberto Maria Ambrosi <
[email protected]> wrote:

@JosephTico https://github.com/JosephTico Remember that the "developer"
is also you - this is an open source project and we're already working on a
number of other things that you may or may not know, but saying we don't
care can't be more wrong.
If anyone feels like implementing this, feel free to, it isn't a priority
of ours for now

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-627835762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5KKJAZUIDVQ7P5HR4K73RRJLNLANCNFSM4B6FMNFQ
.

All 72 comments

May be for the first step give user a checkbox if he needs those steps? There quite different windows configurations might be.

Yeah, sounds like a good way to go. I'll hopefully be looking at this really soon.

You might want to check out what the official Windows USB/DVD Download Tool provided by Microsoft does to the USB drive as well. I've been using this tool for Windows 7 without issues whenever I'm being forced to install that OS again.

@Forage i tryed to burn Windows 10 image to flash on MacOS, but it didn't work.
Windows USB/DVD Download Tool is exist for MacOS.
I'm not first time meet this task.
If you resolve this task you get many users on MacOS.
Now there is no simple method for do it.

@lurch Bootcamp doesn't work for me.
Before using this use should fix configs of Bootcamp.
And after all, working is not guarantee.

Somemebody on our gitter channel recently suggested http://www.windowscentral.com/how-create-windows-10-installer-usb-drive-mac for Mac users.

That's not entirely accurate, given that in newest MacBook Pro models (like mine), there is no need to create an external bootable drive (you select the image and the Mac reboots straight into it), and therefore you don't even get the change to select an external drive.

See https://support.apple.com/kb/PH25913?locale=en_US

Depending on the model of your Mac, you might not need an external USB drive to install Windows (you’re asked for one when you prepare your Mac for Windows if it’s required).

The BootCamp assistant will add Apple software to the Windows image though.
Also, in the case of creating an installer medium; on macOS Sierra there's no option to flash it to SD cards anymore (only USB thumb drives still work afaik).

For some more inspiration: https://github.com/slacka/WoeUSB

Hello I'm one of the contributor of the WoeUSB project mentioned above, and I'd like to ask to add WoeUSB as one of the alternative tool that support burning Windows image, refer #1743 for the PR.

Bootcamp didn't provide an option to create a windows USB stick on my late 2009 13" MacBook running OS X 10.11.6 (El Capitan).

However, I was able to boot my PC with UEFI BIOS from the USB stick by simply copying the contents of the Windows 10 ISO to the stick, after erasing it in Disk Utility using MS-DOS FAT and a Master Boot Record as described in this video - https://youtu.be/49NxbzhgsTE

High Sierra has removed the ability to create a bootable USB Windows image. If we can merge the capability of WoeUSB into etcher, that would solve this headache for a LOT of users.

@martinbogo that's odd, I am on High Sierra, and can still do that through the Bootcamp Assistant. Is that missing for you?

Jonas, have you tried since the last update? I just tried via Bootcamp
Assistant, and there's no option to burn it to USB. Screenshot attached:

[image: Screen Shot 2017-12-13 at 12.05.01 PM.png]

@martinbogo the screenshot didn't make it (GitHub doesn't add them when sent via email); Yeah, updated last night, and it still has that option for me as far as I can see. Did you upgrade from Sierra, or are you on a clean install of High Sierra?

Well just FYI, all WoeUSB magic lies in https://github.com/slacka/WoeUSB/blob/master/src/woeusb , the problem is it depends on Linux-only utilities and must be replaced by portable ones.

Deepin boot maker has been able to flash windows ISO for quite some time.
You can look into that.

Still waiting for this.

WoeUSB seems to work for linux. It would be much easier and convenient if Etcher had this feature as well.

Still waiting in
10 April 2018

yep. still waiting.

If you're trying to create windows bootable USB, try

http://fgimian.github.io/blog/2016/03/12/installing-windows-10-on-a-mac-without-bootcamp/

Work for me.

I found a similar tutorial from Google : https://www.iseepassword.com/how-to-make-bootable-usb-drive.html
I have made a bootable USB/DVD /CD with it .

Waiting for...

+1 on this feature

On Tue, Nov 20, 2018 at 2:30 PM Dmitry notifications@github.com wrote:

Waiting for...

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-440452628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADpgDmXPfg__qWaILwB4Qm0nXJEKM0Hyks5uxIKMgaJpZM4HxWNL
.

We are getting to the point where we use etcher for most of the work we're
doing at our lab. Now that we are working with Linux-on-Microsoft and on
ARM devices that support Windows 10, being able to use Etcher to burn
windows images would be a perfect solution allowing us to work with all of
our platforms. Right now we are using WinTel PC's, Windows on Pi, Linux on
Pi, Linux on PC ( Debian, Ubuntu, et.al. ).

So, add our group to the mix calling for a windows image to USB / Flash /
SD card feature!

On Tue, Nov 20, 2018 at 7:20 PM Kriek Prinsloo notifications@github.com
wrote:

+1 on this feature

On Tue, Nov 20, 2018 at 2:30 PM Dmitry notifications@github.com wrote:

Waiting for...

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-440452628,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADpgDmXPfg__qWaILwB4Qm0nXJEKM0Hyks5uxIKMgaJpZM4HxWNL

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-440492706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPVKRtgVgkI3S87uk0g-3e2i6KKhHGlks5uxKpdgaJpZM4HxWNL
.

And there we are in 2019. :tada:
Any updates about Windows image burning? Sure there are other tools that do this but this is the one essential feature missing on Etcher to be the one-fits-all tool....

Agreed! There's absolutely NO legal reason to ignore this. Being able to
burn windows ISO's into install media is critical.

On Wed, Jan 2, 2019 at 2:02 PM Bent notifications@github.com wrote:

And there we are in 2019. 🎉
Any updates about Windows image burning? Sure there are other tools that
do this but this is the one essential feature missing on Etcher to be
the one-fits-all tool....

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-450968973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPVKf2yZOVdSkg4sWQ5JJd71r04dCZCks5u_RBHgaJpZM4HxWNL
.

...other people claim that #266 is "the one essential feature missing on Etcher" :wink:

Hi all,
I looked for using Etcher to create a flash drive for Win 10 some days before, and found this issue. But after doing some research, it turned out it is pretty easy to make one and might be easy to be integrated into Etcher. Just format the media to FAT32 with MBR and copy all files from Win 10 image to the media, and you will get a bootable Win 10 installation disk. I have verified it. No need to hack anything.

Hope this can help

Reference: https://www.joshbeam.com/2017/11/23/making-a-bootable-windows-10-usb-drive-on-macos-high-sierra/

@wcy940418 Unfortunately the latest Windows 10 installation ISO ships a system image with file size greater than 4GiB, which can't be created in an FAT32 file system.

@Lin-Buo-Ren You are right. I need to reinstall the Win 10 because the ESP was messed up today, and I try to download a new ISO and make the media in the same way, but as you said, the install.wim is larger than 4GB so the FAT32 is not happy with it. But I also figured out another way and it works!

The only thing I need to do in order to make the latest large iso work is chopping the install.wim into small pieces. In windows, DISM could do that, but since I use macOS, I found an alternative (should work on all unix-like system, since the author provide the source code and say so), wimlib, which also does a good job. I split it into two pieces, and each of them is smaller than 4GB. Using them to replace the original install.wim on the thumb drive, and then installation will be all the way same as original one.

The only concern may be the overhead of calling the wimlib to split the .wim file. It will take 1-2 minutes (on my MacBook pro 2016 model).

+1"for Windows iso support in balena etcher.

windows is the most used operating system on desktoppc, so it is mandatory for etcher support it

Thanks Tristan36, UNetbootin worked on my early 2009 mac pro (old I know, still relatively fast though) running El Capitan, I have four drives (one with Ubuntu, one with OS X, and one with windows) you helped a lot.

Can't believe they haven't added this yet.

+1 for this feature, please add this. I was quite surprised and disappointed when I found it it wouldn't work.

If you add this feature, there'd be no competition in the usb flashing softwares.

[zrzka] This issue has attached support thread https://jel.ly.fish/#/support-thread~b954b4d9-a86d-4060-a729-851e4859e0c4

After 3 years seems like still nothing. Please guys

+1 windows iso support

+1 windows iso support

+1 for windows support

Awesome app but it is missing a core feature.

+1 for windows support

HUGE +1 for windows ISO support! Since this issue has been a bit slow coming, if it doesn't seem to be too difficult, it might be wise to implement it ourselves in a community-developed PR.

From a cursory glance, it seems it will take at most two PRs:

  1. A PR in this repository editing the writeAndValidate function, in the event that the function call to etcher-sdk.multiWrite.pipeSourceToDestinations in writeAndValidate must be changed to account for changes in the second PR.
  2. A PR in the etcher-sdk repository that changes the functionality of etcher-sdk.multiWrite.pipeSourceToDestinations to include windows-iso detection and special-preparation functionality.

+1 for Windows Support

I've looked into the suggestions of the people in the past and at least for macOS they don't seem to be suited directly for Windows USBs, at least not Windows 10 USBs

UNetBootin doesn't do anything specific for Windows so it has no guarantee of working

As others have mentioned Boot Camp Assistant no longer supports creating a USB installer for anything above High Sierra.
If you go to the support page, there is no mention of an external USB installer, but if you switch to High Sierra, it specifically mentions you can use an external USB.
https://support.apple.com/guide/bootcamp-assistant/install-windows-newer-mac-boot-camp-bcmp173b3bf2/6.1/mac/10.15

Landed here from the Balena Etcher forums. Clonezilla doesn't seem to be able to be detected when flashing the ISO they provide with Etcher to USB, other ISO(Linux distros) I've tried work fine, so I assume it's missing the files(ldlinux.c32, ldlinux.sys) required like the linked forum thread mentions.

I'll have to find alternative software to get Clonezilla bootable, but it'd be nice if Etcher could add a toggle or auto-detect feature for such.

@polarathene I suspect a more suitable issue for your Clonezilla request is #413 ?
Or see also https://github.com/balena-io/etcher/search?q=uefi&type=Issues

@lurch no, this was the issue that the forum link referred to. So probably the same issue. Other ISO files like linux distro installers flash to the USB fine and can be run, just not Clonezilla, nor Windows ISO(but I haven't tried those with Etcher in a long time)

Clonezilla Live is not all that different to the linux distro installers, except it will clone to a target drive from another instead. No need for persistence.

I had a bit of a rummage around, and https://clonezilla.org/clonezilla-live.php says

Clonezilla Live is a small bootable GNU/Linux distribution for x86/amd64 (x86-64) based computers.

and

Two types of files are available, iso and zip. The former one is for CD, the latter is for USB flash drive.

so it's not surprising that trying to flash the ISO to a USB flash drive doesn't work.
And https://clonezilla.org/liveusb.php talks about manually partitioning the drive and then

To make your USB flash drive bootable, first change the working dir, e.g. "cd /media/usb/utils/linux", then run "bash makeboot.sh /dev/sdd1"

so unfortunately it sounds like Clonezilla Live isn't distributed in a format that's suitable for flashing by Etcher. :slightly_frowning_face:

Other ISO files like linux distro installers flash to the USB fine and can be run

Other Linux distros, like Ubuntu, have solved this problem by using hybrid ISOs which means they don't need to supply different versions for CD and USB flash drive (and therefore do work with Etcher).

No need for persistence.

Indeed, that was my misunderstanding of the problem, sorry.

@lurch I would say the docs you're referencing are just out of date to be honest. For example, they have a section for USB with Windows tool Rufus(an Windows only alternative to Etcher for this task), and it specifically mentions the ISO file:

Download the Clonezilla Live iso file.
From MS Windows, run the Rufus program and follow the instructions in the GUI to install Clonezilla Live on your USB flash drive.

And this is exactly what I did. I don't remember the exact message, but Rufus detected some issue with the syslinux setup on the ISO, mentioning two missing or incompatible files, I do recall it saying some version supplied on the ISO was from 10-15+ years ago and Rufus asked to go online and update that with something more recent.

I could perform that again if specifics would help. After Rufus accomplished the task, I booted the Clonezilla Live media just fine and made a backup image of my Windows install.

Personally, it would be nice if Etcher could support the same feature that Rufus has handled, it apparently does so for other media that needs it(prompt user for permission). I'd rather not need to have access to a Windows system if I could use my preferred cross-platform tool Etcher for this.

but Rufus detected some issue with the syslinux setup on the ISO, mentioning two missing or incompatible files

Yeah, that's the kind of logic that Etcher doesn't (yet?) have. That sounds quite different from supporting Windows ISOs, so I wonder if it's worth creating a separate issue? :man_shrugging:

After Rufus accomplished the task, I booted the Clonezilla Live media just fine

Nice to know that at least you have a workaround :slightly_smiling_face:
@thundron Is this something that should be added to the documentation? https://github.com/balena-io/etcher/blob/master/docs/USER-DOCUMENTATION.md#why-is-my-drive-not-bootable

That sounds quite different from supporting Windows ISOs, so I wonder if it's worth creating a separate issue?

I created a separate issue. I only chimed in here based on the forum link to this issue being advised as related to the problem. I've not attempted to create a bootable Windows OS for a while, so I can't recall what Rufus does differently vs Etcher to make the ISO bootable if it's different from what happened with Clonezilla.

Support!

I recently went through the hell of running the latest macOS and attempting to "burn" the official Windows 10 iso from Microsoft onto a 16GB USB:

  1. The latest iso has an sources/install.wim that is larger than the FAT32 4GB file limit, resulting in the file to be missing on the USB (generating quite the annoying error)
  2. macOS 10.15 (Catalina) has removed the Bootcamp Assistant approach people have described. So that's out.
  3. To side-step the 4GB limit I attempted ExFat as some suggested. However, using ExFat formatting did not make the USB bootable

The only way I was able to get a successful Windows 10 USB installation medium with a macOS host was to follow this blog post: https://alexlubbock.com/bootable-windows-usb-on-mac. Spoiler: You have to split the large install.wim into 4000 MB chunks (just like rar part files) using some sort of particular splitting binary.

Based on the research I see, Etcher would have to automate the steps of that guide in order to support macOS hosts.

How is it after 4 years Etcher still isn't able to create a bootable Windows 10 USB? Guys I love Linux as much as the rest of you, but please get on this asap.

This alone made me uninstall Etcher. It's ridiculous that the developer doesn't care.

@JosephTico Remember that the "developer" is also you - this is an open source project and we're already working on a number of other things that you may or may not know, but saying we don't care can't be more wrong.
If anyone feels like implementing this, feel free to, it isn't a priority of ours for now

Apparently I'm still subscribed to this. Whilst I don't agree with Joseph's attitude :( I really have to reinforce to whomever reads this. Support for burning Windows .iso to USB is of paramount importance and should be the number one priority moving forward. If this application is to be offered at a cost for mass flashing of bootable media, it does not make any sense that Windows is not a supported OS.

I hope this is prioritised in the future, because if Windows was supported I (and I am sure a great deal of other people) would not see remotely any need to use other applications whatsoever.

My best to the Balena team. Have a lovely Summer/Winter everyone.

Support for burning Windows .iso to USB is of paramount importance and should be the number one priority moving forward.

That may be of "paramount importance" to you, but that doesn't mean that it's equally important for Balena, which is the company paying for @thundron and @zvin to be working on Etcher.

If this application is to be offered at a cost

?? AFAIK Etcher has always been (and always will be) Open Source Software, downloadable for free.
If you're talking about EtcherPro, then I think I remember reading somewhere that you'll (obviously) be paying for the hardware, but that the software itself will remain Open Source.

Lorenzo,

Are you saying that if I submitted a pull request that fixes this, you
would patch Balena Etcher and support the feature? If that's all that is
stopping this from being implemented, I'm happy to give it a go.

-Martin

On Wed, May 13, 2020 at 3:33 AM Lorenzo Alberto Maria Ambrosi <
[email protected]> wrote:

@JosephTico https://github.com/JosephTico Remember that the "developer"
is also you - this is an open source project and we're already working on a
number of other things that you may or may not know, but saying we don't
care can't be more wrong.
If anyone feels like implementing this, feel free to, it isn't a priority
of ours for now

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balena-io/etcher/issues/210#issuecomment-627835762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5KKJAZUIDVQ7P5HR4K73RRJLNLANCNFSM4B6FMNFQ
.

How is this not implemented yet? Very frustrating to not be able to do such a basic task.

Please lock this issue. It's need and requirements are clear by now and nothing useful is being added to the discussion any more.
Actual constructive discussions can take place again when someone steps up and creates a PR.

How is this not implemented yet? Very frustrating to not be able to do such a basic task.

Use WoeUSB

How is this not implemented yet? Very frustrating to not be able to do such a basic task.

I get the complaint, but if it is this important.. Why don't you implement it yourself then? Would be happy to brainstorm about it with you.

if it is this important.. Why don't you implement it yourself then?

Are you under the impression that all users are developers?

Any scripts for Mac? - the couple of links above go into longwinded tutorials about manually splitting wimlib files, etc. Any tools to simplify it? -- if not, I may just go ahead and create one :D

+1 for windows :sweat_smile:

I don't want to run my VM everytime ;__;

Please vote on the issue instead of replying with a non-helpful comment.

https://www.ventoy.net/en/index.html got a brief review in this month's LinuxFormat magazine, and apparently it's capable of booting Legacy / UEFI / Linux / Windows / etc. ISO images - sounds cool!

@thundron @zvin I wonder if it might be worth adding that to https://github.com/balena-io/etcher/blob/master/docs/USER-DOCUMENTATION.md ?

Please vote on the issue instead of replying with a non-helpful comment.

okay boomer

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AreDubya picture AreDubya  Â·  3Comments

robmcc1983 picture robmcc1983  Â·  5Comments

Deej0406 picture Deej0406  Â·  4Comments

grash54 picture grash54  Â·  5Comments

codeinabox picture codeinabox  Â·  5Comments