Windows dvd to usb linux

Windows Bootable USB on Linux

You need a bootable media to install Windows Operating System on a computer. The media may be a Windows Bootable Flash Drive or Windows Bootable DVD. This article explains the process of how to create Windows bootable USB for latest version of Windows on existing Linux operating system. You can use the same procedure for creating the bootable flash drive on debian or ubuntu based Linux flavors.

Requirements: You will need a flash drive of capacity 8 GB or more because the size of the Windows ISO file which you will download on your Linux system will be greater than 5 GB. (Just for information: the file created by Windows media creation tool on windows system is less than 4 GB.)

Step 1: Download Windows ISO file

Before using any of the above method to create Windows USB on linux, click here to Download Windows ISO from Microsoft’s official ISO image download page.

Note: On windows system, this link will navigate to windows media creation tool download page, on Linux system it will navigate to ISO file download page. Select the latest version of Windows Operating System from ‘Select Edition’ Drop Down Box and click on ‘Confirm’ button to proceed. Next, select the product language for Windows Operating System setup from Drop Down Box and click on ‘Confirm’ button to continue.

Further, select the Architecture according to the computer’s configuration on which you need to install Windows 10 . Nowadays, mostly it is 64-bit in modern machines. However, some older machine may have 32-bit architecture. It is recommended to use 64-bit if you have a modern machine with latest configuration.

Upon clicking the “Download” button, the web browser will prompt to save the ISO file on computer. Select save option to begin download of Windows ISO file. The default download location is Download folder in user’s home directory. Wait for the download to complete and close the browser upon successful download of Windows 10 ISO File. After closing the browser, go to Download location and check whether the Windows 10 Operating System ISO image file has been successfully downloaded. If no, then repeat the step, if yes, then close the File explorer. The ISO image will be approximately greater than 6 GB in size.

Windows ISO

Step 2: Create Windows bootable USB

Use either of the methods (method 1 or method 2) mentioned below to create Windows bootable USB. The GUI method provides simplicity while CLI method needs no external dependencies or tools.

Читайте также:  Linux e2fsck cannot continue aborting

Method 1: WoeUSB tool with Graphical User Interface

Follow the simple steps below to install and use WoeUSB for creating Windows bootable USB:
Step i: Install WoeUSB tool

Open terminal and maximize it for better user experience. Type the below mentioned commands in given order to install WoeUSB:
Type the following command to update package list.

sudo apt update

Then type the following commands to install WoeUSB required dependencies.

sudo apt install git p7zip-full python3-pip python3-wxgtk4.0

Enter user password to proceed when prompted. Also, press ‘y’ and then press ‘ENTER’ when prompted during the package download process. Once, the above dependencies are installed use the following command to install WoeUSB:

sudo pip3 install WoeUSB-ng

install woeusb

Step ii: Prepare Flash Drive

Insert the Flash Drive of capacity 8 GB or more which will be used to make it bootable for installing window operating system. Ensure that there is no useful data on the flash drive as it will be lost. Check out the path of USB using the following:

windows usb 1

Un-mount the mounted partition of flash drive using the following command:

windows usb 2

umount [path to USB partition]

Step iii: Open WoeUSB GUI

Run the following WoeUSB command to open WoeUSB GUI application with administrator rights:

Or, you can open search WoeUSB application from applications Menu.

woeusb application

WoeUSB GUI application will open. Enter administrator password for authentication and press Enter when prompted.

Select ISO file Path. Ensure that Flash drive is visible under target drive. Click on Install to begin flashing process.

woeusb windows usb

Wait for the flashing to complete. Close WoeUSB application when ‘Installation succeeded!’ message is displayed by WoeUSB. Eject and re-insert Windows USB to check the files are written on it.

Check out the demonstration of above process on YouTube video.

Method 2: Using DD command on terminal in Command Line Interface

Follow the simple steps below to create Windows bootable USB with built in command in Linux systems in CLI mode on a terminal:
Step i: Prepare Flash Drive

Insert the Flash Drive of capacity 8 GB or more which will be used to make it bootable for installing window operating system. Ensure that there is no useful data on the flash drive as it will be lost. Open terminal and maximize it for better user experience. Check out the path of USB using the following:

Ignore the end digits in USB path such as 1 or 2, etc. Use the path till before the digits. For example /dev/sdb.

Step ii: Type DD command
Type the following command by providing the path to Source ISO file and path to target USB drive:

sudo dd bs=4M if=[/path/to/ISO/file] of=[/path/to/USB] status=progress oflag=sync

Type password and press Enter to continue. Wait for the process to continue.

dd command windows usb

Check out the demonstration of above process on YouTube video.

The created Windows Operating System Bootable Flash Drive could be used to install Windows 10 Operating System on any computer. The system should be booted from the flash drive if it has no operating system or has existing Linux operating system. In case, it has an older version of Windows Operating system it could be used to update to latest version Windows 10 operating system by executing setup.exe file from the flash drive.

Читайте также:  Linux проверить сколько памяти

Special Note: Always buy Windows or any other software from authentic source only. You can always buy Microsoft Windows DVD online from Amazon directly from Microsoft account. If you wish, you may checkout available options for Microsoft Windows DVD online at Amazon.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to print (Opens in new window)

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS)

License

ValdikSS/windows2usb

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Burn Windows ISO to USB Flash Drive on Linux

Windows2usb is a bash script which writes Microsoft Windows 7/8/8.1/10/11 installation DVD images to USB Flash Drive or external HDD on Linux. It was designed with compatibility in mind, and should work in all cases, contrary to other popular Linux tools.

  • Fully automatic, no preparations required
  • Supports BIOS and UEFI, FAT32 and NTFS
  • Supports custom Windows ISOs with install.wim > 4GiB
  • Uses stock Windows bootloaders where possible
  • Does not break UEFI Secure Boot chain
Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility WARNING: this program will delete all existing data on your drive! windows2usb  [mbr/gpt/gptntfs/gpt+uefintfs] mbr mode: the most universal, RECOMMENDED and DEFAULT method. This mode creates MBR partition table with FAT32 partition, installs BIOS and UEFI bootloaders, supports Secure Boot. install.wim file larger than 4 GiB will be split. Suitable for all computers (UEFI/CSM/BIOS). gpt mode: less universal mode, for modern (UEFI) computers. GPT+FAT32, UEFI only, supports Secure Boot. gptntfs mode: all the same as 'gpt' but NTFS is used. GPT+NTFS, UEFI only, supports Secure Boot. Large install.wim file will not be split. NOTE: not all UEFI are compatible with this mode, NTFS driver should be present on the motherboard. gpt+uefintfs mode: alternative hacky installation method, not recommended. This mode uses NTFS partition and third-party 'uefintfs' bootloader. GPT+NTFS(data)+FAT32(efi), UEFI only, supports Secure Boot (since uefintfs Oct 23, 2021 release). Large install.wim file will not be split. 

Download latest portable AppImage version from the Releases page, set execution bit ( chmod +x windows2usb-*.AppImage ) and run it from the terminal.

Читайте также:  Linux create group with users

./windows2usb.AppImage /dev/sdz /home/valdikss/windows10.iso

The program prints removable storage list if no arguments are supplied.

If you don’t want to use AppImage, you’ll need to install all dependencies and download uefi-ntfs.img from Rufus project.

Modes Legacy/UEFI-CSM Boot UEFI Boot Large ISO (>4GB) Secure Boot File System Part Table
mbr(hybrid) Supported Supported Supported Supported FAT32 MBR
gpt No Supported Supported Supported FAT32 GPT
gptntfs No Partial Supported Supported NTFS GPT
gpt+uefintfs No Supported Supported Supported NTFS GPT

BIOS Boot (Legacy Boot/UEFI-CSM) uses stock Windows 7 MBR and FAT32 bootloader, courtesy of ms-sys project.

BIOS boot is supported only in recommended ‘mbr’ mode.

To burn ISO compatible with BIOS boot (and UEFI boot as well), run:

UEFI Boot is supported in all modes. Recommended mode: ‘mbr’.

To burn ISO in this mode, run:

‘MBR’, ‘GPT’ and ‘GPTNTFS’ modes utilize Windows UEFI bootloader from the ISO file, with Secure Boot support.

UEFI Boot with NTFS Partition and uefi-ntfs bootloader

A special ‘gpt+uefintfs’ mode uses uefi-ntfs bootloader from Rufus project. Windows2usb creates 2 partitions in this mode, small 1 MiB FAT32 partition with uefi-ntfs and huge NTFS partition with ISO data.

This mode was included earlier to work with installation disks where install.wim file is greater than 4 GiB, but since then split WIM file functionality was introduced, and now this mode may be considered obsolete.

uefi-ntfs bootloader is signed by Microsoft since Oct 23, 2021 release and supports Secure Boot.

WoeUSB—uses GRUB for BIOS Boot.
bootiso—supports Windows and Linux ISOs.
Ventoy—Booting multi-tool with brilliant support of Windows ISO direct loading.

  • lsblk and sfdisk from util-linux
  • ms-sys for native Windows 7 MBR and NTFS bootloaders
  • p7zip for ISO extraction
  • autofsync to prevent filesystem bufferbloat and properly show copying progress (AppImage only)
  • wimlib to split large install.wim files to fit FAT32 partition
  • uefi-ntfs

About

Windows 7/8/8.1/10/11 ISO to Flash Drive burning utility for Linux (MBR/GPT, BIOS/UEFI, FAT32/NTFS)

Источник

Оцените статью
Adblock
detector