balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.86k stars 2.11k forks source link

Support burning Windows images #210

Open jviotti opened 8 years ago

jviotti commented 8 years ago

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.

Timopheym commented 8 years ago

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

jviotti commented 8 years ago

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

Forage commented 8 years ago

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.

BioQwer commented 7 years ago

@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 commented 7 years ago

See also https://github.com/resin-io/etcher/blob/master/docs/USER-DOCUMENTATION.md#why-is-my-drive-not-bootable And https://gitter.im/resin-io/etcher?at=585358a7c5a4e0233b8ec470 suggests that you can use Bootcamp on MacOS.

BioQwer commented 7 years ago

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

lurch commented 7 years ago

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

jviotti commented 7 years ago

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).

jhermsmeier commented 7 years ago

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).

Forage commented 7 years ago

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

brlin-tw commented 7 years ago

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.

zabbarob commented 7 years ago

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

martinbogo commented 6 years ago

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.

jhermsmeier commented 6 years ago

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

martinbogo commented 6 years ago

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]

jhermsmeier commented 6 years ago

@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?

brlin-tw commented 6 years ago

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.

Mazino-Urek commented 6 years ago

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

PeterMX commented 6 years ago

Still waiting for this.

HarshInvader commented 6 years ago

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

mrPsycho commented 6 years ago

yep. still waiting.

zhigang1992 commented 6 years ago

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.

Tamkaser commented 6 years ago

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 .

DejavuDmitry commented 5 years ago

Waiting for...

kriekprinsloo commented 5 years ago

+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 .

martinbogo commented 5 years ago

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 .

Tristan36 commented 5 years ago

UNetbootin could also create bootable USB on MacOS: https://unetbootin.github.io/ https://www.top-password.com/guide/create-pcunlocker-bootable-usb-from-mac.html

BentHaase commented 5 years ago

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....

martinbogo commented 5 years ago

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 .

lurch commented 5 years ago

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

wcy940418 commented 5 years ago

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/

brlin-tw commented 5 years ago

@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.

wcy940418 commented 5 years ago

@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).

Testato commented 5 years ago

+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

OPcake12345 commented 5 years ago

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.

Baysul commented 5 years ago

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

DoogeJ commented 5 years ago

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

konrei commented 5 years ago

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

balena-ci commented 5 years ago

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

dinohorvat commented 5 years ago

After 3 years seems like still nothing. Please guys

SergeiCherevko commented 5 years ago

+1 windows iso support

nikotidar commented 5 years ago

+1 windows iso support

StephanMeijer commented 5 years ago

+1 for windows support

mehmetaydogduu commented 4 years ago

Awesome app but it is missing a core feature.

odyslam commented 4 years ago

+1 for windows support

MyriaCore commented 4 years ago

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.
jwmann commented 4 years ago

+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

polarathene commented 4 years ago

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.

lurch commented 4 years ago

@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

polarathene commented 4 years ago

@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.