Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if linux cannot recognize the U disk in the virtual machine?

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

What if linux cannot recognize the U disk in the virtual machine? I believe that many novice rookies are at a loss about this. This article summarizes several methods that usb cannot read. I hope you can learn this skill.

1. U disk is not recognized in virtual machine (vbox)

The vbox and the host are exclusive when using the U disk (that is, only one of them can access the u disk at a certain time, but not at the same time). If the linux in vbox cannot recognize the u disk, you can refer to the following:

1 > ensure that the U disk can be accessed under the host, so as to ensure that there is no problem with the U drive of the host

2 > when you need to access under vbox, enter the linux system in the virtual machine, and then go to the menu bar device-> assign usb device to find the appropriate usb device and check it.

Generally speaking, the u disk can be identified at this time. If it is still not identified successfully, it means that the linux installed under the virtual machine is missing the relevant driver of usb (this case comes from the green version of the virtual machine, you can install the usb driver or use the installed version of the virtual machine).

two。 U disk cannot be recognized in actual linux system

If the U disk is not recognized in the actual linux system, you can refer to the following process:

1 > insert u disk

2 > # fdisk-l / dev/sd* or # df

At this time, if you see the corresponding u disk, then the u disk has been correctly identified; if you can't see it, then perform the next operation.

3 > # lsmod

Execute the above command to see if the usb-storage scsi_mod sd_mod module has been added, and if the above module is not found, execute # modprobe [module] to add it.

4 > set up a mount point, such as / mnt/usb, and execute # mount / dev/sda / mnt/usb

Some systems need to indicate the mounted file type and execute # mount-t vfat / dev/sda / mnt/usb

The solution described above is that linux can not recognize the u disk in the virtual machine, and the specific usage needs to be used by everyone through hands-on experiments. If you want to know more about it, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report