Virtualbox XP Guest等系统中也存在类似问题,主要原因是virtualbox的bug,配置的时候选择cpu数量为1 就可以了。
参考文章如下,(此文在.wordpress.com中,包括blogspot上都有好多优秀的技术文章,都得XX才能看,真是对天朝无语了……)
Ok, ladies and gents. If you are a Mac user, you will probably notice there isn’t much documentation on fixing USB access issues on Ubuntu guest operating system. After spending hours… I mean literally a half a day traversing Mac OS, Ubuntu, and VirtualBox forums, I finally found the answer in the dead of night. Hope you found this solution faster than I did. Another day in the life of me.
Environment:
Host OS-> MacOS 10.7.4 (OSX Lion) x86_64
VirtualBox 4.1.18 , ext: 4.1.18r78361
Guest OS-> Ubuntu 10.04 AMD 64-bit
Pre-configurations:
In order for your system to utilize the virtual USB 2.0 functionality you need to install two software packages (in order):
Guest Addition: Start up the guest OS and select “Install Guest Additions”. It will automatically mount a CD file on your desktop. It may also automatically attempt to run and execute. I would recommend executing the “open Autorun prompt” just for ease. If you are unsure, there are plenty of tutorial including youtube videos online. You will need to restart your VM for the changes to take effect, but for now just it shutdown.
Now, download your respective extension pack for your version of VirtualBox here. As you can see in the Environment section, I downloaded VirtualBox 4.1.18 for OS X hosts extension pack (4.1.18r78361).Click on the “VirtualBox” home button and select Preferences. Switch to the Extension tab. Click the image of the blue diamond superimposed by an upside -down orange triangle to add the downloaded extension package.You may not need to restart VB, but better safe than sorry.
VirtualBox Configurations:
This is assuming you have your USB devices and/or external hard drives already attached to the host machine.
Once you have opened the VirtualBox application, select the Ubuntu virtual machine. Make sure the guest OS is not currently running. Then click on Settings. Navigate to the Ports tab. Switch to USB configuration window.
Enable both USB Controller and USB 2.0 (EHCI) Controller.
Under the USB Device Filter dialogue, you can either create general USB filter (blue circle) or a specified filter (green plus sign) for a currently attached USB device. I created an instance of both. There will be also integrated host devices, and you most likely have no interest in that. It could also screw with your hardware peripherals’ functionality.
IMPORTANT: Now here is one of the essential config options that had me stuck for 12 hours. For some odd reason, your external USB devices will not automatically mount or mount at all if you have more than 1 virtual CPU set for the Ubuntu guest OS. Even if VB notifies you that the devices have been successfully captured by the VirtualBox, the guest OS will not mount it. So it is imperative that you keep the vCPU at the minimum.
[Edit]: Apparently the number of allocated virtual CPU has been an issue dating back to VirtualBox 3.2.10. Peruse this forum if you so desire.
Test Drive!!!
Its time to verify if your configurations has granted you USB access via the Ubuntu guest OS. *Cross fingers*
First, remove the USB devices. Run the guest OS, and once you have logged in to the VM, connect the devices.
A couple things can occur after re-inserting the USB peripherals.Your Mac OS may capture the device first before the guest OS. In that case, in a Finder window, just eject the devices. The guest OS will then automatically capture the devices. If not, a simple click on the VB’s Device -> USB Devices -> diskimage, where “diskimage” is the manufacture’s hardware name associated with your device, will allow you to select your attached device. Automatically or manually attaching the device will lead to the external devices mounting on the Linux system.The second case is that maybe the host OS automatically directs the USB access to guest OS. Again, if it does not automatically mount, you will have to manually perform that operation above.Congratulations, you have USB access now via Ubuntu 10.04 guest OS on a Mac OSX Lion host OS.
Notes:
If you think you need the vboxuser group on your host machine, you DON’T! Let me reiterate that, vboxuser group is only for installing VirtualBox on Linux distributions (i.e. Ubuntu, Fedora, Solaris). So move on from those Linux forums because they will not help.
There are some possible errors that I did not cover because there are a plethora of online sources such as this that provide solutions. Often, errors can be solved just by properly removing the VirtualBox app from the host OS using the uninstall tool and reinstalling it with both Guest_Addition and appropriate Extension pack.
To verify if the host-attached USB devices are either “unavailable” or “captured” by VirtualBox, in the Mac terminal execute:
$ VBoxManage list usbhost
分享到:
相关推荐
USB 串口 PL2303 MAC OSX 驱动,适用于 OS X 10.9 以上的版本。 Mac OS X Universal Binary Driver v1.6.2 (PKG file format) For Mac OS High Sierra (version 10.15) - see NOTE below. For Mac OS High Sierra ...
Mac使用的VirtualBox-5.2.6-120293-OSX.dmg Mac使用的VirtualBox-5.2.6-120293-OSX.dmg Mac使用的VirtualBox-5.2.6-120293-OSX.dmg
硬盘安装Mac OSx 在XP系统下利用Mac硬盘安装助手软件写入Mac安装镜像文件和使用Boot think引导进行Mac硬盘安装
VirtualBox-5.2.44-139111-OSX.dmg
ubuntu-usb-osx:在Mac上制作Ubuntu USB棒安装程序的Makefile
osx操作系统下的VirtualBox-5.2.18-124319-OSX.dmg。 下载可以直接安装使用
硬盘安装Mac OSX 苹果安装教程 一步一步截图、如果你想在非苹果机上装苹果系统,必备教程
VirtualBox6.1.8 OSX mac版本,安装教程请参考: https://blog.csdn.net/qq_34160841/article/details/106225161
VirtualBox-6.0.8-130520-OSX,请查看对应版本,这个是最新的,所以请放心下载。
MAC OSX 10.5图文教程 绝对清晰
2.用硬盘安装助手分别把MINIBOOT.ISO和安装镜像ISO导入到分好盘符的大(大于15G)、小(5G)分区上,导入时选择“在boot.ini中加入tboot,而不选择“强制加入引导及启动代码”和PC_EFI V8” 3.用WINPM打开查看硬盘...
VirtualBox号称是最强的免费虚拟机软件,它不仅具有丰富的特色,而且性能也很优异!它简单易用,可虚拟的系统包括Windows(从Windows 3.1到Windows8、...使用者可以在VirtualBox上安装并且运行上述的这些操作系统!
VirtualBox 是一款开源虚拟机软件。VirtualBox 是由德国 Innotek 公司开发,由Sun Microsystems公司出品的软件,使用Qt编写,在 Sun 被 Oracle 收购后正式更名成 Oracle VM VirtualBox。Innotek 以 GNU General ...
Mac OSX的文件系统介绍 各目录说明
MAC 系统使用的最新版本免费虚拟机,VirtualBox-6.1.12-139181-OSX.dmg 直接安装使用
VirtualBox-6.0.10-132072-OSX.dmg
VirtualBox-5.2.12-122591-OSX虚拟机下载,可以用于genymotion模拟器等等
osxfuse 是一个google开源的mac osx 磁盘格式读写库。
Mac版本VirtualBox-6.1.34-150636-OSX虚拟机,一键安装,安装即可用~
VirtualBox-6.0.18-136238-OSX,2020年3月最新版osx安装包,国内下载不易,太慢了