convertxtodvd_logo

ConvertXtoDVD

VSO ConvertXtoDVD is considered to be one of the best Video converters. It combines high speeds, high quality and many options for your personalized DVD menus.

ConvertXtoDVD guide
Free Download ConvertXtoDVD

Linux Books

Of course the Internet along with the help of Google is a great source of information. You can answer almost any question you have about Linux and find many tutorials, guides and help. However many people prefer reading this information on a printed book accesssible even when they are not online or don't have a computer in front of them. I've received many e-mails asking me to propose them a few good books regarding Linux commands, administration and for specific distributions such as Ubuntu, Fedora etc. So, I've search for a few good books. Here they are. Happy reading!

Linux Books

Ubuntu guides

Ubuntu is a free Operating System based on Debian GNU/Linux. It has been rated as the most popular Linux distribution amongst Linux users according to Distrowatch. As it happens every six months a new version of Ubuntu has been released. Ubuntu 10.04 Lucid Lynx is here! Below you can find some helpful tutorials for old and new users!

Ubuntu 10.04 Lucid Lynx Post Installation Guide
Ubuntu 9.10 Karmic Koala Post Installation Guide
Ubuntu 9.04 Jaunty Jackalope Post Installation Guide
How to install Ubuntu Linux on Windows using VirtualBox

Fedora 12 Installation Guide

Fedora 12, codenamed Constantine, is released! Just for the info, Fedora is an RPM based Linux Distribution, an Operating system in other words, developed by the community supported Fedora Project and sponsored by Red Hat. Fedora contains only free and Open Source software. Some of Fedora's 12 new features are Gnome 2.28, KDE 4.3, better web cam support!, and many others.

Fedora 12 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide in Chinese

virtualbox.jpgVirtualBox is a cross platform full virtualizer for x86 hardware. It runs on Windows, Linux, Macintosh and OpenSolaris hosts and supports a large number of guest operating systems such as Windows, Linux and OpenBSD. In a previous guide I have shown you How to install Ubuntu Linux on Windows using VirtualBox . The procedure is the same if you want to install Windows on Linux. The guest operating system is installed on a virtual disk created by VirtualBox which is nothing more than a single .vdi file. When you first create the virtual machine you must set a certain size for this disk. However after playing with VirtualBox you might realize you need more space because your virtual disk is full So, in this tutorial I will explain how to enlarge an existing virtual disk or in other words how to resize your virtualbox vdi. I have a Windows XP installation running on Linux and specifically Archlinux and I am going to create a larger disk for Windows XP.

**Note: The same procedure works for Windows Vista also. The only difference is that you have to use your original Vista installation CD for Bootmgr repair the first time the system is started after the GPARTED steps have been followed. (Thanks to Andrew)

Run VirtualBox and go to File -> Disk Manager.



Here as you can see I have a .vdi disk with a size of 10GB (1) which is almost full. So press the New button (2) to create a new virtual disk.



Click next to go to the next page of the New Virtual Disk Wizard.

3.jpg

Select Dynamically expanding image as Image type and click next.

4.jpg

Select a name for the new image (1), this should be different than the existing one, and also set the size of the new disk (2). Here I've set it to 20GB.

5.jpg

Press Finish to end the wizard.

6.jpg

Now you should have 2 .vdi images in the Virtual Disk Manager. Click Ok to close the wizard.



Here we are gonna need GParted to copy the data of our old disk to the new one. GParted is the Gnome Partition Editor application for creating, destroying, resizing, moving, checking and copying partitions, and the file systems on them. It has a LiveCD which you must download from here . You don't have to burn it on a cd, just store the .iso somewhere in you hard disk.

Now select the existin Windows XP installation (1) and click on the Settings button (2).



In the General -> Advanced tab set CD/DVD Rom as the first boot device.



In the Hard Disks settings double click below your IDE Primary Master and set IDE Primary Slave and the new Virtual Hard Disk image.



In the CD/DVD-ROM settings click on Mount CD/DVD Drive (1), choose ISO Image File (2) and use the folder button to browse to the location you have saved the gparted live cd (3).



Now click the Ok button and start the Windows XP Virtual Machine. Press Enter to boot GParted Live with Default Settings.



Don't touch keymap should be fine. Again press Enter.



Select the Language you prefer. Press Enter for English. And again press Enter for the default video card settings.



GParted will automatically scan your virtual disks. /dev/hda should be the old one and /dev/hdb the new one. Right click on your first disk and select Copy.



Next select /dev/hdb from the drop down menu (1), right click on the unallocated space and select Paste (2).



Drag the right edge (1) like you see in the screenshot so as not to leave any unallocated space in the new disk. Next click the Paste button.



Now press Apply to apply the changes.



When all listed operations are applied click the Close button. Again right click on the new partition /dev/hdb and click Manage flags. Here you should tick the boot flag.



Gparted will scan all devices once more. When it's done close the program and shutdown the live cd from the exit button. It will prompt you to press Enter. Now return to the VirtualBox application, select the Windows XP virtual machine and click the settings button. In the General -> Advanced tab select Hard Disk as the first boot device.



In the Hard Disk settings use the delete button (1) to remove the IDE Primary Slave, leave just IDE Primary Master (2), and select the new .vdi (3).



In the CD/DVD-ROM settings tick the Host CD/DVD Drive.



Press the Ok button and start your Windows XP virtual machine. Windows might ask to check their filesystem. Just let them do it.



After they automatically reboot you will log into your new resized virtualbox disk without having lost any of your data. You can now just delete the old .vdi. Enjoy!



Please do not use the comment function to ask for help! If you need help, please use our guides forum .


Add this page to your favorite Social Bookmarking websites

Trackback(0)

TrackBack URI for this entry

Comments (131)

Subscribe to this comment's feed
Great Help
Thanks !
Everything is fully detailled. No place for any error.
Nassim Bennouna , November 18, 2008
Thanx
Thank you for the time and effort you put into this - surely saved me hours of trouble...
Joseph , November 19, 2008
recommendation
I fell in 2 problems:

1. BSOD: due to improper IDE Controller Type ( in Advanced Setup). I don´t know why it changed.

2. not correct NTFS Journal in source system disk.
I recommend to use ntfsfix /dev/sdxx as the first step in the procedure.

Hope it helps
Jin , December 04, 2008
...
Thank you, thank you and thank you! I started to use virtualbox last week and as everything was finally working, I got a nice message smilies/angry.gif as I was running out of space smilies/sad.gif. I was looking for an answer. Not only you gave the answer I was looking for, but it was so clear and well explained that I could not go wrong. Thank's again for your wisdom. You are a genius.

Have a great day! smilies/cool.gif

I don't have a place to rate my vote, but you got 11 out of 10!
JRP , December 12, 2008
Doesn't work for me....

I'm using VirtualBox on Windows with Fedora 10 as the guest OS.
I have a .vdi file for my virtual machine that is 8gb in size and I want to make it 40gb so I create another vdi file and attach it. I then boot up in gparted live cd and I can see both hda and hdb.

In the Fedora guest OS, if I do fdisk -l /dev/hda I see that I have /dev/hda1 LINUX and /dev/hda2 LINUX LVM partitions. I didn't specifically create it this way, this is the way it came out from the standard Fedora 10 install.

After I copy hda to hdab I end up with /dev/hdb1 and /dev/hdb2. hdb1 is ext3 format boot partition and hdb2 is unknown to gparted. The resize button is greyed out for hdb2 so you cannot resize it no matter what you do. I can resize the /dev/hdb1 partition if I want, but that is the boot partition and I need to resize /dev/hdb2 and it will not. Is this because it is a linux lvm?

Any ideas?


Enzo , December 19, 2008
...
Yes, this must be because of the LVM (logical Volume Manager) that Fedora uses by default to manage disk drives.

No ideas for now. I will take a look though and get back if I find something.
axel , December 19, 2008
Cheers
Just used the above procedure to resize a win 2003 server machine. Your solution worked ok for me, however i did have to use the ntfsfix to get it to grow the disk (resize) correctly.
kieran.tv , December 27, 2008
...
Thanks!
That's answer I looking for.
anton nugroho , January 13, 2009
Beautiful!
I installed a virtual vista machine on my Ubuntu host and originally set the vista drive too big and not dynamic. I created a dynamic drive, copied everything over and rebooted vista with the second drive. Vista was not happy about it, and demanded that I insert my install disk. After a few hoops and reboots I was back in business! Thanks so much.
2cynykyl , January 19, 2009
...
Thanks guys for your replies and the feedback! smilies/cheesy.gif
axel , January 19, 2009
Just was i was looking for
Just wanna say thanks. One of the best explained and most detailed responses I have seen. Its in my favorites smilies/wink.gif

Morten , January 22, 2009
...
You are very welcome! smilies/cheesy.gif
axel , January 23, 2009
...
Axel,

your tutorial is amazing ! Thank you very much.

I did the above for a Windows 7 installation. When I booted from the new partition, I got:

Bootmgr missing
Press Ctrl-Alt-Del to reboot

I then restarted from the Windows 7 install ISO and choose
repair. I got a repair message, no options, choosed it.

Still by booting I got the Bootmgr missing message again.

So I rebboted from the install ISO, choose repair and
this time got several repair options.

Choosed 'repair startup'.

And then it worked !

Hope it helps
Mektub , January 25, 2009
...
Thanks for the info Mektub!

In Windows XP I didn't face any problem with the boot process. But as I can see Windows Server 2003, Windows Vista and Windows 7 have a few problems that can be easily fixed with the repair from their installation cds. Thanks everyone!
axel , January 26, 2009
...
I am having the problem that despite seemingly following the tutorial closely, the Virtual Machine boots right into Windows rather than opening up gparted. Any ideas about what I might be doing wrong?
Thanks, Annette
Annette , February 13, 2009
...
Hey Annette,

In Settings -> General tab you haven't selected CD/DVD to be the first boot device.
axel , February 13, 2009
final success
Axel was of course right. I'd done something stupid. But then I ran into another problem. Thought I'd share the solution here, in case others encounter something similar. The resized VDI would not boot (don't have the specific error handy). I found Tha-Dogg's helpful solution here: http://forums.virtualbox.org/viewtopic.php?t=6627, which involves a small change to the boot configuration. Now all is peachy. (Just be sure to follow instructions carefully -- attach the new vdi as "primary slave" to the old functioning vdi ("primary master") before doing anything else. Hope this saves someone some extra googling!
Annette , February 19, 2009
...
Hi Annete,
I am glad you finally made it. Thanks for the extra info. smilies/smiley.gif
axel , February 20, 2009
...
This was extremely helpful, worked like a charm using VirtualBox 2.1.4 and gparted-live-0.4.1-2.iso. Thanks!!!
nerdyrob , February 20, 2009
Best Walkthrough on this subject anywhere!
So of course I went to the virtualbox site first, yea not alot of help, then I googled it for a few links, and found this one. Hands down the BEST walkthrough on this subject, and I just finished following it and it worked a treat! Windows didn't even ask me to check the disk.

I need my virtualbox to run photoshop in and without it I'd be lost as I do alot of web graphics for clients and well, I ran out of room!

Many Thanks!
XtCrAvE - twistedpair.mobi
XtCrAvE , March 07, 2009
...
Hehe! You are very welcome XtCrAvE! I was also searching for a way to resize my virtualbox disk but couldn't find something good. So I thought why not writing down my own. smilies/smiley.gif
axel , March 07, 2009
Brilliant
Like others i was delighted i got my Virtualbox up and running but then saw i was running out of space! All other suggestions were not good (starting another partition) untill i cam across this guide! Fantastic mate! Really really appreciate the hard work and effort you put in to helping others! It was so easy to follow your step by step guide and hopefully soon, when it finishes operations, i will have more space on my XP to install Football Manager 2009 lol! Thanks once again mate!!
Ben Westing , March 11, 2009
...
Thanks Ben Westing! Enjoy Football Manager! smilies/cheesy.gif
axel , March 11, 2009
Thank you!
Great guide--I ran it almost completely without a hitch. The only problem was that my mouse wouldn't work inside the guest gparted, but using alt-key combinations took care of that. Thank you again for your work--it was very helpful!
dirtprof , April 17, 2009
...
Thank you dirtprof! smilies/cheesy.gif
axel , April 20, 2009
Close disk space
It seens to be a problem for gparted to copy when the 2 disks have similar capacities. Haven't test this to the limit, but maybe someone will have the same problem and i thought of warn.
Btw, ty for the very good guide.
Ricardo , May 07, 2009
...
Thanks for mentioning this Ricardo. It might be useful for someone. You are very welcome! smilies/cheesy.gif
axel , May 07, 2009
...
Fantastic guide - worked first time and saved me heaps of time! smilies/grin.gif
Nathan , May 08, 2009
Great!
Thank you for this guide... no way anyone can mess this up...
Victor Garcia , May 15, 2009
...
Thank you guys! smilies/cheesy.gif
axel , May 16, 2009
Thank You
Thank you this solved my problem with my fixed drive running out of space. Other methods were rather complex and this was easy and logical to follow.
Danie , May 19, 2009
Vista Addition Section
You may want to put an asterisk for Vista users - they will have to use their original Vista install CD for Bootmgr repair the first time the system is started after the GPARTED steps have been followed.

Otherwise - a great guide and easy to follow. THanks.
Andrew , May 22, 2009
...
Thank you for the heads up Andrew! I added your info to the guide. Now its Vista compatible. smilies/cheesy.gif
axel , May 22, 2009
Restore GRUB
Hi, I have Ubuntu as my guest system on a Mac. This tip helped to restore the boot menu back to normal:
http://www.sorgonet.com/linux/grubrestore/
(Read section "HOWTO Restore GRUB")
Zettt , May 24, 2009
...
Thanks for the link Zettt. You are right. If you have a Linux guest system you must restore grub afterwards. smilies/smiley.gif
axel , May 25, 2009
...
Awesome, thanks very much.
Rich Somerfield , June 11, 2009
Great guide, helpful comments
Thanks a lot for this perfect howto!

Only one problem occured: When booting from the new vdi, I got an error message like "hard disk read error, press ctrl+alt+del to reboot". But this could be fixed with Anettes tip from February 19, 2009 and the link to http://forums.virtualbox.org/viewtopic.php?t=6627

Again: thanks a lot!
Robert Seetzen , June 22, 2009
...
Thanks for the information and the link Robert. smilies/cheesy.gif
axel , June 23, 2009
Just...
Just great!!! Thank you~ smilies/grin.gif
cmoh1110 , July 02, 2009
sweet
you saved my ass. thanks!
ah , July 08, 2009
xp host with ubuntu guest
I would like to see a similar step-by-step with the host/guest reversed. I too am at the mercy of computationally intensive Windows-only applications.
rsz , July 14, 2009
...
Wow. Perfect! Thanks so much for taking the time to post this procedure!
Doug Simmons , July 14, 2009
xp host with ubuntu guest
Nevermind. I pieced together this recipe from a VirtualBox forum and it worked great and only took a few minutes. I went from an 8GB ubuntu guest on a XP host to a new 16GB ubuntu vdi guest. Here's what I did (adapted from http://forums.virtualbox.org/v...4&start=30):

1. Create 2nd larger size .vdi hard drive image.
2. Set as slave in specified Virtualbox.
3. Download and mount ISO for Clonezilla.
4. Make sure boot order is set to Cd-Rom before hard drive. Boot Virtualbox.
5. Follow Clonezilla prompts to copy old hard drive (/dev/sda) to new hard drive (/dev/sdb).
Disk-to-disk, local-to-local, expert mode -r, -k1.
6. When done, set new hard drive image as master in Virtualbox.
8. Format, and set as slave or delete 1st hard drive image.
rsz , July 14, 2009
...
Nice rsz! You found the solution before I even read your first comment. smilies/smiley.gif

Thank you Doug. You are welcome!
axel , July 15, 2009
...
I get a black screen after booting from the new virtual disk... It does not boot at all.
Jiak , July 16, 2009
gparted live cd
From where i get the gparted live cd
i download it from a site but i dont know how it install or use ?
i dont see any iso file in the downloaded folder
please help

sareeshmnair@gmail.com
sareesh , July 21, 2009
...
Jiak I believe you will find the answer you are looking for in the comments above. smilies/wink.gif

sareesh here is a link to download an iso file. http://sourceforge.net/projects/gparted/files/
axel , July 24, 2009
Thanks
Thanks, worked like a charm!
gren , July 29, 2009
Works great!
Thanks much! Works as detailed, no missed steps. Great My-Guide-ster. Delivered as promised. A++++++++.
dpalme , July 30, 2009
great!
Axel, thanks for this information. It acknowledges that the Linux-community is a reliable one and (almost) every problem is solvable.
Nicky , August 11, 2009
...
Nice guide & comments. For me, the new vdi didn't boot correctly. It hung at the login screen before showing the user accounts. I finally got it to work with the following modifications to axel's guide (VirtualBox version 2.2.4, gparted version 0.4.6):

1) In gparted, copy old vdi partition and paste to new *without resizing* (leaving unallocated space on the new vdi).

2) Boot the new vdi (as IDE Master) to verify that it works.

3) Use gparted to grow the partition to fill the new vdi.

4) Boot the new vdi. XP will do a CHKDSK during the boot process (as described in the guide).

One mystery that may not be a general occurrence: XP "installed new hardware" after booting the new vdi (at both steps 2 and 4).


pnf , August 12, 2009
...
Thank you very much for the info and the additions pnf. smilies/smiley.gif

At some time I have to recheck this guide to make sure it works with the latest Virtualbox and gparted.

I am glad this guide has helped so many people!
axel , August 12, 2009
...
Hi I just followed this guide to resize my virtualbox and everything now works fine, except I don't seem to have network connections. Do I just need to configure my ip address once again or should it have worked regardless? Sorry if this is a very basic question..

thanks,
rjen , August 20, 2009
A disk read error occurred [next line] Press Ctrl+Alt+Del to restart
I've attempted this process numerous times and every time the boot to XP renders the following message on a black screen...

A disk read error occurred
Press Ctrl+Alt+Del to restart

I also noticed that the gparted process ends with errors. It appears to be fixable by running "ntfsfix /dev/" from a the term window. The "check" action says all is good, but XP still does not boot. Yes, it's flagged with "boot". smilies/smiley.gif

Oh well, it'd be faster to just load the OS onto a bigger VDI at this point. What a waste of time. Sadly, you'd thing resizing a disk would be an option in VirtualBox. Once again, nothing's free. Just marketing to get me to put down for the real features. heh.

~ Adam

Adam , August 22, 2009
Roorkee
Excellent howto
I just extended my VDI size by 5GB
Thanks x 1000 !!
Emmanuel , August 22, 2009
...
I can confirm that your instructions work perfectly for Windows Vista, too.
Thank you very much
Paul , August 26, 2009
...
worked like a charm smilies/smiley.gif
Thank you so very much..!
Marty , August 28, 2009
...
rjen,
yes you have to configure virtualbox settings for your network again.

Adam,
I'm sorry it didn't work for you. smilies/sad.gif

Thank you guys for your comments. I am glad it is working for you. smilies/smiley.gif

I also expect Virtualbox to add some autoresize feature though.
axel , August 31, 2009
...
Worked perfect. 5 stars for the faultless explanation too smilies/grin.gif smilies/grin.gif smilies/grin.gif smilies/grin.gif smilies/grin.gif

Cheers
Wayne , September 12, 2009
Yepp!
It worked like a champ smilies/grin.gif
- Windows 2003 Server virtual instance.
- Created a new vmdk disk with vmware-vdiskmanager -c -s 20Gb -a ide -t 0 'System.vmdk'. Attached via LSILogic driver.
- Used sysrescuecd instead, since Gparted live thought my disk (vmdk format) was 8 Tb when it was only 20 Gb. (sysrescuecd is better on recon scsi maybe?)
- After closing down Gparted, ran ntfsfix /dev/sd[x][n].
- Restarted machine with the newly created hard disk, watched chkdsk run automagically while smilies/grin.gif
- Took a sandwich in the kitchen, and went to bed with a smile!

Thank You!
Tuxor , September 17, 2009
Thanks
Just want to say thanks as the tutorial together with user remarks made me grow my disk just fine!
King , September 21, 2009
...
I also want to thank all users for posting here their experience on resizing a VirtualBox disk. Thank you guys!
axel , September 21, 2009
Windows XP Disk Fixed and Now Booting
Annette's tip worked for me as well with a Windows XP SP3 disk. Thanks for saving me a huge headache!!!
Jeff Mo , October 04, 2009
...
This made it so easy. Nice job! smilies/smiley.gif
Al , October 15, 2009
...
Thank you all!
axel , October 16, 2009
Nice and thanks
Thank you smilies/wink.gif smilies/smiley.gif
amir , October 17, 2009
Windows is not recognizing the increased space, it still thinks the drive is the original size. What now?
I had to use the Ubuntu LiveDVD for Gparted b/c the Gparted CD wouldn't work. After resizing the disk size in Ubuntu, Windows doesn't recognise the new size. It thinks it's still 10GB, not 50. Any suggestions?

Rob , October 24, 2009
...
Have you made the necessary changes in the Hard Disk Settings of VirtualBox as I mention in the guide?
axel , October 24, 2009
...
The disk I'm resizing doesn't have an operating system on it (yet) so I can't boot it up, and the the interface in my version of Virtualbox is different; but excepting for those discrepancies I tried to follow your instructions as closely as possible.
Rob , October 25, 2009
Nice Job!
You did a really nice job of documenting a 'scary' process. It worked perfectly. Well done.
Gary , October 27, 2009
Senior Software Engineer
working like a charm smilies/smiley.gif great post man...
Meena Fawzy , October 28, 2009
mounting an extra hard disk (ubuntu running on windows virtual box)
The steps are pretty much the same up to creating a new vdi hard-disk and clicking on the settings of the VM you want to run to add this new hard-disk. Then log into ubuntu VM and install gparted

> sudo aptitude install gparted

then using gparted, format the new hard disk, close gparted and then mount the new hard disk

> mount /dev/sdb1 /media/disk

and you have more space!
reayn , October 28, 2009
...
Thank you all for your comments. Thanks reayn for the info as well! smilies/smiley.gif
axel , October 29, 2009
thanks!
Worked like a charm. Thanks for writing it up!
jay , October 29, 2009
...
good tutorial, thanx!
kitsos , November 02, 2009
resizing ubuntu on vista64 host
Thank you very much for this incredibly detailed guide smilies/smiley.gif

I used it to resize a virtual hard disk with Ubuntu installed, and VirtualBox running on a Vista-64bit machine.

NOTE: After the steps above, when first running the virtualized Ubuntu, i had to reinstall grub (boot manager) by using the Ubuntu Live CD:
- boot the virtual hard disk with the Ubuntu Live CD
- check (for example with the gparted GUI) the name of the partition which will contain the grub
- reinstall grub on the right partition
- reboot from hard disk

Hope will help smilies/wink.gif
s3agull , November 05, 2009
...
Thanks for your comment s3agull. It will help for sure anyone trying to resize the virtualbox partition of its Linux distribution! smilies/smiley.gif
axel , November 07, 2009
...
Thanks for this guide! I encountered a few snags while growing a Windows XP machine, but ultimately got things to work:

At the end of the copy and resize, gparted complained that it couldn't resize the partition, since the filesystem was unclean. But after its display refreshed, it showed the new size anyway (but, as I later found out, this wasn't correct). I think this was because I had used VirtualBox's "Power off the machine" option instead of doing a proper ACPI shutdown.

I tried booting the new drive, but I got the same error as Robert Seetzen ("hard disk read error, press ctrl+alt+del to reboot"). I used Annette's link (February 19, 2009), which let me boot the drive successfully.

Once I had booted the new drive, it still showed the old size, despite gparted's claim to have resized it. This was, of course, because of the "filesystem unclean" error. So I started gparted again and resized the partition to the same size. And Windows finally saw the extra space.

Hope this helps someone else smilies/smiley.gif
Ankur Dave , November 25, 2009
...
Thank you for sharing this Dave. smilies/smiley.gif I also believe you faced this problem because of the Power off you did. But since you managed to successfully resize the partition everything is ok!
axel , November 26, 2009
One step is missing wit latest Gparted (0.4.8-6)
Hi, thanks a lot for the wonderful and complete setup, it worked like a charm!

One step is missing before copying the content, one has to define a partition type to the new vdi, and then you can paste it. Little correction, but just in case someone would be troubled :-)

cheers !
Dr_ST , December 05, 2009
Resizing an Ubuntu Guest VDI
rsv's post on July 14, 2009 worked perfectly for me. I used it to resize the VDI for an Ubuntu guest running on a Windows XP host. I doubled the size of the VDI, and the really sweet part is that the utilization of my root file system dropped from 95% to just 59%! smilies/wink.gif

Thanks, rsv!
BluesBrother , December 05, 2009
...
Thanks for the info about the changes on the latest Gparted (0.4.8-6) Dr_ST. smilies/smiley.gif

axel , December 05, 2009
...
Great piece of writing mate....keep up the good work smilies/smiley.gif
BhakthiL , December 11, 2009
...
A very informative and detailed howto, thanks very much, helped me!!
Scorn , December 15, 2009
WanderingTheWorld.com
Just like most of those commenting, a big thank you. Pictures tell a lot.

Enlarged a Windows XP guest from 10G to 20G on an OSX Snow Leopard host.
Jim , December 16, 2009
Thanks!
Thank you - worked a treat after a while of trying to achieve this.

A minor thing which might be worth mentioning for others. I don't know if it is always the case, but while carrying out the copy procedure in GParted, I nearly reset the machine thinking it had failed as there was no progress indication - just the bar moving back and forth but nothing else to indicate it was copying my 10GB of HDD...
DP , December 17, 2009
Worked perfectly
Worked like a charm for me with XP Pro... great that you put this out there.
Kenny , December 18, 2009
...
Thanks so much for your guide, minor differneces (new version of Virtualbox), but no head-scratchers! I didn't think of booting my VM with a liveCD...I should think of it as an actual computer sometimes, that may help smilies/smiley.gif Again, Thanks!
rob haag , December 18, 2009
Thanks!
A simple and effective solution! Thanks a lot!
June , April 17, 2010
OK :-)
Thanks for this detailed howto. Sadly enough there's no easier way to do it.smilies/cool.gif
Nudge , April 19, 2010
Good Work
The solution is simple and whell ilustrated.

Good work again
Silvio Mhula , April 19, 2010
Gparted only detected old HDD
I stuck at
Next select /dev/hdb from the drop down menu (1), right click on the unallocated space and select Paste (2).

My gparted just detected old vdi which the 10GB.

I am using
- gparted-live-0.5.2-8.iso
- virtual box 3.1.6
vzhen , April 21, 2010
Gparted only detected old HDD (FIXED)
In virtualbox 3.1.6 it will not display all the .vdi need to click the + button.

and click it to add your new .vdi

FIXED
vzhen , April 21, 2010
Very good
Thanks a lot for all the information.
It's work great for me.

Guy
Guy , April 22, 2010
...
Thank all of you for you comments guys! I'm glad you've managed to resize your VirutalBox disks! smilies/cheesy.gif
axel , April 24, 2010
Thanks!
Very, very helpful HowTo!

Thanks alot! smilies/smiley.gif
harry , April 29, 2010
Thank you very much.
Your guide helped me a lot!
Arkadi , May 06, 2010
Had to use ntfsresize --size 10G /dev/sda1 to get WindowsXP Pro guest on Ubuntu 9.10 ...
Had to use ntfsresize --size 10G /dev/sda1 to get WindowsXP Pro guest on Ubuntu 9.10 to get WindowsXP guest to see new disk size. Everything was the same in the procedure though.
madpenguin , May 15, 2010
Resize Fixed Hard drive on Virtualbox
Video tutorial:
http://www.youtube.com/watch?v=JGLZ9K1IjOQ

A nice vid stands for 10K words and 1K screenshots smilies/wink.gif

Share this link
Patrick , May 17, 2010
Mr.
I can't thank you enough. Worked like a charm!

I would rather a static step-by-step tutorial like this than a youtube video.
Dogma , May 21, 2010
windows vista as host, Fedora 12 as guest, used the same procedure but stuck with "no partition table found"
Thnaks for this detailed how-to.
I used it on a windows vista host, with fedora core 12 as guest and followed the procedure.but when the Gparted shows my harddisks, there is a !sign next to the new hard disk and when i try to paste from the old hard disk to newer one,it sais that "no partition table was found on the new hard disk and asks me to go to Device->create Partition Table.on that menu the default table type is ms-dos and there are some others. I don't know which one to choose.
and since the "rsz july 14 2009 comment" is not for a newbie like me, i can't follow it.
mitra , May 24, 2010
thank you!!
thank you very much!! it works!!
bululu , May 25, 2010
Good Article
I don't need install system and softwares again. Thanks you very much.smilies/smiley.gif
hsiang , May 27, 2010
Muchisimas gracias
Muchas gracias, excelente tutorial.

Thank you.
Cuitlahuac , May 29, 2010
Paste option is disabled
Hi,

For me the paste option is disabled why? help me!
Arun S.A.G , May 30, 2010
Thanks
Worked great. smilies/smiley.gif
Arend , May 31, 2010
Thank you
It worked like a charm. Thank you very much. smilies/wink.gif
Luis Milanese , June 02, 2010
thanks
it worked great, thanks for your time and effort.
lautaro , June 02, 2010
...
How can I share with VB?

My OS (Host) is Windows Vista
and my guest is Windows XP
Fernando FGT , June 06, 2010
EXCELENT!!!!
It worked just fine!
Thank you very much !!!

RCM
Robson , June 14, 2010
Very helpful tutorial
It's very complete and accurate...I followed it and worked perfectly on mi mac with VBox Windows XP.
Cheers,
ATA
Alexis , June 14, 2010
Excellent
Your process is certainly quicker and easier than creating a new Windows VM and installing everything from scratch. I will also note that I used slightly different versions of Virtualbox and Linux than your screen shots show...and even with 'interpretations' for the new versions, it still worked. Last, I will note that I just gave you $5 American. Thanks!
Dances with Microchips , June 27, 2010
Mac/Snow Leopard host, Windows 7 Prof guest?
Axel/All:

Well these instructions work with a Mac/Snow Leopard host and Windows 7 Prof guest? I'm using VB 3.2.4.r62467.

Do any of the instructions need changing for this configuration? Any additions or deletions of instructions?

Thought I'd check before I really mess things up....

Thanks everyone!
Eric Kestler , June 27, 2010
...
Thanks all of you for comments! I'm glad this guide still helps many people! Of course donations are always welcome. Thank you very much. smilies/smiley.gif

Eric, read this comment "Alexis , June 14, 2010". Although I don't have a Mac to test it on my own I believe you shouldn't have any problem.
axel , June 27, 2010
Great instructions
This is awesome! Thanks for the help!
Jonathan , June 30, 2010
Ubuntu guides
Great post. Thanks a lot for the useful guides.



Beach Holiday Guide


***********

Alyssa
Beach Holiday Guide , June 30, 2010
It works on Windows 7
The only difference is that instead of running a chkdsk directly when you reboot from your new Windows 7 disk, you will need to repair it using the windows 7 CD.

To do so, mount the Windows 7 CD and repair the installation. All it does is running a ChkDsk.

if you have got windows 7 on an iso image or alike, mount the image as a CD and make it bootable.

This procedure has been tested by myself on a iMac with Snow Leopard and VBOX release 3.2.6

Best regards for all.
José Luis Casado , July 06, 2010
thanks man
thanks man, it took just 10 min to resize my disk.
toggy , July 11, 2010
Windows 7 recovery CD
Hello,

Thank you very much for this post. It really saved my life!

Just a little tip:

I was facing the "Bootmgr missing" problem on Windows 7 but I don't have the Windows 7 CD, so I found out that there is a recovery CD, which can be downloaded on this link:

http://neosmart.net/blog/2009/windows-7-system-repair-discs/

I hope it can save other people's time.

Thanks again!

Rodrigo , July 17, 2010
Seems fine with Mac 10.6.4--moved 10GB XP Pro to 20GB XP Pro
Seems to work fine. A few things were different. Boot CD worked fine (I was a little worried) and it did ask me to partition the new HD within the partitioning software. Copying took about 10 mins or so.

Seems to have booted up fine. I had to repoint shared folders to the Mac side. Networking seems fine with no changes. I hope Windows and Office 2007 reactivation won't be needed (since hardware will have changed, I think, from XP perspective. We will see).

Thanks a lot
NSJF , July 18, 2010
Thanks!!!
Worked so great, expanded Windows XP from 10GB to 30GB (stupid Visual Studio)
denpanosekai , July 26, 2010
thanks
thnx for this. had a few hickups but it worked in the end.
bolletrie , August 03, 2010
Gracias, Thanks
Muchas Gracias por tu aporte, de verdad tu guía me saco de un apuro muy grande.smilies/smiley.gif Thank you very much for your input, your guide really helped me a lot of very big trouble.
Oscar Oviedo , August 03, 2010
resize a VirtualBox disk partition
Useful resource. This is the first feeling after read your article.
I found something useful information related recently about resize partition. And I am looking forward to your helpful guide.smilies/smiley.gif
Jean , August 10, 2010
Replacing partition
Thank you for this guide it was surely a time saver and after I booted my system with my Vista disk and did a boot repair I was up and running! =)
Shane , August 20, 2010
Don't forget the manage flag step like I did
I went through the whole process but somehow missed the one step on manage flag, checking the box next to boot. smilies/sad.gif Took me a while to figure out what I had missed. Redid it and it worked the second time. smilies/smiley.gif
Abby H , August 21, 2010
Too complicated (for me)
I've just resized my Windows Server 2008 R2 C: partition. Host is VirtualBox 3.2.8 on FreeBSD 8.1-RELEASE.

1. Use VirtualBox to create the new hard disk (vdi) with the bigger size.
2. Shutdown your guest (Powered off).
3. Use the command line, cd to your HardDisk folder (~/.VirtualBox/HardDisks in my case) and run "VBoxManage clonehd --existing oldhd.vdi newhd.vid".

You'll see something like this:

Oracle VM VirtualBox Command Line Management Interface Version 3.2.8_OSE
(C) 2005-2010 Oracle Corporation
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID:

4. Use VirtualBox to change the settings of your guest to use the new hard disk instead of the old one ("Storage").

5. You can boot your guest now. It will see the hard disk in the new size, but the filesystem will remain the same size as before as expected. At least in W2k8 it is possible to expand with the on board "Disk Management".

Mission completed.
knarf , August 25, 2010
...
Thank all of you guys for the feedback and your comments!
axel , August 26, 2010
Great Howto
However I haven't gotten a working copy of my XP guest yet. The first time I tried I got an error message: NTLDR is missing
I started studying the my original VDI file and it contained a small partition with MBR and lba. I tried adding a small partition to my sda2 using the method you have suggested but I quickly get an error message. Something about the file system. Any ideas how I can create the MBR?

Tim , August 31, 2010
...
Hi Tim, boot with a Windows XP cd and choose to repair the installation. It will recreate NTLDR.
axel , August 31, 2010
Vista help
Vista Home Premium

File: Windowssystem32winload.exe
Status: 0xc0000225
Info: The selected entry could not be loaded because the application is missing or corrupt.

With thanks:

http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/
mryan321 , September 02, 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Login Form

Follow me on...

  • Digg: axelgr
  • Facebook Page: 379363054400
  • FeedBurner: my-guidesnet
  • Twitter: myguidesnet
  • External Link: http://feedburner.google.com/fb/a/mailverify?uri=my-guidesnet

Member Login