Difficulty trying to increase virtual disk size
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Difficulty trying to increase virtual disk size
My comment was addressed to the discussion, not to you specifically.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Difficulty trying to increase virtual disk size
ahhh, quoting me then saying "Get use to it" caused me some confusion.mpack wrote:My comment was addressed to the discussion, not to you specifically.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Difficulty trying to increase virtual disk size
I was adding to what you had said, not contradicting it.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Difficulty trying to increase virtual disk size
I understand. 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Difficulty trying to increase virtual disk size
I am having a problem as well. Ive increased the virtual disk size when i run vm it doesnt seem increased. What am I supposed to do. Please help
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Difficulty trying to increase virtual disk size
That question is covered in the FAQ. I suggest that you read it (carefully). Howto: Resize a Virtual Disk.
Re: Difficulty trying to increase virtual disk size
How do i do the second step can you explain it more easy to understand ?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Difficulty trying to increase virtual disk size
Without knowing what your guest OS is, no I cannot be much more precise.
VirtualBox is effectively a hardware simulator. If you follow step 1 of the FAQ then the hardware of your drive will be replaced with hardware that has a higher capacity. On a physical PC this is equivalent to replacing your hard disk and then "restoring" a disk image onto it.
However, the guest OS image is already installed, it has already previously been told what portion of the the drive (partition) it is supposed to use, and while it will "see" the additional space, it will not automatically use that space. Therefore you need a tool which extends the guest-OS-managed partition to "cover" the additional space. Such a tool is called a partition manager. It must be specific to the guest OS and filesystem installed, which is why this can't be done by VirtualBox. Some guest OS's come bundled with a standard partition manager tool (e.g. Win7 has "DiskPart"), in other cases you can download and boot the VM using the GParted live CD ISO as suggested in step 2. GParted is easy to use and supports most common guest filesystems.
And I hope you noted that part of the FAQ which told you that none of this will work if your VM uses snapshots, or uses a virtual container format other than dynamic VDI or dynamic VHD.
VirtualBox is effectively a hardware simulator. If you follow step 1 of the FAQ then the hardware of your drive will be replaced with hardware that has a higher capacity. On a physical PC this is equivalent to replacing your hard disk and then "restoring" a disk image onto it.
However, the guest OS image is already installed, it has already previously been told what portion of the the drive (partition) it is supposed to use, and while it will "see" the additional space, it will not automatically use that space. Therefore you need a tool which extends the guest-OS-managed partition to "cover" the additional space. Such a tool is called a partition manager. It must be specific to the guest OS and filesystem installed, which is why this can't be done by VirtualBox. Some guest OS's come bundled with a standard partition manager tool (e.g. Win7 has "DiskPart"), in other cases you can download and boot the VM using the GParted live CD ISO as suggested in step 2. GParted is easy to use and supports most common guest filesystems.
And I hope you noted that part of the FAQ which told you that none of this will work if your VM uses snapshots, or uses a virtual container format other than dynamic VDI or dynamic VHD.
Re: Difficulty trying to increase virtual disk size
does the gparted have to be on my pc or the virtual machine
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Difficulty trying to increase virtual disk size
The Virtual Machine. That's the one that you're trying to increase its partition after all...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Difficulty trying to increase virtual disk size
just to clarify things hopefully. You download the GParted .iso to your host. You then attach it to your guest in the storage settings in the CD/DVD controller. You then start the guest, gparted will start. Hopefully it is self-explanatory from there.bugrakyuz wrote:does the gparted have to be on my pc or the virtual machine
If you are using a Windows 7 or above you don't need gparted at all. You can just use the disk management feature while in the guest.
You should make a backup of the .vdi file before you do anything in case something goes wrong.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.