Skip to content

Instantly share code, notes, and snippets.

@timdream
Created February 10, 2012 07:33
Show Gist options
  • Save timdream/1787433 to your computer and use it in GitHub Desktop.
Save timdream/1787433 to your computer and use it in GitHub Desktop.
reload VirtualBox kernel extension in Mac OS X - good for USB problem on Lino
#!/bin/bash
sudo kextunload -b org.virtualbox.kext.VBoxUSB
sudo kextunload -b org.virtualbox.kext.VBoxNetFlt
sudo kextunload -b org.virtualbox.kext.VBoxNetAdp
sudo kextunload -b org.virtualbox.kext.VBoxDrv
sudo kextload /Library/Extensions/VBoxDrv.kext -r /Library/Extensions/
sudo kextload /Library/Extensions/VBoxNetFlt.kext -r /Library/Extensions/
sudo kextload /Library/Extensions/VBoxNetAdp.kext -r /Library/Extensions/
sudo kextload /Library/Extensions/VBoxUSB.kext -r /Library/Extensions/
@manuelep
Copy link

manuelep commented Nov 1, 2013

thank you!

@xuxianli
Copy link

greatly helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment