LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-14-2011, 12:49 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Expand WinXP Disk Size


I'm running WinXP as a guest in VirtualBox-4.1.6-74727-Linux_amd64 installed in Slackware 13.37 64-bit. It works fine (well, as fine as XP is actually capable of working if you know what I mean) but I've run out of allocated disk space (10G) and need to expand that to 15G or so and I don't know how to do that.

It was dirt easy in Win7 but I haven't been able to find a guide that's anywhere near current anywhere about doing it with XP -- I do have gobs of disk space available (anywhere between 50G and 150G) if that makes it easier to export and then import to a large space but I'd appreciate thoughts about the best practice to increase XP disk space.
 
Old 12-14-2011, 01:22 PM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
One quick and dirty solution is to create a new hd image and attach it to your vm.
 
Old 12-14-2011, 02:04 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Quote:
Originally Posted by JimBrewster View Post
One quick and dirty solution is to create a new hd image and attach it to your vm.
Uh, thanks, but I'm not so sure what that means -- I have a mounted partition, /var/lib/virtual, with 58G available (that's where all virtual machines live) and, to be honest, I don't diddlysquat about Windows (I do try to avoid it as much as possible, but there are a couple of things I use every so often for which there are no Linux analogues, dang it); do I use cfdisk or something to create a NTFS "disk" of some sort of, say, 5G and somehow or other connect that to XP?

Sorry to be so dense, but I really don't have a clue.
 
Old 12-14-2011, 02:30 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Start Virtualbox and open the Storage page in the settings of your XP VM. Select your harddisk controller and click on the "Add Hard Disk" icon behind it. Click on "Create new disk" and go through the wizard to create a new harddisk and attach it to your XP VM. If you now boot that XP VM you will find the second harddisk in XP's partition manager. Just create a partition on it and format it, it will show up in your Explorer after that.
 
1 members found this post helpful.
Old 12-15-2011, 07:38 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Thanks, TobiSGD. I wound up with a partition (F), moved a bunch of stuff there and freed up space.

Would have been nice if XP could be extended (like Win7 can) but there's all this stuff about MBR and other things, alas.

Gonna kill the thing pretty soon anyway so all is well that ends.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to expand disk in Linux JALITE Linux - Newbie 6 04-15-2014 04:19 PM
I created my VM machine with to little disk space HOW DO YOU EXPAND bigcape Linux - Virtualization and Cloud 1 03-15-2011 11:30 PM
Expand disk space in VMware ESXI VM Antonio85 Linux - Virtualization and Cloud 2 08-25-2010 01:10 AM
How to expand disk space cghcgh Linux - Newbie 7 07-08-2008 09:09 AM
expand root partition to occupy whole disk JohnGalt007 Linux - Software 4 01-09-2007 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:25 PM.

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