0

My specific issue is that although I have the Windows 10 ISO and the flash drive that I used to install Linux, I am unable to put the ISO files onto the Drive. Specifically, I'm using an SD card reader in my USB slot, and the SD card is 64GB. It worked fine for Ubuntu, and I deleted all of the files and tried to replace them with the contents of the Windows ISO, but one of the files won't move to the SD card. My understanding is that the individual file is too large rather than the card not having enough storage. Is there any way around this? I don't have a disk drive or any DVDs to burn it onto. I used a software on Windows to put the ISO on my SD card originally, but that doesn't seem to be an option on Ubuntu. I should also note that I completely removed Windows because I was having issues adjusting the partitions, so Windows is completely gone and I would like to completely get rid of Ubuntu to replace it with Windows 10.

  • I don't know why I'm being downvoted, but I tried to fix my problems on Ubuntu and was chased away. On top of that, I just wanted to try Ubuntu out, but for my purposes, it isn't doing anything better than Windows. I need consistent access to Windows only applications which doesn't seem to work well without just using Windows. I have been trying to put windows back on my own for the last week, but all of the Questions, answers, and forums that I could find assumed that it either just worked or I had a DVD drive. – BobShick Oct 17 '22 at 17:58
  • You can use MKUSB to "burn" the Windows ISO - https://help.ubuntu.com/community/mkusb - AFAIK no other tool works due to the Microsoft ISOs being non-standard. Preferably do it from a Windows computer with the OFFICIAL Media Creation tool that's triggered when downloading the ISO. Other that this information given as courtesy, how to make Windows installation media is question better suited for superuser.com . Asking here after the whole back and forth in your other question seems quite abusive, don't you think? – ChanganAuto Oct 17 '22 at 17:58
  • 4
    Per Microsoft, their ISO is for burning to a DVD. The only officially supported way to get USB Windows installation media is to use their media creation tool which is a Windows only application. I will try to apologize on behalf of the community if you feel chased away. AU is run by volunteers and there is a unfortunately a minority that needs improvement on their tone while assisting others. That being said, it's also important to ask effectively and within the rules of the site in order to avoid negative feedback. See the links I posted on the answer to your other question. – Nmath Oct 17 '22 at 19:03
  • See if this is what you want: https://askubuntu.com/questions/1337487/using-ubuntu-to-reinstall-windows-10-using-grub2-and-no-usb. And if you find any comments rude, click the little flag in front of the comment to let admin know. – C.S.Cameron Oct 18 '22 at 01:33
  • 1
    "due to the Microsoft ISOs being non-standard" That's actually the opposite. It's the Linux ISOs that are non-standard, because they use a hack called ISOHybrid that makes it look like an ISO9660 file system with no partitions is something else, in order to enable the use of dd to write them. The Microsoft ISOs are in fact 100% standard, and I'm afraid it's just Linux users, who are accustomed to ISOHybrids, that have the erroneous the impression that they aren't, because they don't behave like non-standard Linux ISOs... – Akeo Oct 18 '22 at 12:14

3 Answers3

5

As Nmath said in the comments, I'm sorry you feel you've been chased away by the community - that's not what AU is about. Welcome to AU!

It's obviously not much of an Ubuntu question (asking how to uninstall it!) though I don't think it's technically off topic as you're asking how to do something within Ubuntu.

I think your best option - if possible - is to find someone with a working Windows machine to create Windows installation media on your SD card to use with your USB adapter (or buy / borrow a USB drive from someone).

It may be that your USB is formatted as FAT rather than ExFAT - that's likely to be the reason you can't put a big file on there (4GB is the limit for any file in FAT).

From Ubuntu, it is possible to create installation media - here are some online guides I've found; I've not tried them myself but they are sites I've used before and generally found useful.

https://itsfoss.com/bootable-windows-usb-linux/

https://www.makeuseof.com/how-to-create-windows-bootable-usb-linux/

https://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu

Edit (2023): I’ve now had the chance (need!) to test out how to do this as I had a need to reinstall Windows on my wife’s computer - it was actually very easy to create the installation media - see How can I create a Windows bootable USB stick using Ubuntu? for answers on this including how I did it this year. The comment by @C.S.Cameron is pretty much spot on - it’s easy but woeUSB didn’t work for me.

This isn't what you're asking, but I would suggest thinking again before ditching Ubuntu and installing Windows. Once you've got your installation media sorted, do consider the option of dual boot if you have enough hard drive space. Install Windows first, disable fast start up, download the Ubuntu installation media and create a USB ISO (eg using Rufus in Windows) then install Ubuntu alongside. There are lots of guides online - do an online search for 'Ubuntu dual boot' for example - or I explain how I did it in the link below. For me - when I was used to Windows and wanted to try Ubuntu, it was a great way to try out the OS without fear of losing an OS I knew how to use. Moving forward 3 years, and I now have just Ubuntu on my home computer and laptop.

You said in your previous post that you needed Zoom - that's easily installed from the software centre (Zoom client). You will find equivalents of virtually every program you can install in Windows available on Ubuntu, either via the software centre, or from the company's website for direct download. For my purposes, I found literally everything I wanted in Ubuntu with only 2 exceptions (-1-: iTunes to sync my iPhone's music with my computer; -2-: software to open a shared Outlook calendar). I wrote a detailed log of what I did here in case it's any use: How to set up a system for UK medical practise You'll see very quickly that I'm not an IT professional at all but I have found it immensely rewarding to switch from Windows to Ubuntu - more than I thought it would be. It did take some effort but I am very pleased I changed.

I appreciate that's a relatively niche area, but it gives you a flavour of what is possible and a lot of the software I installed is generic and the kinds of things most people would want: equivalents for Word / Excel / Powerpoint / PDF editor / Photoshop equivalent / real versions of Teams / Zoom / Dropbox / Minecraft (for my son!) - as well as some profession-specific stuff like medical image viewing software.

Whatever you decide to do, good luck with it.

Will
  • 2,292
1

but one of the files won't move to the SD card. My understanding is that the individual file is too large rather than the card not having enough storage.

Your problem is most likely that your SD card is formatted as FAT32 (or vfat in Linux) and you are trying to copy the sources/install.wim from the Windows ISO which is larger than 4 GB, whereas 4 GB is the absolute maximum size a FAT32 file can occupy (unfortunately this is a design limitation of the file system).

So, yes, in this case, you won't be able to extract the whole ISO content onto a FAT32 formatted SD card, and you need to format the card using a different file system, such as NTFS. If you're running a recent version of Linux, mkfs.ntfs should be able to format your SD card to NTFS, and then you will be able to extract all the ISO content, including that install.wim file that is larger than 4 GB, onto the SD card.

However now your problem becomes that not all computers can boot Windows media that has been extracted to NTFS (and also a lot a computers with an SD reader cannot boot directly from SD card — You have to use a USB to SD card reader). If the computer you are trying to boot is recent, i.e. less than 5 or 10 years old, there's actually a good chance that UEFI boot will support NTFS, so you should definitely try to extract the ISO content to your NTFS formatted SD card and see if that boots (again, using an SD to USB adapter, because it's unlikely you'll be able to boot from an integrated card reader). Make sure your BIOS is set to boot in UEFI mode rather than Legacy when doing that though.

Now, if that doesn't work, it means that your UEFI firmware does not include an NTFS driver, so it'll take a bit more involvement to create your Windows boot media from Linux. I would start by looking at WoeUSB and see if that works for you.

Akeo
  • 1,455
  • I am pretty sure extracting the Windows ISO to NTFS has worked for me half a dozen times I've tried it. As you say it may just be my computers. I have heard other people claim that only FAT32 works. I have not tried exFAT. I have not been able to get WoeUSB to work for me for years now. – C.S.Cameron Oct 19 '22 at 01:49
1

Concerning the boot medium itself: I made pretty good experience with using ventoy. Here you need not modify your ISO file, just put it on the drive ...

https://www.ventoy.net

You can put more than one ISO on the stick, you can boot both bios and uefi. It also takes care to format your stick / card in a way that you can write files larger than 4G (exFat)

Andreas W.
  • 11
  • 3