Operation process of mounting USB disk in Linux virtual machine
Some friends need to copy the contents of the USB flash drive to the Linux virtual machine system due to work needs, but they cannot see anything at all when plugging in the USB flash drive. The problem lies here. If the user wants to use the USB flash drive under the Linux system, he must first mount the USB flash drive. Let’s take a look at the specific operation process.
1. Preparation work
1. Operating environment: The virtual machine version is VMware Workstation 5.5.1, the virtual system is redhat 9.0, and the kernel version is 2.4.20-8. If you are not sure, you can use the following command to check: # rpm -qa|grep kernel:
2. In order to make the Chinese files in the USB flash drive display normally. First, confirm the locale of the Linux system you are using (this locale includes information such as the language and character encoding used by the system). Commonly used locales in Chinese Linux are zh_CN.gb2312, zh_CN.gbk, zh_CN.gb18030 and zh_CN.UTF-8. You can query the locale of the system through the following command: #echo $LANG
Second, you can query whether the virtual machine recognizes the USB flash drive through the #fdisk -l command, as follows:
Here, you can see that the virtual machine system does not recognize the USB flash drive. There are two solutions, as follows:
1) Eject the U disk in the main system (mine is Windows XP), click on the virtual system interface, and place the active cursor in the virtual system. At this time, insert the U disk again. You can see a message prompt that the virtual machine recognizes the U disk pops up in the lower right corner of the main system. Otherwise, repeat the above operations until the virtual machine recognizes the U disk. This method is relatively stupid. You can take the second method, as follows:
2) Set it in the VM menu option of the virtual machine interface, as follows:
At this time, you can see a message popping up in the lower right corner of the XP system to safely exit the USB device, indicating that the USB disk has been recognized by the virtual system.
免责声明:All articles and pictures on this site are from user sharing and Internet collection. The copyright of articles and pictures belongs to the original author and original source. They are for learning and reference only. Please do not use them for commercial purposes. If your rights are damaged, please contact the website customer service.


