VirtualBox does not open .vdi file after it is used with kvm

If you installed VirtualBox and later changed your mind to use the .vdi file with kvm, it will work, but when you go back to VirtualBox, it cannot be used.

This is because, when it was opened with qemu/kvm, the owner and group became root.

To open the file again in VirtualBox, open a terminal window and enter the following:
$ sudo chown user.group *.vdi <enter>
where user is your userid and the group is your primary group.

Now it will work with VirtualBox again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s