Monday 19 April 2010

Migrate VMWare to VirtualBox

I tried VirtualBox a while back and it just worked. Stuff installed, networking worked, sound worked. I had been using VMPlayer and VMWare server but had problems with kernel module version, audio only working periodically and the final straw was when server crashed every time you started a VM, having said that VMPlayer 3 looks like a whole lot more fun.

However you can pick up your VMWare .vdk files and use them in VirtualBox. Easy..

Fire up VirtualBox. Go into the Virtual Media Manager and choose add and find your .vdk file.

Create a new machine and go through the wizard and choose the VMWare disk on the way. Here's the key bit, if you have a windows guest make sure you turn on Enable IO APIC in the System tab of the settings or your windows guest won't start. "Real" OSes seem to be OK ie my CentOS VM just worked.. The other sticky one is sometimes you need to go into the Storage tab and change the IDE controller type to PIIX3 for older windows guests. It's also worth giving the guests 32MB video memory or so and turning on 2D and 3D acceleration (through only for windows guests)

Otherwise your VMWare guest should just work.


Monday 12 April 2010

trackerd using almost 100% CPU

Got a problem with trackerd using lots of CPU?

I had tracker-store using almost 100% CPU and it never stopped. Everything was indexed and it should have stopped but it just kept using as much as it could get of one CPU.

Weird fix: adjust the disk space up. Maybe it was running out of space but once I bumped it up and all of a sudden the CPU dropped.

Gentoo grub-probe not working

 I have a bunch of history commands I run when I d a new kernel etc and one stopped working. grub-mkconfig would fail with grub-probe for /....