Score:0

Creating a Windows 10 Installation USB on Ubuntu 22.04

cn flag

On Ubuntu 22.04 I attempt to use "ISO Image Writer" to create a bootable USB drive from the file: Win10_22H2_English_x64v1.iso. This ISO file was downloaded from the Microsoft.com. On the attempt I get the error:

The last block was not fully written (-1 of 1,048,576 bytes)!
Aborting.

The USB drive is a Samsung HM250HI (232.9GiB). This happened in spite of my having used the Disks utility to reformat it to FAT.

Om my Ubuntu OS how can I get this USB drive to become an installation USB for Windows 10?

This is to be used to install Windows 10 on an old computer that cannot handle Windows 11 due to its processor not being supported. The computer is to be handed down to a family member how is not tech savvy enough to handle a Linux OS. Currently installed on this older computer is Pop_OS! 21.04.

sudodus avatar
jp flag
You can use the tool [mkusb](https://help.ubuntu.com/community/mkusb) for this purpose. (It does not work to clone a Windows iso file.) You should check that the iso file was correctly downloaded. Check also that the USB drive is big enough, at least 8 GB (and it is if using the drive you mention in the question).
oldfred avatar
cn flag
Only a few Linux tools work. Windows .wim file is over 4GB and therefore cannot fit on a FAT32 partition. Windows tools when making USB bootable flash drive, split the .win file into two parts, so they can be on a FAT32 formatted partition for UEFI boot.
C.S.Cameron avatar
cn flag
This is what worked for me: https://askubuntu.com/a/1337488/43926 No special tools or downloads needed. Mkusb mentioned above also works. see: https://askubuntu.com/a/1274975/43926
Score:0
gy flag

So I can't comment on the error you're getting. Tho it sounds liek a hardware error..can't read sectors or something.

I use unetbootin when usb image writer gives me issue. You can get the link to unetbootin (and other suggestions) in this link from itsfloss I want to say i've used it for windows iso before

https://itsfoss.com/live-usb-creator-linux/

Hope it helps:)

Stephen avatar
cn flag
I need the result to be a Windows 10 OS installation USB flash drive. So any tool to create this from an .iso file that can only create Linux installation USBs are not useful.
Enesha Fairluck avatar
gy flag
Oops totally my failt, I swore I used it before but I must have misremembered. Here is a guide that might be helpful. https://itsfoss.com/bootable-windows-usb-linux/ Also just for reference, google is your friend. Try searching make windows usb from linux. But the block not fully written sounds like a hardware thing, or maybe a bad iso if it fails at 1 gig
Enesha Fairluck avatar
gy flag
Reformatting just pretty much rewrites the file table and It does not do a sector write. You could try doing a write to all sectors on the drive to verify the sectors are good. Using dd maybe? Google? Also the fs type is probably not important. Usualy we're just talking writing a copy of the isofs to the drive, not copying the files over individually. This would acount for why the result will usually show a drive of the same size as the iso, not reporting the ful size of the underling drive
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.