Is it possible to split VirtualBox Hard Drive to multiple volumes?

13,718

Solution 1

Yes it is possible, though you need to use the VMDK disk format.

VBoxManage clonehd disk.vdi disk.vmdk --format VMDK --variant Split2G

This will create disk.vmdk (text file) along with a number of disk-sXXX.vmdk (data files). You should point your virtual machine to use the disk.vmdk file.

Solution 2

Just an idea, what if you used the command:

vboxmanage clonehd hd1.vdi hd2.vmdk --format VMDK --variant Split2G --type normal --remember
Share:
13,718

Related videos on Youtube

Richard Sayakanit
Author by

Richard Sayakanit

To help over 50,000 students in PA to have equal opportunities in their education, Richard Sayakanit designed and created a whole set of back-end SQL Server databases including tables,views, stored procedures, and so on; front-end applications; and 100+ reports in the area of enrollment, logistic and financing.

Updated on September 18, 2022

Comments

  • Richard Sayakanit
    Richard Sayakanit almost 2 years

    VirtualBox hard drive usually has one or a few files when you create a drive. I think it is good because you manage only a few files. However, I have out of space of my drive. Is it possible to span over other volume like in VM player?

    • Sam
      Sam over 5 years
      Useful for transferring files between windows and linux using a standard (FAT32) USB stick
  • user626528
    user626528 almost 8 years
    Nice one. But the options "--type normal --remember" aren't recognized.
  • PPC
    PPC about 5 years
    According to forums.virtualbox.org/viewtopic.php?f=6&t=77767 , this works but you need to relink the newly created disk because it changed UUID. Not tested yet