Discussion:
Renaming a virtual disk
George R Goffe
2014-03-15 20:14:17 UTC
Permalink
Hi,

I ran out of space in a virtual disk (vmdk) and made a new virtual disk. I booted clonezilla's iso image and made the clone to the larger new VD. This worked EXTREMELY WELL! I don't like the new name and want to rename it. I don't see any options in VBoxManager to do this. Am I missing something? Is there a way to do this?

Clearly renaming the file does not work so I renamed it's entry in the XML file. STILL no luck. Now I get "Unable to read grain table". Sigh.

Any hints/tips/suggestions/clues would be most appreciated.

Thanks FOR THE BEYOND COOL CODE!

George...
Gregory Nowak
2014-03-15 21:40:23 UTC
Permalink
Post by George R Goffe
I ran out of space in a virtual disk (vmdk) and made a new virtual disk. I booted clonezilla's iso image and made the clone to the larger new VD. This worked EXTREMELY WELL! I don't like the new name and want to rename it. I don't see any options in VBoxManager to do this. Am I missing something? Is there a way to do this?
Clearly renaming the file does not work so I renamed it's entry in the XML file. STILL no luck. Now I get "Unable to read grain table". Sigh.
Any hints/tips/suggestions/clues would be most appreciated.
The only way I can think of is to detach the hard disk from the guest,
and remove it from the hard disks tab in the virtual media manager. Then,
rename the file, and reattach to your guest. Since you messed with the
xml file, that might give you more complications. Hopefully someone
else can help you with that.

Greg
--
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-manager-iDweQDFWK/***@public.gmane.org
George R Goffe
2014-03-16 06:00:17 UTC
Permalink
Hi,

I found the answer with my "other" brain, ixquick.com (search engine but doesn't track ip addresses).

Shutdown the VM, remove the VD from the VM, rename the file, attach the new VD to the VM. Poof!

Thanks,

George...




________________________________
From: George R Goffe <grgoffe-/***@public.gmane.org>
To: "vbox-users-community-5NWGOfrQmneRv+***@public.gmane.org" <vbox-users-community-5NWGOfrQmneRv+***@public.gmane.org>
Sent: Saturday, March 15, 2014 1:14 PM
Subject: Renaming a virtual disk



Hi,

I ran out of space in a virtual disk (vmdk) and made a new virtual disk. I booted clonezilla's iso image and made the clone to the larger new VD. This worked EXTREMELY WELL! I don't like the new name and want to rename it. I don't see any options in VBoxManager to do this. Am I missing something? Is there a way to do this?

Clearly renaming the file does not work so I renamed it's entry in the XML file. STILL no luck. Now I get "Unable to read grain table". Sigh.

Any hints/tips/suggestions/clues would be most appreciated.

Thanks FOR THE BEYOND COOL CODE!

George...

Loading...