Boot Macos From Usb Drive



Using a virtual machine is a good way to test boot. This article will guide you how to boot from USB in VirtualBox virtual machine.

  • Boot from USB in VirtualBox

Introduction

Although there are many tutorials on how to boot from USB in VirtualBox, I still want to write this article for users on this site for reference.

VirtualBox is a free and lightweight virtualization software. It also supports the use of physical disks as virtual hard disks, which allows us to attach and boot physical disks in VirtualBox. So you can use it to boot the HDD, not just the USB.

Here’s how to boot from a CD or USB drive on a PC: Restart your computer. Restart your computer and wait for that first screen to pop up. Often, it’ll say something like “Press F12 to Choose. Step 6: The next thing is to merge the EFI folders from Windows EFI boot drive and the USB installer, and for this, you can use an EFI mounter like Clover Configurator. The purpose of this step is so that your macOS can boot from the partition instead of from the USB installer. Step 7: Restart Windows 10 PC and boot from macOS install USB. Ignore this step if you use the Virtual Machine USB Boot, which will automatically create this file. On Windows, you can use Disk Management to view all the disks on your computer. Here, I will use the G: drive where I installed the AIO Boot. Drive G: under Disk 2. PhysicalDrive n “. Partition Image Mapper is a solution to create bootable USB for FreeBSD, NetBSD, OpenBSD and macOS without losing the existing data on the USB drive. Currently, AIO Boot Extractor and AIO Boot Creator only support Windows. Create a Bootable Linux USB with Etcher (Linux, Windows, macOS) Written in Electron, Etcher is a cross-platform open source utility for flashing disk images to USB drives and memory cards. It runs on Windows, macOS, and Linux and provides an approachable graphical user interface that reduces the process of creating a bootable Linux USB to just.

You can create a virtual disk, it will point to the physical disk, and then attach it to the virtual machine manually. This allows you to keep using the disk on the real machine. However, the data written to this disk from the virtual machine will be lost. I was unable to copy the file too large, my virtual machine was stopped with an error message:

To overcome this problem, you can use the Virtual Machine USB Boot. This software will automatically create a virtual disk from the physical disk you want, then attach it to the virtual machine. The data written to this disk from the virtual machine will be saved, but the disk will be locked and you can not use it from the real machine. Currently, this software only supports Windows, you can not use it on Linux and macOS.

Please select a suitable method. VirtualBox does not currently support 32-bit UEFI boot, you can boot USB in VMware Workstation instead.

Boot from USB in VirtualBox

To boot the USB in VirtualBox, we will create a virtual disk pointing to the physical disk and then attach it to the virtual machine.

Create virtual disks from physical disks

To create a virtual disk from a physical disk, you first need to determine which physical disk you want to use. Ignore this step if you use the Virtual Machine USB Boot, which will automatically create this file.

On Windows, you can use Disk Management to view all the disks on your computer. Here, I will use the G: drive where I installed the AIO Boot.

  • Drive G: under Disk 2.
  • Disk 2 is “.PhysicalDrive2“.

Disk n is “.PhysicalDriven“.

From

Run Command Prompt (Run as Administrator) and run the following command:

In the above command, I will create a virtual disk stored in C:Disk2.vmdk for the physical disk 2. You need to change the information highlighted in red above to suit you. The output is as follows, which means success.

Boot mac os from usb drive windows 10

On Ubuntu and Linux distributions, you can use the sudo fdisk -l command to view the list of disks.

On macOS, use the diskutil list command:

Create a new virtual machine

Now we will create a new virtual machine and add the virtual disk created above. You can also add it to an existing virtual machine.

  • For Windows, run VirtualBox under Administrator (on Linux and macOS as root).
  • Click the New button to create a new virtual machine.
  • Name and select the operating system for the virtual machine. Click Next.
  • Enter the memory size in the Memory size window. Click Next.
  • In the Hard disk window, select Use an existing virtual hard drive file, then click the up arrow to select the .vmdk file created in the previous step. If you use Virtual Machine USB Boot, select Do not add a virtual hard disk, this software will automatically help you create and add virtual disk.
  • Click the Create button to finish.

Boot Mac Os From Usb Drive Windows 10

Now just select the virtual machine in the list, click Start to boot from USB in VirtualBox. If you want to boot UEFI in VirtualBox then go to Setting > System and check the Enable EFI (special OSes only) check box.

Virtual Machine USB Boot

Boot Macbook From Usb Drive

Using Virtual Machine USB Boot will support writing data to physical disk from virtual machine. It will automatically create the virtual disk file and attach it to Port 0. It also supports QEMU.

  1. Download Virtual Machine USB Boot. I will download the Portable version to avoid having to install.
  2. Extract the .zip file and run the .exe file.
  3. Click Add to add the VirtualBox virtual machine you created above.
    • Type:VirtualBox.
    • Mode to load VM: VM name.
    • VM name: Name the virtual machine you created above.
    • Drive to add and boot: Select the hard disk you want the program to create virtual disk and attach it to boot. If you have created the virtual disk from this physical disk and attached it to the virtual machine, remove it first. Open VirtualBox, select the virtual machine name and click the Settings button, from the Storage section, right-click on the .vmdk file name and select Remove Attachment.
  4. Set the remaining items and click OK to finish.

Select the virtual machine, click Start, Virtual Machine USB Boot will automatically lock the hard disk of your choice and boot it.

Boot Mac Os From Usb Drive Using

Using virtual machines helps us to test beforehand without having to reboot the computer. This is great, right? Good luck!