As you know Windows Installing the operating system via a bootable USB drive is always a useful option. You can create a bootable USB drive from a Windows-based computer with the “Windows USB/DVD Tool” or any third-party software. However, you have a Mac and for some reason you cannot create a bootable USB drive on your Windows computer, things might get complicated for you. But you don’t have to worry. Because your Mac computer can easily overcome this task by creating a bootable USB in a short time.
Via Terminal on Mac “ a bootable Windows 11 USB drive” we will tell you how to create. In the meantime, let’s mention that apart from a Windows and Mac-based computer, you need a Windows 11 ISO file and a USB memory with a minimum of 8 GB storage space to perform this process.
First of all Terminal
Launch from your Mac’s launchpad. Open Terminal in the launchpad ” Other” folder.
After opening the terminal window, enter the following command to get a list of all connected storage drives (internal and external);
Find the path to your USB flash drive from the results and not e (which in this example the path ” /dev/disk2“, but this path may be different for you depending on the disks connected to your system). However, you can use the disk allocation scheme (in Terminal FDisk_partition_scheme
(which will be found under the tag , because we will need this information in the next steps.
You need to perform the step that we will explain now on your Windows operating system computer, where you will use the bootable Windows 11 USB driver. In this step, your Windows computer BIOS Mode
You will learn . To do this, you can check the Boot menu by entering the BIOS.
In addition, if your Windows computer is already running, you have the chance to learn through Windows;
To do this, press the Windows and R keys simultaneously on your Windows computer. Run
Open and then in the text box that opens “ msinfo32” and click “OK”. Then find the BIOS Mode field in the window that opens and check e. In this chapter ” Old” or “ UEFI”.
After you have the BIOS Mode information of your Windows computer, you will need to prepare your USB drive by formatting it. To do this, type the following command according to the BIOS Mode of your Windows computer and press Enter. By the way, in case your USB drive has a different pathname than the one found here, disk2
Make sure to change .
If your BIOS Mode is “UEFI”, enter the following command:
diskutil eraseDisk MS-DOS “WIN11” GPT /dev/disk2
If your BIOS Mode is “Legacy” enter the following command:
diskutil eraseDisk MS-DOS “WIN11” MBR /dev/disk2
Execution of this command can take from a few seconds to several minutes, depending on the hardware capabilities of your Mac computer.
Write down your ISO file name and its pathname on your Mac computer for the next step. Your file is your Mac’s ” Downloads” folder, enter the following command (with the correct filename of the Windows 11 ISO file) in Terminal and press Enter to execute the command.
hdiutil mount ~/Downloads/<file-name-here>. iso
macOS operating system, NTFS does not support the file system and the Windows operating system is also a bootable option. EX-FAT USB drives prepared in this way because the file system does not recognize it can only be FAT32
They should be in the file system. However, the FAT32 file system also does not support files larger than 4 GB and one of the main files in your Windows 11 ISO file is ” install. wim“, this creates an obstacle as it exceeds this size.
Fortunately, to get around this hurdle, install. There is a workaround that allows you to split the wim file into two parts and copy them to your drive. This process is completely safe as Windows will automatically reassemble the split files. Before doing this install. To copy all your files except the wim file from your ISO image with Windows 11, type the following in Terminal:
rsync -vha –exclude=sources/install. wim /Volumes/<Your mounted File Name here>/* /Volumes/WIN11
However, do not forget to add your linked file name to the path location given in the command we shared above.
After that type the following command and “ Homebrew” Press Enter in Terminal to download the application. If you already have Homebrew installed on your Mac computer, please take the step of running the command below.
/usr/bin/ruby -e “$(curl -fsSL https://raw. githubusercontent.com/Homebrew/install/master/install)”
Now type your account password and press Enter to continue.
Then on your Mac Xcode Command Line Tools
Press Enter to load . These tools will help you install the tool you need to split the file image.
After the Homebrew application is installed on your computer, in Terminal “Installation Successful”
You will see a message like .
Then type the following command in Terminal and using the Homebrew application ” wimlib” Press Enter to install the tool. Wimlib, install. It is the tool we will use to split the wim file.
brew install wimlib
After completing the installation, you will be able to see the path, the number of files and the total size of the files.
Then install. Use the following command to split the wim file:
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install. wim /Volumes/WIN11/sources/install. swm 3000
By the way, the number “3000” at the end of the command specifies the size limit for each new split file. You can change this number according to your needs. If you set this number to 3000, wimlib will load “” with a file size of 3000 megabytes. install. wimaa” and ” install. wimab” will be 1000 megabytes.
This splitting process can take up to a few minutes and some people may see 0% progress until the process is complete. Therefore, do not cancel thinking that the process is not continuing.
When the process is completed, you will be able to see it in the Terminal as in the image below.
You can now safely remove your USB stick from your Mac computer. Your bootable Windows 11 USB drive is ready to go!