Is there a way to increase the VDI size in VirtualBox on Fedora 9?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Is there a way to increase the VDI size in VirtualBox on Fedora 9?
Hello everyone!
After much trial and errors, I finally got VirtualBox running on my Fedora 9 machine.
I installed Windows Vista as guest on my Fedora 9 host machine. However, I've run into a small little problem. Is there any way I can increase the disk size of my guest machine? I don't know what I was thinking! I didn't plan ahead. I only assigned 15GB to the guest machine and, of course, I'm running out of disk space on the guest machine. Please help me out! I really appreciate all of your time and cooperation.
congrats for installing VBox, it took me a while but the benefits are worth it, especially if you are on a shoebox. Maybe the problem is likely to be with fed9 than VBox.Not had a problem with expanding the view but it remains on a smaller window. Could be a result of insufficient amount of ram.Ditch vista it's a waste of space.Not sure of your sizes. It only takes 10mg to load yp so where does 15gb come from?
Roy.
Last edited by Fred Caro; 09-10-2008 at 08:42 AM.
Reason: mistakes
Yeah, I think you're right. It could be a compatability issue between VTB and FC 9.
Anyways, I said 15GB because the Vista install (guest OS) required there be at least 11GB of free space in order to Install a fresh new copy of Vista. So I figured, since Vista is not going to be my primary OS, I'll just add 4 more GB's. So, I made the total size 15GB. But now, I'm realizing that I need more diskspace in my Vista. I've already installed several programs on my Vista OS, and it took my quiet some time to get it running perfectly. My only question now is - how do I increase the disk size of my guest OS in VTB?
As far as I'm aware, you can't increase the size of a virtual disk.
What I tend to do is just make a new virtual disk, and add is as a slave drive, then format and mount it in Windows and use that to install new programs, move data to etc. It becomes an extension of the other disk. You can also mount the new slave disk to a folder in an NTFS system, so you could replace your entire Program Files with that disk, if you wanted to.
Create a new virtual disk
Open VirtualBox, go to File > Virtual Disk Manager. In the Hard Disks tab, click the New button. Follow the instructions, choose a suitable name, size and type (dynamic's probably best) for your extra storage, click Finish. You should now see a new disk in the Hard Disks tab.
Add the new virtual disk to Vista's virtual machine
Exit the Virtual Disk Manager (OK). Then highglight the Vista virtual machine, click on Settings, and select Hard Disks from the options on the left. Click the Add Attachment button (button on the right of a little stack of CDs with a green + on it). It should automatically add your newly created disk. If it doesn't, select it from the drop down list.
Start Vista
Click OK to close the Vista settings. Then click start to Launch your Vista virtual machine.
Log in to Vista
Vista should recognise the new hardware (VBOX HARDDISK ATA Device) and install the new drivers for it. Then, click Start and right click on Computer, and select Manage. Click on the Disk Management section on the left. It'll ask you to initialise the new disk. Do so.
Initialise the new partition
You should now have three separate disks (C:\, the new disk, and your CD/DVD drive D:\). Select the new disk's block, right click on it, and select New Simple Volume. Click Next, leave the default size as is, click Next. The next screen allows you to mount the new drive to an existing folder (you can make it from the Browse dialog). Select your folder, click Next. Format the new partition with NTFS (probably easiest), give it a funky volume label if you're feeling carefree, tick the box that says perform a quick format.
That's it.
You should now have an extra bunch of storage space in that folder you mounted the disk to.
Mounting the slave disk as Program Files first requires you to mount it as described above, and then copy the contents of the current Program Files to the new slave disk, and then delete the contents of Program Files (but not the directory), and the remount the new slave disk to the now empty Program Files directory. Note: I have not tested this, so can't confirm if Vista will allow you to delete the contents of Program Files. You may have to do this part in Safe Mode.
Dude, you're awesome! Your instructions were very clear and helpful. I appreciate you very much for taking the time to explain this to me. I was able to add the extra hard drive per your instructions. Now, I don't have to worry about running out of space. Again, thank you and hope we chat again soon!!! :-)
I was searching for how to do this myself and reading these old posts gave me an idea how it might be done simpler. Did you think folks stopped having this problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.