[Solved] Increasing the disk size of a VM

Discussions related to using VirtualBox on Windows hosts.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] Increasing the disk size of a VM

Post by mpack »

In that case back up the VM then delete the snapshot before you start.
Jiger wrote:Can a vdi-file replace the original vmdk-file?
Yes, the container style makes no difference to the VM, it only affects what operations are supported by host tools - basically VMDK only supports a subset of what a VDI supports.
Jiger
Posts: 100
Joined: 11. Jan 2017, 17:33
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: MS Windows XP, Linux Mint
Location: Stockholm

Re: [Solved] Increasing the disk size of a VM

Post by Jiger »

Windows XP VM Snapshots.GIF
Windows XP VM Snapshots.GIF (18.98 KiB) Viewed 1613 times
Windows XP VM.GIF
Windows XP VM.GIF (15.85 KiB) Viewed 1613 times
I am not quite sure which file in the Windows XP VM folder that should be processed by CloneVDI. I attach 2 screenshots of the folder, where all the possible files and maps can be seen. I guess that I should process Windows XP-disk001 (after having deleted the snapshot) with CloneVDI but on the other hand, that file is dated as far back in time as 2018-04-30. Please clarify what file should be used.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] Increasing the disk size of a VM

Post by mpack »

If you back up the VM before deleting the snapshots then there should be no need for such concern. Then yes, you would select the -disk001.vmdk file in the VM folder.
Jiger
Posts: 100
Joined: 11. Jan 2017, 17:33
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: MS Windows XP, Linux Mint
Location: Stockholm

Re: [Solved] Increasing the disk size of a VM

Post by Jiger »

Thank you very much, this worked perfectly!
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] Increasing the disk size of a VM

Post by mpack »

Thanks for reporting back again.
Jiger
Posts: 100
Joined: 11. Jan 2017, 17:33
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: MS Windows XP, Linux Mint
Location: Stockholm

Re: [Solved] Increasing the disk size of a VM

Post by Jiger »

Btw, is there a similarly simple way to do this process the other way around, i e if the ambition is to decrease the VM disk size. Again windows 10 Home host and Windows XP pro guest. (I am asking for a friend of mine.)
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] Increasing the disk size of a VM

Post by socratis »

Jiger wrote:is there a similarly simple way to ... decrease the VM disk size
No, not really, you might lose data. What you could do is a little more convoluted (actually a lot), but it shouldn't be discussed here; it doesn't match the thread's title "Increasing the disk size of a VM", it's misleading. Open a new thread if you want to discuss this. I would suggest "Decreasing the disk size of a VM" as a meaningful title... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply