DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Flash USB stick for Windows from Ubuntu ๐Ÿš€
Thomas Gotwig
Thomas Gotwig

Posted on • Updated on

Flash USB stick for Windows from Ubuntu ๐Ÿš€

This article will should you how to create a bootable USB stick for installing Windows 10 / 11 from MacOS, here you can find ISO images for Windows.

๐Ÿงน Format your USB stick to NTFS

Install gparted to format your USB stick:

sudo apt-get install -y gparted
Enter fullscreen mode Exit fullscreen mode
  1. Select your USB device in the top right corner.
  2. Delete all your partitions so that you have only one (if you cant delete a partition then unmount it first by selecting that option through the context menu of that table item).
  3. Create the NTFS partition.

GParted GUI with one partition which is ntfs

๐Ÿ’ฟ Installing & opening unetbootin

sudo add-apt-repository -y ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install -y unetbootin

sudo mkdir /media/hdd1
sudo mount -t ntfs-3g /dev/sda1 /media/hdd1
sudo unetbootin installtype=USB targetdrive=/dev/sda1
Enter fullscreen mode Exit fullscreen mode

๐Ÿš€ Flash it!

Select your Windows ISO image and flash it ๐Ÿ™Œ

UNetbootin with ISO & USB stick selected

Top comments (0)

๐ŸŒš Friends don't let friends browse without dark mode.

Sorry, it's true.