I wanted to use an external USB disk with a physical partition for a virtual machine in VirtualBox on my MacBook Air, and this isn’t obvious from the gui. So this is what I found out I had to do.
First, make sure that there is no partition on the disk. Then run this command:
VBoxManage internalcommands createrawvmdk -filename \
~/Library/VirtualBox/usbdisk.vmk -rawdisk /dev/disk1 -register
You can now create a virtual machine and use usbdisk.vmk to install a new OS on.
Update: Later, OS X might auto mount the volume created during install. You must unmount this before you can start the virtual machine again.
4 months ago
•
0 notes
I have been using Colibri for a while and - inspired by Humanized Enso - really wanted to use the Caps Lock key to launch it. But unfortunately the configuration dialog requires you to press a combination of two keys.
Then today I found out that you can modify the configuration directly in a couple of SQLite databases(*). So by setting the key combination to eg. Ctrl+Caps Lock and then disable the Ctrl key in the database, I now only need to press the Caps Lock (and at the same time I prevent the default behavior of the key - YAY!)
You can also add aditional paths that should be indexed by inserting in Filesystem.sqlite
(*) The files are located in C:\Documents and Settings\{user}\Application Data\Colibri
Update: You’ll need some kind of SQLite browser. I’ve used SQLiteadmin.
Also, Jesper has disabled his Caps Lock key and suggests Ctrl+Scroll Lock as an alternative combination.
1 year ago
•
0 notes