Create windows 10 bootable usb from linux

Brief: This tutorial shows you how to create a bootable Windows 10 USB in Linux with and without a GUI tool called Ventoy. I have talked a lot about creating bootable USB of Linux in Windows. How about the other way round? How about creating a bootable Windows 10 USB in Linux? If you are uninstalling Linux from dual boot or if you want to reinstall Windows completely or you simply want to have a Windows installation disk ready, you’ll need a bootable Windows 10 USB or DVD. In t

Brief: This tutorial shows you how to create a bootable Windows 10 USB in Linux with and without a GUI tool called Ventoy.

I have talked a lot about creating bootable USB of Linux in Windows. How about the other way round? How about creating a bootable Windows 10 USB in Linux?

If you are uninstalling Linux from dual boot or if you want to reinstall Windows completely or you simply want to have a Windows installation disk ready, you’ll need a bootable Windows 10 USB or DVD.

In this tutorial, I am going to show you how to create a Windows 10 bootable USB in Linux. I am using Ubuntu for this tutorial but the steps should be valid for other Linux distributions as well.

There are two ways to do that and I have discussed both in this tutorial.

  • The first method is mounting the ISO image of Windows to a USB disk formatted in ExFAT system. This works most of the times but there could be instances where it wouldn’t boot.
  • The second method is to use a tool like Ventoy. It creates a UEFI compatible bootable disk.

Creating a Bootable Windows 10 USB in Linux

How to create bootable Windows 10 USB in Linux

Prerequisite: Get Microsoft Windows 10 ISO and a USB of at least 8 GB in size

You can download Windows 10 ISO from Microsoft’s website. You have to specify the Windows 10 version, language and then you should see the link to download Windows 10.

Note that the Windows 10 ISO download link is valid for 24 hours only. So use a download manager in Linux to download the ~5-6 GB file and finish it within 24 hours.

Since the ISO and its content are more than 4 GB in size, I recommend a USB of at least 8 GB in size.

I have also made a video of this tutorial so that you can see the steps in action.

Step 2: Properly format the USB for creating bootable Windows USB

Insert your USB. You have to format it so make sure that you don’t have important data on the USB key.

In Ubuntu, press Super key (Windows key) and search for ‘Disks’. You have to use this tool to format the USB key.

Disks Tool Ubuntu
Disks Tool in Ubuntu

In the Disks tool, make sure to select your USB drive and hit format.

Format USB before creating Windows 10 Bootable USB
Format USB before creating Windows 10 Bootable USB

It will ask to choose a partitioning scheme. It could be either MBR or GPT. Select one of them and hit Format.

Format USB for creating Windows 10 Bootable USB
Choose either of MBR or GPT

It will show you a warning that you data will be erased.

Format USB in Ubuntu Linux

Format the USB

The formatting of USB is not over yet. Now, you need to create a partition on the newly formatted USB.

Create a partition on the formatted USB
Create a partition on the formatted USB

Select the entire USB disk as the partition size.

Creating partition on USB for creating a bootable Windows 10 USB in Ubuntu
Creating partition on USB

Give a name to your USB and hit Create button.

Formatting USB in Ubuntu Linux
Give a name and hit Create

Once done, your USB should be automatically mounted. It is now ready for creating bootable Windows 10 USB disk.

Tip: Files larger than 4 GB?

Newer Windows 10 ISO might have files larger than 4 GB. In that case, FAT filesystem won’t work as it doesn’t allow a single file of size greater than 4 GB.You should then format the USB in ExFAT format.

This newer format allows files bigger than 4 GB. Use this tutorial to learn how to format a USB in ExFAT format in Linux.

Step 3: Copy the content of the ISO to USB

Now it’s time to copy the content of the Windows 10 ISO to the newly formatted USB.

You may ask, Abhishek, there is only one file and that is the ISO file itself. What are you talking about?

ISO is basically an archive format and you can see it’s content like any zip file in Linux. But to do that, you need to use ‘Disk Image Mounter’ tool that is installed by default in Ubuntu.

Go to your Windows 10 ISO, select it and right click on it. Now select ‘Open with other application’.

Mount the Windows 10 ISO in Ubuntu
Mount the Windows 10 ISO

In the applications list, select Disk Image Mounter:

Mounting Windows 10 ISO in Ubuntu
Mounting Windows 10 ISO

The ISO will be mounted. You may not see it in the left sidebar but if you click on the Other Locations, you should see it. Click on it to enter this mounted ISO folder.

Windows 10 ISO mounted in Linux
Windows 10 ISO Mounted

You’ll see its content. All you need to do is to select all the files (Ctrl+A), copy it (Ctrl+C) and paste it in the USB drive (Ctrl+V).

Windows 10 Iso Content
Windows 10 ISO Content

Wait for the copying process to finish as it may take some time in copying 4-5 GB of data. Once it’s done, you have a bootable Windows 10 USB in your hand. Take out the USB and use it to any system you want, restart the system and change the boot settings to boot from the USB.

Method 2: Create bootable Windows 10 USB using Ventoy

Ventoy is an open source tool for making live USBs. You can use it to create a multi-boot USB, persistent Linux live USB and bootable Windows USB.

I find Ventoy an unorthodox tool. It is slightly tricky to use and this is the reason I am writing this step-by-step tutorial.

Step 1: Prepare your USB drive

Ventoy formats the USB disk while creating the bootable disk. However, I noticed it failed to do so for an already bootable Linux disk. For this reason, I advise you to format the USB disk before you proceed further.

Plug in and then format the USB disk. You can do that by right-clicking on the mounted disk and then selecting the format option.

format usb disk ubuntu linux

It doesn’t matter which filesystem you choose during formatting. It will be formatted again by Ventoy in the later steps.

formatting usb in ubuntu

Once it is formatted, keep it plugged in and go on to the next step of installing Ventoy.

Step 2: Download and install Ventoy on Linux

Ventoy is a mix of GUI and CLI tool. It can be used on any Linux distribution. Download Ventoy for Linux from the release page of its GitHub repository.

You’ll find the .tar.gz file with Linux in its name. This is the file you should download.

download ventoy for linux

Once downloaded, extract the tar gz file. Simply right click on it and extract it.

extract ventoy linux

Go inside the extracted folder, and you’ll find a few scripts in it. You need to run one named VentoyWeb.sh. To do that, you’ll have to use the command line.

Now if you are familiar with Linux command line, I presume that you can easily find your way to the file by using the cd command.

Alternatively, you can use the “open in terminal” feature of the file manager to open the location in a terminal.

open in terminal

Once you are in the correct directory in the terminal, use the following command to run Ventoy:

sudo ./VentoyWeb.sh

Ventoy runs inside a browser. It will give you the URL when you run it. Copy this URL and paste it in a browser.

run ventoy linux

It will open a web page with Ventoy running in it and if the USB is already plugged in, it should recognize it. If not, press the refresh button.

Step 3: Use Ventoy to create bootable Windows 10 USB disk

Though Ventoy has the option to create a bootable disk with secure boot, it is experimental and may not work.

Considering you are going for a UEFI installation, it will be wise use GPT for partitioning scheme.

choose partitioning scheme

Once things are set, hit the install button. It will show you a couple of obligatory warnings. If the installation completes successfully, you should see a success message.

install ventoy on disk

Note: If you do not see Ventoy disk mounted after the successful installation, please plug out the USB and then plug it in again.

When you hit the install button, it creates two partitions on the USB disk.

  • VTOYEFI: A small partition for the UEFI files.
  • Ventoy: A big, empty partition in ExFAT format where you’ll copy the ISO image.
check ventoy partitions

Yes. That’s what you need to do. Copy the ISO image of the Windows 10 into the bigger ExFAT partition on the USB disk.

copy windows iso to ventoy

Once the copying finishes, DO NOT RUSH to plug out the USB just yet. Click on the unmount option from the file manager. Chances are that some files are still being written and it may show an error message.

dont plug out the usb

Wait for a few more minutes and you should see a message that it is safe to remove the disk. Now you can unplug it and use it on whichever system you want.

Step 4: Using the bootable Windows 10 disk

Alright! You are almost there. Plug in your bootable Windows USB you created in the previous section. Start the computer and go to the BIOS setting by using the F2/F10 or F12 key at the time you see the logo of your computer’s manufacturer.

In here, look for the secure boot settings and disable it. If the secure boot is enabled, chances are that your system won’t allow you to boot from the USB disk (to secure your system and data at boot time).

disable secure boot dell system
Disable secure boot in BIOS

After disabling the secure boot, go into the boot order and then choose the UEFI USB Disk to boot from. Some systems will give this option after you press F12 or F10 button.

boot from windows disk ventoy

It takes a couple of minutes to start the Windows disk. You should see a screen like this and it will give you the option to repair boot or install Windows.

booting windows with ventoy
Booting into Windows ISO image with Ventoy

I think you can take things from here. Enjoy it :)

There is another popular tool WoeUSB that can also be used for this purpose.

Step 4: Using Windows 10 bootable USB

Once the bootable USB is ready, restart your system. At boot time, press F2 or F10 or F12 repeatedly to go to the boot settings. In here, select to boot from USB.

Booting Windows 10 USB

You’ll see that Windows 10 is being booted and it gives you the option to install or repair your system. You know what to do now from here.

Booting Windows 10 USB

I hope you find this tutorial useful for creating bootable USB of Windows 10 in Linux. If you have questions or suggestions, please feel free to leave a comment.

Windows 10 October 2018 release UEFI bootable USB drive on any Linux distribution.

Notice, that since Windows 10 October 2018 release the installation file sources/install.wim is larger than the maximum FAT32 file size, so we will format USB drive to NTFS. Windows installer also cannot work with an EFI partition (code ef00), so we will use Microsoft basic data partition type (code 0700).

Variant A (For PCs with NTFS support)

Steps for creating USB drive with name /dev/sdc (Replace all commands with YOUR device name!):

  1. Insert USB drive to computer and make sure it is unmounted. Some distributions like to automount USB drives, so make sure you unmount them. Mounted partitions can be found with mount -l | grep '/dev/sdc', then unmount with sudo umount /dev/sdcX (where X is partition number).
  2. Open USB block device using gdisk /dev/sdc, configure it as GPT and create Microsoft basic data partition (code 0700), then write changes and quit (Next steps will destroy partition table in your USB drive!!!).
sudo gdisk /dev/sdc
o
> This option deletes all partitions and creates a new protective MBR.
> Proceed? (Y/N): y
n
> Partition number ... > hit Enter
> First sector ... : > hit Enter
> Last sector ... : > hit Enter
> Current type is 'Linux filesystem'
> Hex code or GUID (L to show codes, Enter = 8300): 0700
p
> Should print something like:
> Disk /dev/sdc: 15646720 sectors, 7.5 GiB
> Model: DataTraveler 160
> Sector size (logical/physical): 512/512 bytes
> Disk identifier (GUID): ...
> Partition table holds up to 128 entries
> Main partition table begins at sector 2 and ends at sector 33
> First usable sector is 34, last usable sector is 15646686
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 2014 sectors (1007.0 KiB)
> Number  Start (sector)    End (sector)  Size       Code  Name
>    1            2048        15646686   7.5 GiB     0700  Microsoft basic data
w
> Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
> Do you want to proceed? (Y/N): y
q
  1. Format new partition as NTFS (thx @Alex for -Q idea):
sudo mkfs.ntfs -Q /dev/sdc1
  1. Mount new USB partition to temporary directory in your home:
mkdir ~/tmp-win10-usb-drive
sudo mount /dev/sdc1 ~/tmp-win10-usb-drive
  1. Download Windows installation ISO, create new temporary directory in your home and mount it there:
mkdir ~/tmp-win10-iso-mnt
sudo mount Win10_1809Oct_English_x64.iso ~/tmp-win10-iso-mnt
  1. Copy all files from mounted ISO to USB drive (you can use rsync to see progress):
sudo cp -rT ~/tmp-win10-iso-mnt/ ~/tmp-win10-usb-drive/
  1. Unmount Windows ISO and USB drive and remove temporary directories:
sudo umount ~/tmp-win10-iso-mnt/ ~/tmp-win10-usb-drive/
rmdir ~/tmp-win10-iso-mnt/ ~/tmp-win10-usb-drive/
  1. Insert USB drive to new computer and boot from it.

Variant B (For PCs without NTFS support)

Steps for creating USB drive with name /dev/sdc (Replace all commands with YOUR device name!):

  1. Insert USB drive to computer and make sure it is unmounted. Some distributions like to automount USB drives, so make sure you unmount them. Mounted partitions can be found with mount -l | grep '/dev/sdc', then unmount with sudo umount /dev/sdcX (where X is partition number).
  2. Open USB block device using gdisk /dev/sdc
  3. Configure it as GPT
  4. Create first partition of 1GB size and type Microsoft basic data (code 0700).
  5. Create second partition of rest of the size and type Microsoft basic data (code 0700).
  6. Write changes and quit (Next steps will destroy partition table in your USB drive!!!).
sudo gdisk /dev/sdc
> o
> This option deletes all partitions and creates a new protective MBR.
> Proceed? (Y/N): y
> n
> Partition Number: Enter
> First sector: Enter
> Last sector: 1G
> Type: 0700
> n
> Partition Number: Enter
> First sector: Enter
> Last sector: Enter
> Type: 0700
> p
# Should print something like:
> Disk /dev/sdc: 30031250 sectors, 14.3 GiB
> Model: Ultra USB 3.0   
> Sector size (logical/physical): 512/512 bytes
> Disk identifier (GUID): C657C0AF-3FE2-4152-8BF1-CE3CCA9F3541
> Partition table holds up to 128 entries
> Main partition table begins at sector 2 and ends at sector 33
> First usable sector is 34, last usable sector is 30031216
> Partitions will be aligned on 2048-sector boundaries
> Total free space is 4061 sectors (2.0 MiB)

> Number  Start (sector)    End (sector)  Size       Code  Name
>    1            2048         2048000   999.0 MiB   0700  Microsoft basic data
>    2         2050048        30031216   13.3 GiB    0700  Microsoft basic data

w
> Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
> Do you want to proceed? (Y/N): y
q
  1. Format first partition as FAT32 and second as NTFS:
sudo mkfs.fat -F32 /dev/sdc1
sudo mkfs.ntfs -Q  /dev/sdc2
  1. Mount new USB partitions to temporary directories in your home:
mkdir ~/tmp-win10-fat-usb-drive
mkdir ~/tmp-win10-ntfs-usb-drive
sudo mount /dev/sdc1 ~/tmp-win10-fat-usb-drive
sudo mount /dev/sdc2 ~/tmp-win10-ntfs-usb-drive
  1. Download Windows installation ISO, create new temporary directory in your home and mount it there:
mkdir ~/tmp-win10-iso-mnt
sudo mount Win10_1809Oct_English_x64.iso ~/tmp-win10-iso-mnt
  1. Copy following files with from mounted ISO to FAT32 formatted USB drive (basically copy everything besides sources/ but include sources/boot.wim):
sudo cp ~/tmp-win10-iso-mnt/* ~/tmp-win10-fat-usb-drive/
sudo cp -r ~/tmp-win10-iso-mnt/boot ~/tmp-win10-fat-usb-drive/
sudo cp -r ~/tmp-win10-iso-mnt/efi ~/tmp-win10-fat-usb-drive/
sudo cp -r ~/tmp-win10-iso-mnt/support ~/tmp-win10-fat-usb-drive/
sudo mkdir ~/tmp-win10-iso-mnt/sources ~/tmp-win10-fat-usb-drive/
sudo cp ~/tmp-win10-iso-mnt/sources/boot.wim ~/tmp-win10-fat-usb-drive/sources
  1. Copy everything from mounted ISO to NTFS formatted USB drive:
sudo cp -rT ~/tmp-win10-iso-mnt/ ~/tmp-win10-ntfs-usb-drive/
  1. Unmount Windows ISO and both USB partitions and remove temporary directories:
sudo umount ~/tmp-win10-iso-mnt/ ~/tmp-win10-usb-fat-drive/ ~/tmp-win10-usb-ntfs-drive/
rmdir ~/tmp-win10-iso-mnt/ ~/tmp-win10-usb-drive/
  1. Insert USB drive to new computer and boot from it.

This tutorial is going to show you an easy way to create a Windows 10 bootable USB on Linux. I use Ubuntu 20.04 as an example. The method applies to any Linux distribution. I use Windows to do online banking because my bank doesn’t support Linux and sometimes play games that can’t run on Linux.

What you need

  • A computer running Linux
  • A USB flash drive at least 8GB
  • Windows 10 ISO

Download Windows 10 ISO

First, you should download Windows 10 ISO from Microsoft official download link. Note that you might not be able to download the ISO from this link on a Windows computer. This download link is visible to users on Linux computer. Once downloaded, follow the instructions below.

Note: It’s recommended to download the Windows 10 April 2018 update ISO, because the October Update ISO contains a file that is larger than 4GB, which can not be copied to a FAT32 partition.

Windows 10 Disc Image ISO

Update: Microsoft doesn’t allow you to download the Windows 10 April 2018 Update ISO from their website anymore. You can download the ISO via this link: Win10 1803 English x64 ISO

Creating a Windows 10 Bootable USB for UEFI Firmware

This method works for UEFI firmware and is very simple. You create a GUID partition table on your USB stick, create a FAT32 file system on it, and then mount Windows 10 ISO image and copy those Windows 10 files to your USB stick and you are done. The following is a step-by-step guide.

First, install GParted partition editor on your Linux distribution. Ubuntu users run the following command.

sudo apt install gparted

Then insert your USB stick to your computer. Make sure you back up important files in your USB stick if there’s any. Next, launch Gparted. You will need to enter your password in order to use GParted.

make a windows 10 bootable usb

Select your USB stick from the drop-down menu on the upper-right corner. My USB stick is /dev/sdb. Yours may be different.

make a windows 10 bootable usb on linux

If there’s a key icon after the partition name, that means the partition is mounted. Make sure all partitions on your USB stick are unmounted. To unmount a partition, simply right-click on it and select unmount.

make windows 10 bootable usb on ubuntu

Next, on the menu bar, select Device > Create partition table.

create bootable windows 10 usb on linux

Choose GPT as the partition table type and click Apply.

windows-10-bootable-usb-uefi-linux-gpt

Then right-click on the unallocated space and select New to create a new partition.

windows 10 usb gpt fat32

Change file system type from ext4 to fat32 and click Add.

Note: The install.wim file in Windows 10 October 2018 update ISO is 4.1G, so if you downloaded this ISO image, you need to change ext4 to ntfs. If you downloaded Windows 10 April 2018 Update ISO, which contains a 3.9G size install.wim file, you can change ext4 to fat32

Update: It is my observation that my NTFS formatted USB stick isn’t bootable on my old laptop, which was bought in 2012. However, it is bootable on my desktop computer, which was bought in 2017. It has a graphical UEFI firware (I can use my mouse to configure firmware settings).

windows 10 usb ubuntu 16.04

Next, click the green check button on the toolbar to apply this operation. Once that’s done, close GParted (This is important), then find your Windows 10 ISO in file manager. Open it with disk image mounter.

mount windows 10 iso on ubuntu

Open the mounted file system. Select all files and folders and copy them to your USB stick.

windows 10 usb native UEFI

Sometimes the file manager on Ubuntu hangs and it seems that the copy operation has stopped. Actually it’s working, just be patient. When you see a check mark, it means the copy operation has finished.

windows 10 bootable usb creator linux

If your file manager doesn’t have the Disk image mounter in the context menu, then you can use the following commands to mount. The first command will create a mount point for Windows 10 ISO and the second command will mount Windows 10 ISO under that mount point.

sudo mkdir /mnt/windows10/

sudo mount -t auto -o loop /path/to/window-10-iso /mnt/windows10/

Now in your file manager, go to /mnt/windows10/ and copy all files and folders to your USB stick.

Once the file and folders are copied, your windows 10 bootable USB is created! You can shut down your computer, boot it from this USB stick and install Windows 10 in UEFI mode. Keep in mind that you may need to disable compatibility support module (CSM) in the firmware in order to boot in UEFI mode. You may also need to remove USB stick from your computer and insert it back in order for the firmware to detect the boot loader on your USB stick.

Boot Windows 10 ISO Installer without USB (BIOS & UEFI)

Ever wondered if you can boot Windows 10 ISO installer without a USB flash drive? Yes, you can do it with GRUB2, which is the standard boot loader on Linux.

GRUB2 can not boot Windows 10 ISO directly. You need to create a separate NTFS partition on your hard disk or SSD with a partition editor like GParted and extract the Windows 10 ISO to that partition. Download the Windows 10 ISO file. The latest Windows 10 ISO file is 5.8G. The new NTFS partition should be at least 7G and it should not be used to store any other files.

GRUB boot Windows 10 ISO BIOS

Then find your Windows 10 ISO in file manager. Open it with disk image mounter.

ubuntu mount windows 10 ISO image

Open the mounted file system. Select all files and folders and copy them to the NTFS partition.

GRUB2 boot Windows 10 ISO

Sometimes the file manager on Ubuntu hangs and it seems that the copy operation has stopped. Actually, it’s working. Just be patient. When you see a checkmark, it means the copy operation has finished.

windows 10 bootable usb creator linux

Next, open up a terminal window and edit the /etc/grub.d/40_custom file with a text editor such as Nano.

sudo nano /etc/grub.d/40_custom

In this file, we can add custom entries to the GRUB boot menu. In this case, we want to add an entry to boot the Windows 10 installer. If your computer still uses the traditional BIOS firmware, then add the following lines in this file.

menuentry "Windows-10-Installer.iso" {
  set root=(hd0,6)
  insmod part_msdos
  insmod ntfs
  insmod ntldr
  #uncomment the following line if your computer has multiple hard drives. 
  #drivemap -s (hd0) ${root}
  ntldr /bootmgr
}

My NTFS partition is the 6th partition on my first disk, so I use (hd0,6) as the root. You can run sudo parted -l command to check your NTFS partition number. If your computer has multiple hard drives, use the drivemap command to set the partition (hd0,6) as the first hard disk, so Windows will be able to boot.

If your computer uses UEFI firmware, then add the following text in this file.

menuentry "Windows-10-Installer.iso" {
  set root=(hd0,6)
  insmod part_gpt
  insmod ntfs
  insmod chain
  chainloader /efi/boot/bootx64.efi
}

Boot Windows 10 ISO Installer without USB

Save and close the file. (Press Ctrl+O, then press Enter to save a file in Nano text editor. Press Ctrl+X to exit.)

Then update GRUB boot menu.

sudo grub-mkconfig -o /boot/grub/grub.cfg

or

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Next, set GRUB to boot the Windows 10 installer for the next boot with the following command.

sudo grub-reboot Windows-10-Installer.iso

or

sudo grub2-reboot Windows-10-Installer.iso

Unplug all your external USB storage devices, then reboot your computer. GRUB will choose the Windows 10 installer.

Boot Windows 10 ISO Installer without USB (BIOS & UEFI)

GRUB2 can also boot Linux ISO files stored on the hard drive, so you don’t need to create Linux live USB.

  • How to Boot ISO Files From GRUB2 Boot Loader

Creating a Windows 10 Bootable USB for Legacy BIOS Using WoeUSB

WoeUSB is a fork of WinUSB. Both of them are open-source software (licensed in GPL) for making Windows bootable USB sticks on Linux platform, but the latter hasn’t been updated since 2012. You may be wondering why it’s named WoeUSB. The author said it’s a GNU convention to abbreviate software that support Windows to “woe”.

To install WoeUSB on Ubuntu 14.04/16.04/17.04, you can use the following PPA. Simply open up a terminal window and run the following commands one by one. Other Linux distro users can compile this software by following the instructions on the Github project page.

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt update

sudo apt install woeusb

This PPA contains many other software. If you don’t need them, you can now remove this PPA from your system.

sudo add-apt-repository --remove ppa:nilarimogard/webupd8

sudo apt update

You can launch WoeUSB from Unity Dash or your application menu.

woeusb ubuntu

You can also start it from command line with:

woeusbgui

It’s very easy to use the WoeUSB GUI. Select Windows ISO image and your target USB device. Make sure your data on the USB device is backed up before hitting the Install button.

woeusb ubuntu install

Then wait for the installation to complete.

make windows 10 bootable usb on ubuntu

Once done, you can use the bootable USB to install Windows 10 on your computer.

How to Use WoeUSB From the Command Line

First, find the device name of your USB stick using the following command.

lsblk

woeusb command line

Mine is /dev/sdb. Make sure your USB is unmounted with the following command. Replace /dev/sdb1 with your own partition name.

sudo umount /dev/sdb1

Then create a bootable Windows 10 USB like below. Red texts shoudl be adapted to your own ISO file name and USB device name. The -v (--verbose) option will give more detailed output.

sudo woeusb -v --device windows-10.iso /dev/sdb

In my test, the Windows 10 USB created with WoeUSB can boot in both legacy and UEFI mode on my old computer. On my new computer, it can boot in legacy mode but failed in UEFI mode. I don’t know the exact reason, but it’s probably because of bug in this software.

That’s it! I hope this tutorial helped you create windows 10 bootable USB on Ubuntu or any Linux distribution. As always, if you found this post useful, then subscribe to our free newsletter to get new tutorials.

Rate this tutorial

[Total: 112 Average: 4.3]

Photo of author

Did you know that you can create a bootable Windows 10 USB on Linux? It might sound crazy to create a bootable USB for a different operating system, but the process isn’t that complicated. In this article, we’ll dive into the exact process of creating a bootable Windows 10 USB on Linux.

Creating a bootable Windows 10 USB on Linux

The first thing we need to have, even before we get started with the mounting process, is a Windows ISO file. For that, you will need to head to the official Windows 10 downloads page to get the ISO in Linux.

Once it’s downloaded

Mounting the ISO file on your USB stick

Now that you have the ISO file with you, all you now need to do is mount the .iso Windows file on your USB disk in Linux. Before you do that, though, it’s best to format your USB stick first. Insert the USB stick into your PC. Then go to the search menu, type in ‘disks,’ and select the best match.

  1. In the disk tool, right-click on your USB disk and select Format Partition…
  2. Choose either of the partitioning scheme and hit Format
  3. Your USB will be formatted in a few seconds.

Windows 10 USB on Linux

Windows 10 USB on Linux

Right-click on the earlier downloaded ISO file, and select ‘Open with other application’. From the applications list, select the Disk Image Mounter. This will mount the ISO file. If you can’t find it, click on Other Locations, and you’ll see the content of ISO file.

Windows 10 USB on Linux

Copy all files from there and paste them onto the USB drive. Now you have created a bootable Windows 10 USB. From here onwards, the process is quite straightforward. Insert the USB into the PC you want to use, then restart and boot up from the USB stick to proceed with the installation.

Creating a bootable Windows 10 USB on Linux

If you’re thinking of switching to Windows 10, then there’s perhaps no easier method than using a bootable USB stick. All you need is a formatted USB stick and the Windows 10 ISO file, and you’ll be set.

Updated November 18, 2022.

Бывают случаи, когда вам нужно записать Windows на флешку в Linux, например, когда вы хотите поставить эту систему второй для использования специализированных программ, или вам нужно переустановить операционку своим знакомым. Или же есть пользователи Linux, которые решили вернуться на Windows, но единственную флешку уже перезаписали под Linux LiveUSB.

Загрузочная флешка Windows в Linux создается достаточно просто. Я предлагаю несколько способов решения этой проблемы. Все их я перечислил ниже.

Загрузочную флешку можно создать с помощью терминала или специальных графических утилит. Настоятельно рекомендую отформатировать флешку в Fat32 (или Exfat) перед использованием любого из предложенных методов. Форматирование можно выполнить через Gparted, сfdisk+mkfs или через usb stick formatter (форматирование USB флеш накопителя).

Способ 1. Утилита USB Image Write

Для создания флешки можно воспользоваться утилитой Запись образа на USB. В некоторых дистрибутивах она уже предустановленна (Ubuntu, Mint и др.):

Выбрать образ в графе Write image образ и в поле to выбрать флешку. Далее нажимаем Write.

Способ 2. Утилита WoeUSB

Пожалуй, это самый простой способ создания. Установка в Ubuntu выполняется с помощью таких команд:

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt update

sudo apt install woeusb

Откройте утилиту в меню приложений:


Интерфейс простой. Нажмите на кнопку Обзор со значком папки и выберите образ. Target device это флешка, на которую будет идти запись, если у вас их несколько выберите нужную. Ещё есть поле File system, где нужно выбрать какую файловую систему будете использовать. Рекомендую FAT. Затем нажмите Install и дождитесь окончания.

При появлении ошибки с кодом 256 Source media is currently mounted, размонтируйте образ ISO с Windows, если вы его смонтировали. При ошибке Target device is currently busy, извлеките флешку, затем снова подключите её. Если не сработало, попробуйте отформатировать её.

Способ 3. Терминал и Gparted

Положите образ в домашнюю папку и переименуйте его в windows.iso во избежание проблем с пробелами. Затем перейдите в терминале в домашнюю папку

cd ~

Запустите терминал через главное меню или с помощью сочетания клавиш Ctrl + Alt + T затем используйте команду dd для записи образа на флешку:

dd if=/windows.iso of=/dev/sdX

Замените X на букву вашей флешки! Узнать её можно через Gparted. В правом верхнем углу есть кнопка переключения дисков:

Тот диск который соответствует размеру вашей флешки и есть ваша флешка. В моем случае флешка на 32 гб это /dev/sdb. Значит команда будет иметь вид:

dd if=/windows.iso of=/dev/sdb

Дождитесь окончания записи и извлеките флешку.

Выводы

Как видите, создание загрузочной флешки Windows в Linux не представляет сложности. Это были все способы, которые я знаю. Если они вам помогли, напишите об этом. Если вы знаете еще способы, обязательно напишите о них в комментариях!

Creative Commons License

Статья распространяется под лицензией Creative Commons ShareAlike 4.0 при копировании материала ссылка на источник обязательна .

Об авторе

Здравствуйте, я изучаю Linux и обладаю хорошими знаниями английского.

Загрузочная флешка Windows 10 в LinuxЕсли вам по той или иной причине потребовалась загрузочная флешка Windows 10 (или другой версии ОС), при этом на имеющемся компьютере в наличии только Linux (Ubuntu, Mint, другие дистрибутивы), вы сравнительно легко можете записать её.

В этой инструкции пошагово о двух способах создать загрузочную флешку Windows 10 из Linux, которые подойдут как для установки на UEFI-системе, так и для того, чтобы установить ОС в Legacy режиме. Также могут пригодиться материалы: Лучшие программы для создания загрузочной флешки, Загрузочная флешка Windows 10.

Загрузочная флешка Windows 10 с помощью WoeUSB

Первый способ создания загрузочной флешки Windows 10 в Linux — использование бесплатной программы WoeUSB. Созданный с её помощью накопитель работает и в UEFI и в Legacy режиме.

Для установки программы используйте следующие команды в терминале

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install woeusb

Если эти команды не сработали, попробуйте такой вариант:

wget mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
sudo dpkg -i libwxgtk*_amd64.deb
sudo apt update
sudo apt --fix-broken install
sudo apt install woeusb

После установки порядок действий будет следующим:

  1. Запустите программу.
  2. Выберите ISO образ диска в разделе «From a disk image» (также, при желании, можно сделать загрузочную флешку с оптического диска или смонтированного образа).
  3. В разделе «Target device» укажите флешку, на которую будет записан образ (данные с неё будут удалены). Загрузочная флешка Windows 10 в WoeUSB
  4. Нажмите кнопку Install и дождитесь завершения записи загрузочной флешки. Загрузочная флешка Windows создана в Linux
  5. При появлении ошибки с кодом 256 «Source media is currently mounted», размонтируйте образ ISO с Windows 10. Ошибка Source Media Mounted в WoeUSB
  6. При ошибке «Target device is currently busy», размонтируйте и отключите флешку, затем снова подключите её, обычно помогает. Если не сработало, попробуйте предварительно отформатировать её. Ошибка Target Device Busy в WoeUSB

На этом процесс записи завершен, можно использовать созданный USB накопитель для установки системы.

Создание загрузочной флешки Windows 10 в Linux без программ

Этот способ, пожалуй, ещё проще, но подойдет только в том случае, если вы планируете загружаться с созданного накопителя на UEFI-системе и устанавливать Windows 10 на GPT диск.

  1. Отформатируйте флешку в FAT32, например, в приложении «Диски» в Ubuntu. Форматировать флешку в FAT32 в Linux
  2. Смонтируйте образ ISO с Windows 10 и просто скопируйте всё его содержимое на отформатированную флешку. Копирование файлов установки Windows на флешку в Linux

Загрузочная флешка Windows 10 для UEFI готова и с неё можно без проблем загрузиться в EFI-режиме.

Like this post? Please share to your friends:
  • Create uefi bootable usb windows 10
  • Create ubuntu installation usb in windows
  • Create tool windows 10 создание загрузочной установка
  • Create storage spaces in windows 10
  • Create react app windows 7 x64