2
I'm very new to VirtualBox. I set up an Arch Linux VM and a Ubuntu VM (Ubuntu host), both sharing the same .vdi like so (I had in my mind a dual-boot situation):
VDI file (25GB)
|- /dev/sda1: 5GB (Arch Linux)
|- /dev/sda2: [Ubuntu]
|- /dev/sda5 (swap, 1GB)
|- /dev/sda6 Ubuntu /, 9GB
|- /dev/sda7 Ubuntu /home, 10GB
I've now realised that I don't want a dual-boot-type setup, I'd rather boot each machine independently (my initial thought was to share /home
between Ubunto and Arch).
So, my question: Can I split /dev/sda1 and /dev/sda2 each to their own .vdi files so I can use them as completely separate machines? I'd rather not have to re-install either Arch (because it took me ages to work it out!) or Ubuntu (because I've already done a few GB of updates and don't want to redo them).
I haven't been able to find anything about this - most questions I see are about converting a .vdi to a partition on the host, or splitting a .vdi into multiple smaller files (that are not independent), or converting a partition on the host to a .vdi file.
cheers.
Thanks - I ended up finding a roundabout/simliar way to do it through VirtualBox – mathematical.coffee – 2012-09-04T03:35:13.880