Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I am using Ubuntu 11.10 as main operating system.
On Virtualbox machine, i have installed several operating system.
I will explain by an example:
Hard disk size = 100 GB.
4 operating system installed on virtualbox:OS1,OS2,OS3,OS4.
The hard disk size for each installed operating system is 10 GB.
Now, if i want to remove totaly OS2 and OS4, first thing to do is to delete them from my virtualbox, but the problem i think is that i format the two 10 GB (out of 100 GB) to install OS2 and OS4 them on each 10 GB.
So my question is how to remove the partition used for OS2 and for OS4 from my hard disk.
I just used Gpartition but didnt success.
Anyone can advise please?
Cheers
if I understand correctly you just want to delete the disk images or vdi files for your virtual machines (these are not real partitions). Is that correct? AFAIK, by default these will be under ~/.VirtualBox/Machines/*/*.vdi
try posting under linux virtualization you might get absolute answers, but if the partition you're trying to remove you created under virtual box just delete the vdi file as evo2 suggested.
partition created in virtual box is just a virtual partition as well, it won't appear if you use gpartition.
Thanks guys for your quick replies.
If it is enough just to delete the *.vdi will be very good.
If they are separate VMs that you created, then they are not on partitions. They use their own separate virtual disks.
If you created one VM in VirtualBox and dual-booted it (just like you would install multiple OSes on a real computer), they they are probably on partitions of the same virtual disk.
If they are separate VMs that you created, then they are not on partitions. They use their own separate virtual disks.
If you created one VM in VirtualBox and dual-booted it (just like you would install multiple OSes on a real computer), they they are probably on partitions of the same virtual disk.
I am sorry MTK358, but didn't understand well cause i don't have good experience in these.
"If they are separate VMs that you created" : i am not sure if i am answering correctly but i have installed the OS's on one Oracle VM VirtualBox and all OS's are separated from each other.
"If you created one VM in VirtualBox and dual-booted it" also not sure if i will reply correctly but you mean for example if i we took OSa, then on the same OSa i have installed another operating system OSb, so when i start the system, it will ask me what you want to choose OSa or OSb?
i am sorry man but i am not so familiar with these.
I am sorry MTK358, but didn't understand well cause i don't have good experience in these.
"If they are separate VMs that you created" : i am not sure if i am answering correctly but i have installed the OS's on one Oracle VM VirtualBox and all OS's are separated from each other.
Correct.
Quote:
Originally Posted by lee_can
"If you created one VM in VirtualBox and dual-booted it" also not sure if i will reply correctly but you mean for example if i we took OSa, then on the same OSa i have installed another operating system OSb, so when i start the system, it will ask me what you want to choose OSa or OSb?
Correct, just like on a dual-booted physical machine.
This means that what you wanted to do when you posted the thread actually had nothing to do with partitions, instead you want to delete the virtual machines.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.