Mac Terminal Boot From Usb

  



  1. Mac Terminal Command Boot From Usb
  2. Mac Terminal Boot From Usb 3.0

CD/DVD drives are disappearing from computers, leaving USB storage as the only option when re-installing an operating system. The process is fairly painless and, if you have a bit of time and patience you can complete the task on a Mac. Once recovery USB drive is created, you can check the recovery partition on USB drive by typing command “diskutil list” on terminal app. Look at the highlighted field in the picture below- disk3 is an external 4 GB USB flash drive which has two partition EFI and AppleBoot with 209.7 MB and 650 MB size respectively.

Are you looking for a secure way to format USB to FAT32 on Mac? You are at the right place. Follow here, you can find two methods that will assist you in doing so on your storage device. And if you lost data during the formatting, reliable Mac file recovery software is ready to help anytime:

Workable SolutionsStep-by-step Troubleshooting
Method 1. Use Disk UtilityConnect USB to Mac > Go to Applications > Utilities > Disk Utility > Select USB and click 'Erase'..Full steps
Method 2. Use Terminal CommandConnect USB to Mac > Hit cmd + space keys > Type terminal and hit Enter..Full steps
Bonus Tip. Recover Formatted DataIf you lost data due to formatting, run EaseUS file recovery software > Scan and recover formatted data..Full steps

How to Format a USB Flash Drive with Mac to FAT32

Computer users who use a USB might have the demand for formatting it to the FAT32 file system. Compare with the other commonly used NTFS file system on a flash drive, FAT32 has a compatibility advantage across many operating systems.

It's a universal format that is compatible with Mac OS X/macOS, Windows, Linux, and DOS systems. So, if users anticipate using the flash drive with more than one operating system, they will definitely benefit from the FAT32 file system. For Apple Mac users, there are two ways to format a USB flash drive to FAT32, namely Disk Utility and Terminal command line. Below are the detailed steps of the FAT32 format with both methods.

Method 1. Format FAT32 on Mac [Disk Utility]

To format USB to FAT32 with Disk Utility will erase all data on the flash drive, so before you doing so, please do remember to check whether you have saved useful data to another secure device in advance.

To format the USB drive to FAT32, follow the next steps:

Step 1. Connect the USB flash drive to your Mac computer.

Step 2. Go to Applications >Utilities > Double click and open Disk Utility.

Step 3. Select your USB flash drive on the sidebar, choose Erase.

Boot

Step 4. Rename the USB flash drive (optional).

Step 5. Choose the format as MS-DOS (FAT) for Format, Master Boot Record for Scheme. Then click Erase.

Wait for the process to complete, then you'll get an empty new USB flash drive with FAT32 as the file system. You can use it for saving data again.

Method 2. Format FAT32 on Mac [Terminal Command Line]

The command-line behavior does the same way to erase data with the Disk Utility. Again, create a backup before taking this action.

To format FAT32 on Mac with Terminal, follow the next steps:

Step 1. Connect the USB flash drive to your Mac computer.

Step 2. Hit cmd + space to run Spotlight, type: terminal, and hit Enter.

Step 3. Type: diskutil list and find out which disk is your USB drive.

Vuze is the most powerful bittorrent Client for Mac OSX. Take advantage of Vuze's best features like streaming from your Mac to your TV, meta search, and torrent remote. Vuze linux.

Mac Terminal Boot From Usb

Step 4. Type: sudo diskutil eraseDisk FAT32 MBRFormat /dev/disk2.

  • sudo gives you user right.
  • Diskutil calls disk utility program.
  • eraseDisk commands to format.
  • FAT32 sets the file system.
  • MBRFormat tells disk utility to format with a Master Boot Record.
  • /dev/disk2 is the location of the USB drive.

Wait for the process to complete. After this, you can type 'diskutil list' in the command again to check if the formatting has been successful.

Bonus Tip: How to Recover Data from Formatted USB

Formatting the USB would erase the data on it completely, so please make sure that you have a backup. If you don't, you can count on data recovery software to retrieve the lost data.

EaseUS Data Recovery Wizard has both Windows and Mac versions, so it's a good choice for data recovery, no matter you're using a PC or Mac. For Mac users, it only takes a few clicks for the software to scan and display the formatted data. To guarantee an effective data recovery without spending money to no avail, you can install the Mac data recovery free version for the first trial. You can preview all the found data before the final recovery.

To recover data from a formatted USB flash drive on Mac, follow the next steps:

Step 1. Correctly connect your USB flash drive to your Mac. Launch EaseUS Data Recovery Wizard for Mac. Start selecting the flash drive and click 'Scan' to let the software search lost files on it.

Step 2. After a quick scan and deep scan, all files will be presented in the left panel in the scan results.

Step 3. Select files you want to recover and click the 'Recover Now' button. Don't save the recoverable files to the USB drive itself in case of data overwriting.

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

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.

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.

Mac Terminal Command Boot From Usb

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.

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.

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: Mac os catalina combo update.

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

Mac

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

Install windows 10 on mac catalina. 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.

Mac Terminal Boot From Usb 3.0

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