Changing HD Name?

This is for discussing general topics about how to use VirtualBox.
Post Reply
hawkeye62
Posts: 42
Joined: 4. Mar 2012, 00:07

Changing HD Name?

Post by hawkeye62 »

I am a neatness freak. I would like to change the name of the virtual hard drive for my Windows 8 VM. Can I just go to the .vdi file and change the name, then attach that "new" HD to the Windows 8 machine?

Thanks for any advice, Jim
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changing HD Name?

Post by ChipMcK »

No, there is some steps before actually renaming
  • 1.Menu Bar item File --> Virtual Media Manager
    2. From the Hard drives list, select the virtual hd file
    3. Use the Release icon
    4. the file should still be highlighted; Use the Remove icon and select Keep
    5. Close the Virtual Media Manage
Now go and rename the file. And finally under the Storage section for the VM, add the newly renamed file under its controller.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Changing HD Name?

Post by mpack »

Don't attempt that if your VM uses snapshots. If you have snapshots then the only viable way IMHO is to shut down everything (all VMs + GUI), edit the filename in the .vbox file, then rename the actual file to match. Requires basic knowledge of xml syntax.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changing HD Name?

Post by ChipMcK »

I keep forgetting about snapshots - I do not use them.
Definitely a thorn/oops when trying to do maintenance, from my perspective.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Changing HD Name?

Post by mpack »

+1
hawkeye62
Posts: 42
Joined: 4. Mar 2012, 00:07

Re: Changing HD Name?

Post by hawkeye62 »

OK guys thanks. I edited the .vbox file, changed the .vdi file name and everything works normally. Now my neat freak is satisfied. :lol:

Many thanks, Jim
Post Reply