PCLinuxOS-Forums
Main
News
:
...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
May 23, 2012, 05:10:23 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Main
PCLinuxOS-Forums
>
Help
>
Virtual Machines
>
Resize a VBox vdi/vhd
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Resize a VBox vdi/vhd (Read 1749 times)
rick0612
Full Member
Offline
Posts: 231
The only dumb question is the one not asked.
Resize a VBox vdi/vhd
«
on:
December 08, 2011, 02:32:15 PM »
This procedure is for Windows but Linux commands are the same except for paths.
Quote from Virtualbox manual:
"This currently works only for expanding the capacity of VDI and VHD formats, and only for the dynamically allocated variants. For example, if you originally created a 10G disk which is now full, you can use the --resize 15360 command to add 5 GByte more space to the virtual disk without having to create a new image and copy all data from within a virtual machine."
!!!Remember to back up the data in your vdi before doing this!!!!!
To resize a *.vdi file in Virtualbox 4.x, run this command in Windows cmd.exe:
VBoxManage modifyhd /path/to/YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
example: VBoxManage modifyhd "C:/Users/Rick/VirtualBox VMs/LXDE/LXDE.vdi" --resize 20000
Note the quotes due to spaces in path name.
You may need the full path for VBoxManage.
e.g. "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"
Change path to whatever your file name is.
In this example the resize size is 20GB. (I resized a 10GB LXDE.vdi)
The process takes just a couple of seconds.
Once the resize is complete, you need to resize and/or move the partitions in the vdi. I found that Parted Magic worked great. Just download it then make the .iso the boot drive for your vm.
Hope this helps
Logged
Averatec 2573 /HP Envy 14
12.1" screen /14.5"
2.0GHZ /i5 processor
3GB RAM /6GB RAM
250GB HDD /650GB HDD
Minime 2010 Virtualbox client
rubentje1991
PCLinuxOS Tester
Hero Member
Offline
Posts: 2052
Rubenum Parvus MCMXCI
Re: Resize a VBox vdi/vhd
«
Reply #1 on:
December 08, 2011, 04:24:42 PM »
Thanks for all info....
=> can be useful somewhere in the future (and could already have been useful in the past)
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Website
-----------------------------
=> Usage Rules PLEASE READ
=> PCLinuxOS General News and Announcements
=> Site Suggestions
=> Welcome Center
-----------------------------
Help
-----------------------------
=> LiveCD, MyliveCD, LiveUSB and Remastering
=> Hard Drive Installation
=> Desktop Hardware
=> Laptop Hardware
=> Netbook Hardware
=> Networking
=> Software
=> Compiz-Fusion & Compiz
=> Virtual Machines
=> General
=> Tips and Tricks
=> LXDE
=> MiniMe/E17/Openbox
-----------------------------
Software
-----------------------------
=> Software Announcements
-----------------------------
3rd Party Support
-----------------------------
=> PCLOS Gnome
=> PCLinuxOS Phoenix (Xfce)
=> PCLinuxOS Magazine
=> Folding Team
-----------------------------
Fun
-----------------------------
=> Sandbox
=> Software Discussion
=> Hardware Discussion
=> Monthly Screenshots
=> Artwork & Theme Requests
=> Testimonials
-----------------------------
International
-----------------------------
=> Dutch
=> French
=> German
===> Tips and Tricks
=> Hebrew
=> Italian
=> Polish
===> How-to Section
=> Portuguese
=> Spanish
=> Scandinavian
-----------------------------
Developers Corner
-----------------------------
=> Advanced Users Section
===> Code Hackers
=> Packagers
===> Package Translations
Loading...