[SOLVED] virtualbox on slackware - I need more space!
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.
I have installed Windows 7 in a Virtualbox on my Slackware system. I used mostly default options, including the space-dynamic hard drive. I interpret that option to mean that my vbox hard drive will grow as more space is required. Only, it doesn't. I just tried to install Sims 3 on it, and the game complained that I didn't have enough space. Should I just attach a second drive and hope for the best? I've got the space on my physical hard drive. I guess I'm looking for a little guidance on how to make my vbox dynamic-space drive do it's job...
I installed a second fixed-size (25GB) onto my Windows 7 VM, but when I loaded Windows, I don't see the drive. Where is it? Windows said that it finished installing necessary drivers for my new device, but not what it is or where it is. The message went away too quickly for me to investigate further...
You want a pass through disk, not a dynamic disk.
The dynamic disk only allocates what is used so it starts small and grows only as needed, up to its maximum size.
Passthrough disk isn't a specialized format, in certain use cases it can be slower however your entire hard drive is available to it so it will grow right up until disaster strikes...
Be advised
RE: The second disk, when you look a the virtualbox gui you're seeing it as an installed device and when you're looking at the windows device manager you're not seeing it as a mounted device?
The Virtual Box dynamic virtual hard drive will expand until it reaches the maximum size set when the settings for a particular VM were configured. VB's default settings for drive size tend to be rather small if you wish actually to use the VM to do actual computing.
A web search for "increase virtualbox dynamic hard drive size" will turn up a number of articles about how to resize the drive, but be warned that it's a tricky process and any crucial data you might have in that VM should be backed up outside of the VM.
It might be easier simply to recreate the VM with a large maximum HDD size. I normally
I'm using the michael account for virtualbox access, but the actual files are outside of /home/michael. There are symbolic links inside /home/michael that point to the main filesystem (michael owns the directories where the actual VM files are as well,) as there is more room out there and I don't want to have to work with huge files in my daily backups.
Last edited by maschelsea; 02-16-2017 at 07:55 PM.
in the Windows guest, I believe you'll have to run Manage Disks or some such or look for a "Found new hardware" OSD, I'd expect
and proceed from there. It is not "auto-magic" and it won't just show up as "new space", if it's Dynamic.
but the new drive/volume should fire a notification on screen ("OSD").
Can't do squat 'til Windows "sees it".
michael@caitlyn ~ $ VBoxManage modifyhd VirtualBox\ VMs/Windows\ 7/Windows\ 7.vdi --resize 5000
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize medium operation for this format is not implemented yet!
The status "locked write" should really read "created". You'll need to look at that, although I see from some examples on the web that sometimes no action is required.
But, more important than that, "Failed to lock media when compacting": why are you trying to reduce the size of the VDI from 25600MB to 5000MB? I thought that you wanted to expand it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.