VERR_CFGM_VALUE_NOT_FOUND error while starting a virtuabox guest

I was playing around with VirtualBox clients and trying to find a way to SSH to the guest from the host, when the guest is configured to use NAT. After following an article at http://mydebian.blogdns.org/?p=148 I configured the SSH as per the article. But unfortunately, when I tried starting the guest, I received the following error. To rectify the error, I had to go back to the Virtual Machine guest xml configuration file and remove the lines containing extradata and the newly configured ports for SSH access.

It looks like this

ExtradataItem name=”VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort” value=”2222″

After that the virtual machine starts, but I’m back to the same stage.

After some more digging in the blog, I found that others had the same issue too. The problem was with the network card that I had selected in my virtual machine.

To make this work instead of using pcnet in the line above, use e1000 for the Intel PRO/1000 cards.