LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2012, 07:18 AM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Disk Space for VirtualBox Clients


I have been using Virtual Box for a couple of years to occasionally run a Windows XP client Virtual machine. Recently Windows has been very slow and issuing warnings that I am running out of room on C:.

Two questions in regard to this:
1. Will removing VBox Snapshots result in freeing up space and allowing C: to use more space ? (Seemed to do so when I removed one of the snapshots - there are a couple more I could remove).

2. Is there a method for increasing the size of the disk space allocated to the client VMs in Virtual Box?

Thanks for any suggestions.
 
Old 02-05-2012, 07:33 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Found this:
http://www.webupd8.org/2011/02/how-t...x-40-hard.html
 
Old 02-05-2012, 07:36 AM   #3
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
This question isn't really slackware related, is it?

Google didn't pop-up with only one answer, since there's been a lot of versions and options of Vbox around. Anyway, I would suggest to do it like you would when it was a real computer: Add a new big harddrive (virtually, thus not by using real screwdrivers, cables and a real disk, but through VirtualBox configuration), use some clone software like Acronis or Ghost to move the data/installation from one small-virtualdisk to the other bigger-virtualdisk, remove the smaller one from the virtual system, and there you are.

Smarter ways are probably available, but you'd have to read the Vbox Manual and stuff, which is available at Virtualbox.org ( https://www.virtualbox.org/manual/UserManual.html )
 
Old 02-05-2012, 07:51 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
From VboxManage --help output:
Code:
VBoxManage modifyhd         <uuid>|<filename>
                            [--type normal|writethrough|immutable|shareable|
                                    readonly|multiattach]
                            [--autoreset on|off]
                            [--compact]
                            [--resize <megabytes>|--resizebyte <bytes>]
The --resize option should be able to increase the size of your virtual HDD; you would then need to increase the size of the file system in exactly the same way as if it were a real computer. Assuming WXP is not natively able to grow its partitions and file systems, you would need to boot a partition and file system management tool in the VM, something like Boot IT Bare Metal.

A backup would be prudent but that is easy -- you simply make a copy of the .vdi file on the host.
 
Old 02-05-2012, 01:02 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Try compacting the virtual disk:

https://www.linuxquestions.org/quest...9/#post4452409
 
Old 02-06-2012, 01:39 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Woodsman View Post
AFAIK that technique works only on dynamically expanding virtual disks and does not change the size seen by the guest OS.
 
Old 02-06-2012, 02:03 PM   #7
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Wink Probably solved

Thanks to all who replied - looks like it's not so difficult, I just didn't find the answer within the various settings of the Virtual Machine, where I kind of expected to find it if it was simple. Some combination of the suggestions offered should do it. Complicated, I think, by the fact that I created the Virtual Machine in the first place using a pre-Version 4 VirtualBox whereas the utility referred to by some of these responses and links within them is a Version 4 utility I think.

Sorry to take up your time with stuff that is "not really Slackware related", but I usually find that Slackers are happy to help other Slackers here even when the Slackware system we are all running is not really the root of the problem.
 
Old 02-06-2012, 02:43 PM   #8
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I always start with the Slackers, and work down from there.

Starting from the top is always easier.

cheers,
 
Old 02-07-2012, 04:59 AM   #9
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
It's not to nag, just that there is a separate section ( http://www.linuxquestions.org/questi...ualization-90/ ) you might not have noticed.

Anyway: Upgrading to the last version of VBox isn't that hard. Maybe you must update the VBox tools inside your virtual machine before you can use the newer things that are available inside VBox 4 and not in the older VBox 3.x, but I only noticed slight changes in the CLI/GUI of Vbox and not inside the VirtualMachines them selves. Even without VBox tools installed you could/should be able to change most of the virtual-hardware configuration.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
Allocating fixed amount of disk space to the clients shishirkotkar Linux - Newbie 1 01-03-2008 09:44 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration