

In either case, make sure you are making changes to the correct device. Changes made using fdisk can be reverted as long as those changes have not yet been written to the device. Use the command you are more familiar with.Ĭhanges made using parted cannot be reverted because they are executed in real time to the device. I am not, nor is anyone else, responsible for any potential data loss.Įither parted or fdisk can be used to partition the USB drive. Once you figure out the USB drive’s device ID, be sure to unmount it before continuing: sudo umount /dev/sdXĭisclaimer: The following steps will erase everything on your USB drive. On Ubuntu or Debian, run sudo tail -f /var/log/syslog. On Fedora, CentOS, or RHEL, run sudo tail -f /var/log/messages. If not, you can see what device ID is assigned to the USB drive by running df -h or mount or lsblk.Īdditionally, syslog can be monitored to find the device ID. Most modern Linux distributions should automount the USB drive. Next, you need to figure out the device ID of the USB drive. Download Windows 10 Disc Image (ISO Files).Download Windows 7 Disc Images (ISO Files).If you do not already have the Windows 7 or 10 ISO file, start by downloading one of them:

The following post will walk you through the necessary steps to create a bootable Windows 7 or 10 USB drive from a modern Linux distribution. However, many of those guides have missing steps, involve using Windows, or use programs not readily available on modern Linux distributions.
#How to create bootable usb windows 7 installer how to#
There are a lot of guides on the web describing how to create a bootable Windows 7 or 10 USB drive in Linux.
