Format Usb Flash Drive Mac Terminal

Most new PCs don't come with DVD drives anymore. So it can be a pain to install Windows on a new computer.

  1. Format Usb Flash Drive Mac Terminal Download
  2. Format Usb Flash Drive Mac Terminal Drive

Luckily, Microsoft makes a tool that you can use to install Windows from a USB storage drive (or 'thumbdrive' as they are often called).

But what if you don't have a second PC for setting up that USB storage drive in the first place?

In this tutorial we'll show you how you can set this up from a Mac.

How to format a USB drive on a Mac 1. Plug the drive into a USB socket (if you have a recent MacBook or MacBook Pro that only has USB-C connectors, you’ll. Open a new Finder window and click on the drive. Make sure it has no files on it that you need. Once you’ve copied any. The overwhelming majority of USB flash drives you buy are going to come in one of two formats: FAT32 or NTFS. The first format, FAT32, is fully compatible with Mac OS X, though with some drawbacks. A 16GB or larger USB flash drive or a 16GB or larger partition on some other kind of external drive. A USB 3.0 drive will make things significantly faster, but an older USB 2.0 drive will work in.

You can download the ISO file straight from Windows. That's right - everything we're going to do here is 100% legal and sanctioned by Microsoft.

If you want an English-language version of the latest update of Windows 10, you can download the ISO here.

If you have a relatively new computer, you probably want the 64-bit version. If you're not sure, go with the 32-bit version to be safe.

If you want a non-English-language version of Windows, or want to get an older update version, download the ISO here instead.

The ISO file is only about 5 gigabytes, but I recommend you use a USB drive with at least 16 gigabytes of space just in case Windows needs more space during the installation process.

I bought a 32 gigabyte USB drive at Walmart for only $3, so this shouldn't be very expensive.

Stick your USB drive into your Mac. Then open your terminal. You can do this using MacOS Spotlight by pressing both the ⌘ and Space bar at the same time, then typing 'terminal' and hitting enter.

Don't be intimidated by the command line interface. I'm going to tell you exactly which commands to enter.

Format usb flash drive mac terminal adapter

Open Mac Spotlight using the ⌘ + space keyboard shortcut. Then type the word 'terminal' and select Terminal from the dropdown list.

Paste the following command into your terminal and hit enter:

diskutil list

You will see output like this (note - your Mac's terminal may be black text on a white background if you haven't customized it).

Copy the text I point to here. It will probably be something like

/dev/disk2.

Next format your USB drive to Windows FAT32 format. This is a format that Windows 10 will recognize.

Note that you should replace the disk2 with the name of the your drive from step 3 if it wasn't disk2. (It may be disk3 or disk4).

Run this command using the correct disk number for your USB:

diskutil eraseDisk MS-DOS 'WIN10' GPT /dev/disk2

Then you'll see terminal output like this.

Drive

This will probably only take about 20 seconds on a newer computer, but may take longer on an older computer.

Note that for some hardware, you may instead need to run this command, which uses the MBR format for partitioning instead of GPT. Come back and try this command if step 7 fails, then redo steps 5, 6, and 7:

Now we're going to prep our downloaded ISO file so we can copy it over to our USB drive.

You will need to check where your downloaded Windows 10 ISO file is and use that. But your file is probably located in your ~/Downloads folder with a name of Win10_1903_V1_English_x64.iso.

hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso

Update April 2020: One of the files in the Windows 10 ISO – install.wim – is now too large to copy over to a FAT-32 formatted USB drive. So I'll show you how to copy it over separately.

Thank you to @alexlubbock for coming up with this workaround.

First run this command to copy over everything but that file:

rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WIN10

Then run this command to install Homebrew (if you don't have it installed on your Mac yet):

/usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'

Then use Homebrew to install a tool called wimlib with this terminal command:

brew install wimlib

Then go ahead and create the directory that you're going to write the files into:

mkdir /Volumes/WIN10/sources

Then run this command. Note that this process may take several hours, you may see 0% progress until it finishes. Don't abort it. It will use wimlib to split the install.wim file into 2 files less than 4 GB each (I use 3.8 GB in the following command), then copy them over to your USB:

wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 3800

Once that's done, you can eject your USB from your Mac inside Finder.

Congratulations - your computer now should boot directly from your USB drive. If it doesn't, you may need to check your new PC's BIOS and change the boot order to boot from your USB drive.

Windows will pop up a screen and start the installation process.

Enjoy your new PC, and your newly-installed copy of Windows.

This simple guide will teach you How to Format a Flash Drive on Mac. Not only this, we will help you pick the best file system for your usb flash drive that you are planning to use on a Mac.

Majority of 49.4% of desktop and laptop computer users in the world use Windows operating system. In contrast, only 27.4% of users use MacOS, obviously for their apple computer. That’s the reason why most of the flash drives in the market are available in Fat32 or NTFS formats which are the most preferred format for windows.

Although the first one, Fat32 is completely compatible with both MacOS as well as Windows, it has some limitations. Fat32 can store files only up to 4 GB of size. The latter one, NTFS is mostly used on the Windows operating system and not an optimal option for MacOS. Extra work is needed to use NTFS on MacOS. If you want to use your flash drive solely for MacOS, it is highly recommended to format your flash drive.

Here, pop-ups the question: How to format a flash drive on a mac?

Contents

  • 1 Before you format a flash drive
    • 1.1 Check flash Drive’s File System
  • 2 How to format a flash drive on Mac?

Before you format a flash drive

MacOS supports HFS plus file system. HFS stands for Hierarchical File System.

Apple introduced this file system in 1985 to replace the existing Macintosh File System or MFS. HFS filesystem is modified into HFS plus (Modernly called as MacOS Extended). Before you format a flash drive it is suggested to know what file system your flash drive is in.

Check flash Drive’s File System

You don’t need to do anything special to know your flash drive’s file system. There are 2 ways you can do this.

Method 1: Using Finder

Plug in your flash drive. Now open the Finder and look for your USB device. Then right-click on the drive’s name. Select “Get Info” from the list of options opened.

A new window will open. Just to the right of “Format” is your drive’s file system.

Method 2: Using Disk utility app

Open the Disk Utility app from the utility folder available in the application. Your drive will be on the left column of the window. Click on the partition. Here you can check the current format of your flash drive.

If your flash drive’s file system is MS-DOS or ExFAT you can use it as it is without further formatting. But if it is NTFS, format your flash drive to make it completely compatible with MacOS.

How to format a flash drive on Mac?

Disk Utility application in MacOS is the best option to format a flash drive on MacOS. You can launch this app in two ways.

Step 1: Press Space while holding your command button. A search box will open. Type Disk Utility in the search box and press enter. Alternatively, Open the Finder window and select applications on the left sidebar. Navigate to Utilities and then Disk Utilities.

Terminal

Step 2: Search for your flash drive on the sidebar of the Disk Utility app and select it by clicking on its name.

Step 3: Now Click the “Erase” button which is located just below the title bar of the window which says “Disk Utility”. This will erase your whole drive and make it a single partition.

Here you can change the name of your USB drive if you wish. This name will be visible on other devices as well if you plug your flash drive into them. Just below the Name section, you can see a section called “Format”.

You will need to choose a format option to change your flash drive’s file system. But which format to choose is the big question now! No need to worry. Read the description of each format given below and choose the format of your choice.

Types of filesystems

Mac OS Extended (Journaled)

This format is considered as default file system format of the Mac OS X drives. It also supports OS X Lion, like Versions. This format will allow you to use your flash drive on Mac without any limitations.

With Mac OS Extended (Journaled) format, you can setup OS X startup drive. Make sure you have right files and know how to do it. If you have any issues with a built-in drive you can boot from the external disk. This file system format is highly recommended for MacOS. But you cannot write this flash drive from windows PC once you have formatted it as Mac OS Extended (Journaled). You can read files though.

OS X Extended (Case-sensitive, Journaled)
Format Usb Flash Drive Mac Terminal

Go for this type of filesystem if you really need it for some reason. For OS X Extended (Case-sensitive, Journaled), the word “File” is different than “file”. It means it’s case sensitive as the name suggests.

OS X Extended (Case-sensitive, Journaled, Encrypted)

Same as filesystem just mentioned above but of course with encryption.

OS X Extended (Journaled, Encrypted)

To use a flash drive with this filesystem you will have to set up a password & enter it whenever you plug in your drive into any device.

MS-DOS (FAT)

Format Usb Flash Drive Mac Terminal Download

This is just a name for the FAT32 filesystem in Disk Utility application. FAT32 supports to almost all of the operating systems in the world. This allows you to transfer files from one operating system to other. The best thing about this filesystem is its support to video game systems which include Xbox 360 and PlayStation. This filesystem can be called a universal system. The limitation about FAT32 filesystem is it doesn’t allow files which are bigger than 4 GB in size and also you cannot create a startup drive unlike Mac OS Extended (Journaled).

ExFAT

This is a new type of filesystem and it supports MacOS X 10.6.5 and later. It is same as FAT32 but it supports files larger than 4 GB. As this filesystem is relatively new, it does not on relatively older versions of Mac OS X. If you don’t use any older version of the operating system, you can use this type of filesystem.

Use ExFAT for this tutorial if you wish to use your flash drive on windows as well on MacOS.

Step 4: For this tutorial, you can ignore the Scheme option which we use if you wish to boot from your flash drive. Click on erase button to format your flash drive.

Voila! You have formatted your flash drive now. You can eject drive by right-clicking on its name in the left sidebar and click on “Eject”.

Suggested article: How to Reset SMC on Mac?

I hope this article has helped. If you are still facing problems or have doubts on how to format USB drive on Mac, then simply comment below.

Format Usb Flash Drive Mac Terminal Drive

Related Posts: