Search This Blog

Monday, February 14, 2011

VirtualBox 4.0 invalid command 'registerimage'

When moving from VirtualBox 3.x to VirtualBox 4.0 you might experience the following error:

VirtualBox 4.0 invalid command 'registerimage'

It's due to the change of some of the VBoxManage commands.
The old way to register hdd image was:

VBoxManage registerimage disk C:\FORCOMVM\FORCOMVM.vdi

You can do this in the following way now:
VBoxManage storageattach FORCOMVM --storagectl "SATA Controller" --device 0 --port 0 --type hdd --medium C:\FORCOMVM\FORCOMVM.vdi

You need to have a VM called FORCOMVM and an EMPTY controller "SATA Controller".
If you have controller  IDE type: "IDE Controller". If you want to attach a drive to a non-empty controller use a different port number.




1 comment:

  1. Luxury watch replicas are quality rolex replica sale that are made to resemble their significantly more expensive designer counterparts at a fraction of the price. For example, the average rolex replica sale Submariner, an extremely popular luxury watch, will set you back anywhere, depending on the condition of the replica rolex and which model you choose. The Rolex Submariner diving watch was initiated at watches store during 2017 which happened to coincide with the growth of self contained below the surface breathing apparatus, called scuba. In the year of replica watches Rolex had a couple of editions of the Submariner. These quality timepieces offer those who can afford the real thing the opportunity to accessorize their outfits with beautiful watches that look and operate just like the real thing. Because rolex replica sale are so affordable, most can afford to purchase more than one, giving them the opportunity to try many different looks and styles.

    ReplyDelete

If you like this post, please leave a comment :)