当前位置:首页 > 虚拟机 > 正文

虚拟机上如何连接u盘(无法将usb设备连接到虚拟机)

How does a virtual machine recognize a USB flash drive

Here is how a virtual machine recognizes a USB flash drive. This guide can help you solve this problem

Steps before identifying the USB flash drive:

First insert the USB flash drive into the computer, and the computer successfully displays the USB flash drive

Then, run the virtual machine

< p>

Enter the newly created virtual machine

Steps to identify the USB disk:

Click "Edit Virtual Machine Settings"

Find the "Hard Disk" option and select "Add"

In the hardware type interface, select "Hard Disk" and click Next

< p>

Keep the default settings and click "Next"

Select "Use a physical disk (for advanced users)" and click "Next" "

Select "physicalDrive1" at this time (this item will not be displayed if the U disk is not inserted or if the U disk is inserted after running the virtual machine), in the usage Select "Use the entire disk" and click "Next"

Edit the file name according to personal needs. Keep the default name here and click "Finish"

You can see: The added new hard disk is successfully displayed, including device information and device capacity. Click "OK"

After running the virtual machine, My own USB flash drive was successfully added to the virtual machine

Comparison before and after: the USB flash drive that was not added to the virtual machine (as shown in Figure 1); the USB flash drive that was added to the virtual machine U disk (shown in Figure 2)

How to boot a VMware virtual machine from a USB flash drive | How to enter the USB PE from VMware
To boot from a USB flash drive in a VMware virtual machine, you can follow the steps below: 1. First, change the USB Insert the disk into the computer and open the VMware virtual machine software. 2. In the virtual machine interface, select your virtual machine and click the "Edit Virtual Machine Settings" option. 3. In the "Virtual Machine Settings" window, select the "Hardware" tab, then find "USB Controller" and expand it. 4. Click the "Add" button, select your USB flash drive as the device in the pop-up dialog box, and then click "OK". 5. Make sure your USB drive is connected and selected as the boot device. 6. Start the virtual machine and when you see the boot screen, press the F2 key to enter the BIOS setup. 7. In the BIOS settings, select the boot options and select your USB drive as the boot device. 8. Save the changes and exit BIOS setup, then your virtual machine will boot from the USB drive. To enter the USB PE, you need to use the USB PE boot disk. Follow the steps below: 1. Insert the USB flash drive into the computer and open the PE toolbox software. 2. In the PE toolbox interface, select the "U disk PE" option and click "Start Production". 3. Follow the prompts and wait for the production to complete. 4. Once completed, restart your computer and enter BIOS setup. 5. In the BIOS settings, select the boot option and select your USB drive as the boot device. 6. Save the changes and exit BIOS setup, then your computer will boot from the USB drive PE.
How to use a USB flash drive in a virtual machine?

To use a USB flash drive in a virtual machine, you must first install the following tools:

1. Install enhancement tools

2. Install extension enhancements Package

I won’t go into details about the downloading and installation of these two tools here.

After installing the above two tools, run virtualbox first, but do not run the virtual system. Insert the USB flash drive into the real machine, click "Devices" - "Assign USB Device", and find your own USB flash drive, that is Click "The name of your USB flash drive" and the physical machine will install the driver. As shown below:

After the driver installation is completed, click "GenricUSB2.0-CRW[1981]" again to start the virtual machine system I saw my USB drive.

Through the above settings, you can use the USB flash drive in the virtual machine.