• ARTICLES
SEARCH

How-To Geek

Using GParted to Resize Your Windows 7 or Vista Partition

One of the more advanced options for resizing your Windows Vista partition is to use the GParted Live CD, a bootable linux CD that takes you straight into GParted, the great linux utility for managing partitions. The problem is that if you resize your boot/system partition, you will be completely unable to boot without repairing windows.

First make sure that you have a bootable Windows Vista installation DVD, as you will be unable to use your computer if you don’t. Next, download the GParted Live CD and burn it to cd.

Boot off the GParted cd, and you will see your hard drives in the drop-down list. The first drive is typically your boot drive, but you can check the Flags column to make sure.

image

Next you’ll need to right-click on the partition and choose Resize/Move from the menu.

image

Now you can either use the New Size textbox, or just click and drag the partition to make it smaller (or bigger). When you are done, click the Resize/Move button.

image

This doesn’t immediately apply the changes, though. You can make other changes to your partitions and then when you are finished click the Apply button.

image9

Depending on the amount of data and the speed of your computer, it can take quite a while to resize the partitions. On my computer it took more than 30 minutes.

image

Once it’s done, quit, remove the live cd and then reboot your computer. Unless you are very lucky, you’ll be greeted with this horrible error message saying “Windows Failed to start. A recent hardware or software change might be the cause.”

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

Here’s a screenshot of the error, but don’t worry, we’ll fix it.

image

Insert your Windows Vista installation dvd and make sure you boot off it. At the welcome screen click the Next button.

image

On the next screen, click the “Repair your computer” link in the lower left hand corner.

image

The system recover options dialog will show up, and will ask you if you want to Repair and restart, which we do.

image

If you happened to click the View details link you’ll see that the error is “Windows Device: Partition=Not found”, which indicates the problem is the partition that we resized.

image

Your computer will reboot, and you’ll see Windows Vista in the list although it now has a different name indicating that it was recovered.

image

When Vista first starts up, it will start running a check of the disk. Whatever you do, don’t hit any keys here because we want the system to check the disk.

image

Once it’s done it will reboot, and you’ll have Vista back up and running again!

image

If you want to rename the Windows Vista entry in the list back to normal, you can use VistaBootPro.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 08/8/07

Comments (197)

  1. OJ

    This is a handy trick, so long as you’re dealing with IDE hard drives. If you’ve got SATA/SCSI drives, then your mileage will probably vary.

  2. Shayon™

    I’d say Partition Magic is a much better option, though!

  3. Barron

    I have used GParted to move my partitions around at least twice on my new-ish Vista laptop, but I’ve never had the problems you mentioned on reboot. Maybe I am very lucky and obviously YMMV, but I wanted to leave an encouraging note here so this might seem slightly less scary.

    BTW – I also recommend the free ImgBurn to burn the ISO to disc after you download it. When I first started using GParted years ago, it took me forever to find a free ISO burner.

  4. Barron

    @Barron – Way to go, idiot! You totally jacked up that link! ImgBurn is at http://www.imgburn.com

  5. Shayon™

    C’mon guys, what happened to good old Alcohol [http://www.alcohol-soft.com/], for ISO burning?

  6. Barron

    @Shayon – Alcohol is not free.

  7. The Geek

    I agree with Barron…

    While Alcohol was very useful a few years back, just about every cd burning tool can handle ISO images now, so why not go with a free tool?

  8. Matt

    I use http://www.burnatonce.com for burning CD images, simple, and has the detail if you want it.

    Does GParted wreck XP installations too?

  9. OJ

    Using Partition Magic or any other third party tool that requires an installation doesn’t always work. Why? Because if you’re out of hard drive space (hence, have the need to expand your partition) then you may not have room to install the software to do the resizing for you.

    GParted, or a similar tool, on a live CD is a workable solution in this scenario.

  10. Bob

    Partition Magic doesn’t require installation, it comes on a bootable CD.

    Besides, it’s really unlikely your disk is so full that you don’t have the
    extra 50MB of space needed to install it, or can’t free up at least that
    amount of space by deleting temp files or moving files to a USB drive.

  11. VV

    I had this problem with an hp, but when I inserted the Windows Vista installation dvd and made sure I booted off it, no welcome screen appeared… The installation dvd had been sent to me directly from the manufacturer… Really no chance with Windows Vista.

  12. Tony

    I have about 12 gigs of free space, booting from the live cd, but it wont recognize the free space on my HD. in the section labeled ‘used’ there is a blank. In the section labeled ‘partition’, next to my hdd, there is an exclamation point.

  13. Svenskå

    Why not just use Ubuntu live cd so you can do file management and check file in file manager as well? (GParted is included with Ubuntu LiveCD) As well as that there is an option of trying out Linux as well… And web browsing in firefox… :)

    Personally I prefer QTParted, which is simmilar but you have to download using Synaptic Package Managmer, becase it is easier to use. But QTParted is included with Kubuntu live cd and Knoppix CD. (it is a kde package)

    Enjoy..

  14. Evildave

    The latest, greatest (and allegedly final) PartitionMagic *DOES NOT WORK WITH VISTA*.

    Not only will it not install (as expected), it pops up an error on every physical drive with ANY Vista-like partitions.

    On a new PC, that was naturally ALL OF THE DRIVES.

    Also, according to Wikipedia, the clowns at Symantec aren’t going to be making any new versions of PartitionMagic, EVER.

    Oh, and BTW, Vista has a ‘resize partition’ in its ‘Disk Management’, but it’s fickle. For instance, on a 150GB partition with 30GB on it, Vista wouldn’t let me shrink it below 90GB. Nothing I could do within Vista would make it any smaller. Then it wouldn’t format the newly freed space. Then it wouldn’t reclaim the newly freed space back to the partition it came from. I had to use another fdisk-like thing to nuke the bad partition it made, and then I was able to install Ubuntu.

  15. Milad

    Really good trick but I have problem, I try it on my Dell Inspiron 6400 with SATA HDD and wanted to resize 137GB drive to 57GB but now it has been running for more than 24Hrs but still don’t finished!!! is that normal?

  16. geek

    it worked finally, took about 3 hours to change the partition of my 500G sata HDD, and maybe i was lucky, no vista repair. there were a minor issue however, my HDD appeared to have a 5MB unlocated area, dont know why. But it’s ok, as long as the rest of the drive and data on it are fully functional.

  17. Helpless in NJ

    I have a 200gig SATA hard drive and am running Windows XP. I am a newbie. My computer has a single partition which has 200gig but only displays 178gigs. I thought I knew what to do but based on the above comments I not quite sure now.

    I think I would like to resize this partition so I can create additional partitions. Wouldnt this help my system boot faster? Well anyway I couldnt quite determine which I should be doing or if I should be doing both processes. And if thats true which should I do first? It appears from all of the comments I have read this is quite simple in Windows Vista but what about XP? Are there additional tools I should be utilizing? If so which ones? Are there free tools available (not demos).

  18. elipsoid

    Works like a charm. Thank you!

  19. Mascot9

    The Gparted LiveCD did not take me straight to the GParted screen, instead I was confronted with a list of options to configure. I chose the auto-configuration after much deliberation, and it proceeded with some form of installation – which I decided was too great a rish to take. So I quickly exited it. I would like to say that I had earlier partition my 100GB hard disk that originally had XP into 4 partitions and had VISTA installed on one and XP on the another. The third was reserved for DATA and the fourth is the HP recovery partition. So I dual boot VISTA and XP. Could the state of HD be responsible for the behaviour of the GParted LiveCD in my case?
    Can someone offer a solution?

  20. deano186

    @Mascot9

    It was working normally. It is a LIVE CD which means it loads into memory from the CD and runs from there without leaving an installation behind on your hard disk. The install into memory was what you saw happening. The Auto-configuration option worked fine for me on XP.

  21. Mascot9

    Many thanks to dean186 for the clarification.

  22. burtzovlaxos

    I am shrinking my hdd in my laptop from 175GB to 145GB in order to install Linux.
    I am using GParted as LiveCD.
    It took about 2 and a half hours to complete a copy process “using a blocksize of 128 (or 512 I don’t remember exactly) sectors” and now it requires 3 more hours to complete a similar process “using a blocksize of 2048 sectors”. How long is this supposed to last? Is it normal?
    I just can’t understand this blocksize/sector thing.

  23. Matt

    Thanks for the help! Worked perfectly. I had resized my Vista partition down to 100 GB so I could install Ubuntu in the other 100 GB. In the process of doing that now. Thanks again!

  24. Gonzalo

    @Milad: I have exactly the same laptop as you and I’m trying to resize Vista from 117GB to 68GB … it has been running for like 24 hours and not even half done. It took MANY hours to “read” the sectors and now its copying 143892929 sectors using a blocksize of 64 sectors. It’s going veeeery slowly. If I move the mouse around, it does it very sluggishly. I pressed CTRL-ALT-F3 to get a console up and typed in ‘top’ to see what activity was going on with each process and gparted is using up roughly 40% CPU and very little memory. I’ve no idea why its taking sooo long to finish! Any ideas??

  25. Pergh

    @Milad and Gonzalo: I do not know for sure, but the symptoms you are describing indicates that the disk driver the GParted Live CD used for your machine were using some kind of compatibility mode and did not offer optimal access to your harddisk.

  26. AAAAmerican

    Partition magic is useless in MisFits (MSFT: OTC) Newest Version of the newest OS VISTA, codenamed LONGHORN.

    They never provided any CD/DVD for the VISTA OS with our new PC.

    Anymore ideas on even Using the XP Pro OS and doing partitions then moving the Hard Drive into the other unit(s)?

  27. Prakash

    i was trying to use Gparted on dell notebook I1520, 250 GB SATA HDD,( OS C: 220 GB, recovery D: 10 GB ). I did copy-burn image of Gparted .iso on Roxeo creator and the file extension in the CD is gparted.dat .Once i booted through Gparted I could get the list of Hard drives on my system. There is a triangle just before the file system NTFS of my OS and when i chose to resize/move and in the screen it shows minimum size and maximum size as the same – 225595 Mib.
    And the space preceding and space following is Zero and the new size is 225595, which i was not able to modify.When i tried to check the information tab given below the resize/move it says some sectors could not be read. I think if i press the check button it would veriify the file system and attempt to repair. I did not know what to do. I do have the vista OS cd with me and other utilities reqd. i want to make a partition and load Linux and see what it is. ( I’m a newbie). Can some one help and guide me through.
    Thanks in advance. Prakash

  28. Wsmith

    Using gparted on Vista
    You need to make sure that whatever version of gparted you are using has been compiled with the latest version of the GNU NTFS tools. i.e. Version 2 .
    Get to a command line on the live CD and type in:
    #ntfsfix -V
    if you don’t see version 2 don’t use this version of gparted on Vista NTFS volumes.
    http://www.partedmagic.com has a free live CD that has the right version of the tools on it and a version of gparted that works with Vista NTFS volumes.
    Also running.
    #ntfsfix /dev/xxxx
    fixed up the bad things that the earlier version of gparted did to my Vista NTFS volume partition.

  29. Bearer of Bad News

    Be careful! Note that sometimes a recovery PARTITION, such as those on some Sony Vaio laptops, are NOT a substitute for recovery DVDs. They do not offer the same repair options as standard recovery DVDs. I might also add that I had a recovery DVD from a manufacturer, and it never offered me the option to repair my computer, as shown in the pictures above. It just wasn’t there, and I ended up being forced (kind of, not really) to have the DVD wipe my hard drive and reinstall Vista. I should also note that I was using GParted from the Gutsy (Ubuntu 7.10) Live CD, so this may have caused the problem.

  30. Ben

    I wanted to leave an encouraging comment. I just re-partitioned the hard drive on my new laptop (Vista). It did everything in 15 mins and everything works like a charm.

    Thanks.

  31. Dan Dar3

    I haven’t tried your fix although it seems ok, but since I had a working XP version I ran the EasyBCD Reset BCD Storage option and that fixed it for me. Thanks for your tutorial though, at least it gave me a second option!

    EasyBCD 1.7.1
    http://neosmart.net/dl.php?id=1

    Dan

  32. aero

    I used the very handy parted magic livecd to boot and allow me to use gparted. I find this one more robust than the gparted livecd.

  33. Trino

    Ok. So what do I do if my computer says “Failed to save startup options.” at the system recovery options dialog? I have the following details

    The following startup options will be added:
    Name: Windows Vista (TM) Home Premium (recovered)
    Path: Windows
    Windows Device: Partition=C: (102398 MB)

    A copy of the current boot configuration data will be saved as:
    F:\Boot\BCD.Backup.0001

    When I push Repair and restart, it tells me Failed to save startup options.

    Am I SOL?

  34. Tony

    I have the same error as Trino (tried to repair, but then it says “Failed to save startup options.”) Anyone have any suggestions?

  35. Suresh Joel

    Worked great for me but …
    I lost my system restore points. Without any panic, I decided to create new restore points and make sure volume shadow copy runs. However, I am not able to create new restore points. When I go to the “System Protection” tab in “System properties”, it gives and error saying “Unexpected error in property page, The volume shadow copy service is not working. For more information view event log (0×81000202)”
    I am able to start the VSS service but when I try “vssadmin list shadowstorage”, it says “No items found that satisfy the query”.
    This will be a big issue because, windows won’t update if it cannot create a system restore point.
    Anybody know how to work around or fix this. One option is to disable “Volume Shadow copy” service but I do not want to do that (for obvious reasons).

  36. Dennis

    Suresh Joel, I would be willing to bet that to make this work, one will have to turn off volume shadow / ‘restore points’, erase the restore points (maybe in reverse order), resize, then re eneable the restore point system. Better have everything the way you want first :-)

    I’m trying to make a laptop configuration that boots up a regular user w/o a password running LoJack from the on disk bootloader from a small partition if my laptop is stolen, but boots a Full Disk Encryped (FDE) TrueCrypted (http://www.truecrypted.org/) much larger partition using a bootloader from a USB stick. Seems to be the only way the combine the two programs since they both load into the boot sector.

    SOME laptops have a (Lojack or other tracking software) BIOS agent, but it has to be engineered into the laptop with enough room in the BIOS.

  37. Suresh Joel

    Everything is fine now! :)
    Dennis – Thank you for your post. After several hours of frustrated poking around – I found out that actually I messed up (kindof – its never totally my fault – you can ask my wife).
    I resized my “J:\” non-vista ntfs partition along with resizing the “C:\” vista partition.
    When GParted resized “J:\” , it assigned a different drive letter (“G:\”).
    So, after I rebooted in to Vista (I did not know then that “System Restore” was not working), I changed the drive letter back to “J:\” (since I had symbolic links to that drive).
    That messed up the Volume shadow copy – shadow locations somehow. (So, its MS’s VSS fault actually, it doesn’t associate drive letter change with the VSS shadow locations).
    I changed the drive letter back to what GParted set it to (“G:\”) and “System Restore” was happy and I could create a new system restore point.
    Many thanks for the post and help!

  38. Adonet

    It didnt work for me. Gparted resizes the Vista partition, but it took 3 hours to resize a partition of 320 Gb to 100 Gb. Then Vista didn’t boot. And the windows Vista CD Rom didn’t offer the posibility to repair. Al I could do is reinstall or repair bij doing a full recovery, which gives me the original 320 Gb partition.

    Vista itself is capable of resizing its own partition when you use the virtual disk manager. And it worked in two minutes and left Vista bootable and running after a reboot. After that I use Gparted to make partitions for my Ubuntu installation and it works!

  39. Kid

    all is fine with a sata hdd but what if I have a RAID 0 configuration? I suppose Gparted will only see the 2 disks! Is there a way for me to extend C without formatting and reinstalling?

  40. Tim Daniels

    I read your how-to on resizing Vista partitions with Gparted to find out if Gparted could “slide” a Vista partition, and the closes statement I could find in your treatise was: “Now you can either use the New Size textbox, or just click and drag the partition to make it smaller (or bigger).” I believe you meant: “…drag the partition’s left and right borders….”

    Otherwise, the only hint of sliding was the screenshot of the dialog box which read: “Move /dev/hda1 to the left and shrink it from 30.05 GiB to 15.47 GiB”

    So, can you explicitly say that Gparted (in it’s latest version) can “slide” a Vista partition, that is, move its start position?

    Tim Daniels

  41. Kid

    Yeah Tim that’s the question! Cause if it cant do that we can just use the built in Vista manage discs tool.
    Actually thats how I did it in the end. I deleted the whole D partition and I expanded C.

  42. Venkat

    I do not have a vista installation DVD since the Vaio notebook came preinstalled with it. I do have the recovery DVD’s though. Is there a way to partition my disk?

  43. mike

    I just booted the live CD trying to re-partition a SONY desktop because the C drive is running out of space, I noted another small 5GB partition, I gather that is the recovery partition and I should not mess with it. The problem is that I am unable to resize the C partition (labeled boot). Even when I resized the D partition to make it smaller by 30GB to make space next to the C, it simply labeled the new space as an unallocated new partition. I must be missing something when it comes to using this program, any help or pointers will be greatly appreciated.

  44. Max

    Hi, I have tried resizing Vista using Gparted Live and after which vista fails to Boot.

    I tried inserting and booting from the Vista DVD, however after loading Windows file from the DVD, the blank screen appears and still fails to boot. Is there anyway to solve this problem?

    I use Gparted 0.31, not sure if it have GNU NTFS tools v2 as stated by Wsmith. Is that the cause of the problem?

  45. Dan Dar3
  46. kesvelt

    Rather than using Vista DVDs (which depending on manufacturer may not have the repair option), create a Vista Recovery CD or DVD using the .iso from the following link (or using SP1 if you have it):

    http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/

    Just completed the resizing (from Ubuntu 7.10 CD GParted), ran into the error on booting, and used the Recovery CD for the fix – worked like a charm.

  47. Hooman

    Hi guys
    I have windows vista on my new laptop and i burnt gparted live cd to a cd and it boots from cd but never takes me to the partitioning page and take me to other pages that i dont have a clue what they are, is there anyone who could help me with that?
    Cheers

  48. LeeH

    You don’t want to use a non MSWindows tool in an attempt to get every last byte out of the disk. If you do use another tool, there are some limitations.

    Various boxed computer systems have a hidden recovery partition somewhere on the disk that may appear to be unallocated space. The one I got last weekend has about 30GB at the front of the disk. You don’t want to do anything to this area.

    I seem to remember starting about WinXP, the last MB or so of a drive is used to store some additional information, without doing anything to allocate it to any partitions.

    Important: quotes and commentary from kb/931854: The partition that hosts Windows Vista may disappear if you use Windows XP to create a partition on a computer that has both Windows XP and Windows Vista installed. CAUSE: This problem may be caused by a [sic] error in Logical Disk Manager. If the partition that hosts Windows Vista was created during the installation of Windows Vista, a 1-megabyte (MB) alignment boundary is created on the partition. This alignment boundary differs from the alignment boundary that is created by Windows XP. Therefore, when you use Windows XP to create a new partition, the different alignments may cause this problem. Commentary: You have to be careful what you create.

    From past experience hibernate could be using a preallocated file or a hidden disk area.

    Within those limits, I have already shrunk the preinstalled C and D partitions. I planed to slide the D partition to the end of the drive and place two additional partitions in between: F & E. The resulting partition order will be C, F, E, and D. C is the OS partition, D is a Data Partition used by some of the vendors system backup tools. I don’t expect it to have much access. Historically F has been the drive with the family’s files. (I don’t use “my documents”), and E is an alternate application install and scratch partition.

    Since Vista did not offer a partition mover, II decided to target a partition order of C, F, D, and E with Vista disk manager so that I would not have to move any partitions. However, VISTA refused to add my planned E partition, saying that space was not available on the drive, despite the ~ 50GB chunk at the end of the drive.

    After thinking about it, I realized that the hidden partition and partitions C, F and D are probably all primary partitions that completely fill the 4 available entries in the master partition table (the partition table in the master boot record), and the “not enough space on the drive” was probably master partition table space.

    However, http://windowshelp.microsoft.com/Windows/en-US/help/d9a4d35e-efdf-406c-a049-0860180129a71033.mspx#EFB says “When you create partitions on a basic disk using Disk Management, the first three volumes you create will be formatted as primary partitions. Beginning with the fourth volume, each volume will be configured as a logical drive within an extended partition.” If this is the case I don’t understand why VISTA refused, saying that 50GB wasn’t enough space on the drive.

    My next plan is to try this again after downloading the updates that were not installed, and if necessary install SP1 by hand. If that does not work, I will burn a current Knoppix drive and use one of the parted front ends to create an extended partition and see if Vista sees it. If Vista can’t create a logical partition inside the extended partition, then I will use Knoppix again to create the logical partition.

    I hope this helps.

    Wish me luck.

  49. Hooman

    Hi guys
    I bought a dell laptop with 320 GB HDD and the OS is Vista Home Premium.I have tried to make c drive smaller and make another drive, i have used partion magic, partition commander and the shrinking feature of vista itself but none of them wokrd, partition magic and partition manager resize my c drive but when i want to create a partition they tell me that there is an error and i should use a ‘Repair Tool’ to fix the problem. Shrinking feature of vista says that the operation has failed and i should read the help and as i said i boot my computer and it doesnt take me to partitoning page. I guess the problem is that recovery drive that one the guys mentioned but i dont know how i can fix it, i would apperitiate if someone can help me.

    Cheers
    Che

  50. Hooman

    Hi guys
    I bought a dell laptop with 320 GB HDD and the OS is Vista Home Premium.I have tried to make c drive smaller and make another drive, i have used partion manager, partition commander and the shrinking feature of vista itself but none of them wokrd, partition magic and partition manager resize my c drive but when i want to create a partition they tell me that there is an error and i should use a ‘Repair Tool’ to fix the problem. Shrinking feature of vista says that “The attemped operation is invalid.Either the parameters specified are invalid or the operation cannot be completed on the selected object. Refer to Disk Management help for assistance on the correct use of the attemted operation” and as i said i boot my computer and it doesnt take me to partitoning page. I would apperitiate if you could help me.

    Cheers

  51. Rupert

    @Hooman (and others),

    I had very similar problems with a Dell desktop. Vista was installed on a 500GB drive, but I wanted to split it for dual booting. I tried various partitioning programs but eventually ended up with a non-booting PC. Since the Dell was supplied with a proper installation DVD, I decided to start from scratch, removing both the recovery and Vista partitions and creating two new 250GB partitions. I’m now quite glad that I’ve done this because it means I now have a clean install without all the free extras from Dell. I plan to use HyperOS to run Vista and XP (and ..?).

    P.S. The installation DVD said it was unable to repair the original mess (perhaps not surprising).

    Cheers

  52. Kaveh

    Just wanted you to know that it worked like a charm on my sz640. http://gparted-forum.surf4.info/viewtopic.php?id=431 also helped a lot though.

  53. Saget

    Hi,

    I have the GParted Live CD for some time now. I used it to manage my partitions on a secondary hard drive after I got Vista, since Partition Magic doesn’t support it.

    The program used to work fine, but a few months ago I changed my video card (from an ATI to a Nvidia card) and now GParted say it can’t load the graphical interface because it couldn’t recognize the video card. It says I should load some script and choose the drivers and resolution but I have no clue on how to do that.

    Any ideas?

  54. Dennis Gearon

    I finally used GParted, and I really like it. It wasn’t foolproof however. Something about my startup options (on Vista) got changed/corrupted. Kind of looked like it was looking for a remote desktop. So I popped in the repair disk I had made just in case, and had it fixed in a few minutes.

    I must have a REALLY slow hard drive on my laptop. It took FOREVER to do the move, etc. Windows performance monitor showed an average of 8MB/sec of disc performance. I’m pretty sure that the disk can do better than that, so why would GParted use it so slowly? With todays processors, changing the disk headers, calculating the FileSystem Block/Header offsets/addresses/Tables should be microseconds in length.

    Oh well, it’s all good now. I have backed up my C partition using Seagate’s ‘DiskWizard’, and I am now going to just restore over the good data with the backup. Why? I am selling the use of an external USB drive and this software as a back up solution for my brother – I’m his geek. I want to make sure it works.

  55. Dennis Gearon

    About the video card, mine wasn’t recognized either, and it was an ATI also. I just forced VESA mode with 1280X1024 resolution (the native resolution of my laptop). It worked fine, try that.

  56. Saget

    @Dennis Gearon: Well, how do I do that? Do I need to type some command? I’m pretty illiterate about that :P

    And I think laptop hard drives are usually slower… don’t know about yours, though.

  57. Graeme

    This didn’t work for me. Then again, I found this *after* borking my install.

    I used gparted to resize the NTFS partition, then installed Gentoo, then tried to boot Vista and received the above error message.

    Neither my system restore CD nor a Vista CD I downloaded could fix the partition. I can mount the drive and read it fine, but meh. The error the restore utilities return is “Partition table corrupt 0×490″

    Oh well, back to the drawing board.

  58. Dennis Gearon

    The program will exit in text mode after it fails to find the parameters to run the X windows video overlay to the text system underneath of the graphic look and feel. It usually gives an error message telling you how to do it. I think it was actually ‘ForceVesa’, but check.

  59. Dennis Gearon

    I really like GPARTED. I’m going to look into more of the LiveCD/DVD *nix programs for working on my system. Now for something completely different :-)

    I’m I downloaded and ran Seagate’s ‘DiskWizard’. It’s actually Acronis relabeled. I saved two copies of my hard drive (FORTUNTATELY). The program seems to be able to do a lot of what GPARTED does and do backup stuff. BUT BEWARE! I’ve read problems on the web about Acronis, before I found out that DiskWizard WAS Acronis. And I had those problems.

    The program will restore to a partition that is smaller than one that was backed up (essentially shrinking your partition for you). Of course, the data saved can’t be larger than the target partition. Here’s my results:

    First copy saved partition TO original size partition -> SUCCESS
    First copy saved partition TO shrunken size partition -> *F A I L U R E*
    Second copy saved partition TO original size partition -> SUCCESS
    Second copy saved partition TO shrunken size partition -> SUCCESS

    The failure mode is to just freezing up.

    This was after the program checked both saved/compressed archives and said they were good.

  60. Saget

    So I just write what it says there? No slashes or anything? If so, I’ll give that a try someday…

  61. abhs94

    I have also faced an error at the load stage but it said:”unexpected I/O error”. I followed the steps of recovery but that didnt help.
    Is there a solution?

  62. Tom

    I burned the Gparted live cd iso to a CD, but my laptop refuses to boot from it. I even changed the boot order to put CD rom drive first but it just goes straight to windows. Any advice?

  63. donnie

    Hey before you go and use a third party program to shrink your disk, let vista do it for you. When you run the recovery disk, before you select which option you want it to do, press shift+f10. this will bring up command prompt, then type in diskpart.

  64. Thor

    Thanks a lot, you saved my day!

  65. Rance

    Managing partitions has never been my cup of tea. I always get the impression that it’s something difficult and dangerous that I couldn’t do by myself C and I’m sure I’m not the only one who thinks like that.

    However this impression may change with EASUS Partition Manager, a disk partition management tool with which you can easily create, format and delete partitions in your hard drive at will. The program features a very intuitive, user-friendly interface which makes all these tasks a child’s play.

    EASUS Partition Manager works with different file types and can handle hard drives of up to 800 GB. But the most outstanding feature is definitely the fact that you can move and resize partitions live, that is, without erasing them or losing any data. Just remember that you’ll need Administrative rights in order to be able to use it.

  66. Alberto

    Help PLEASE! resized Windows partition to the beginning of the drive…2GB or 4GB boundary thing is a no no?
    well GParted was gonna take like 8 hours for the 160gb HD, so i left…my little cousin hit the CANCEL BUTTON! errors GALORE!, i tried recovery mode, used CHKDSK /R at the console! it said errors were fixed, but still cant boot WINDOWS! my mom is gonna kill me if i have to reformat! PLEASE IS THERE ANYTHING I CAN DO??????

  67. Dan Dar3

    Hi Alberto,

    What exactly is the problem you get when you Vista tries to boot?

    You could also try this:

    insert your vista dvd, boot into it, system recovery, open command prompt and type

    x:\boot\bootsect.exe /nt60 C:

    where x is your dvd drive where Vista was inserted and C: is a fixed drive, you don’t have to change this.

  68. Rob

    Help! I followed the instructions on this page and partitioned my hard drive so I can use one to store Vista and the other to store data.When Windows checked for errors in the drive, I did not receive an error message. It booted normally into Vista but now it is not showing the new partition I created so I am missing 450GB+ space. I don’t know what went wrong.

  69. nzr

    On Lenovo 3000 v100 with vista 32 bit everything worked as described. Thanks for the good documentation

  70. Chris Chambers

    Hi Guys,

    Wanted to say I found this page after I’d done the dreaded repartition and the boot problem had occurred. I followed WSmiths advice on using ntfsfix on a partition magic live cd and that seems to have got the OS running again.

    Cheers.

  71. Benjamin Larue

    Hi!
    You simply saved my life! I downsized the Vista partition of my wife new notebook with GParted, just before she’s leaving for few days… And ruined Vista!!! I searched a lot on Google and finally find your WONDERFUL site! I followed your instruction and therfore she won’t kill me tonight!
    Thanks a lot! Wonderful job, well explained and fully functionnal.
    Benjamin/Marseille/France

  72. b-runner

    Thx for the how-to!

  73. Verndog

    @Rob, If you followed the instructions and resized Vista and made it smaller. The “missing” 450GB is now called Unallocated. Boot back up with Gparted and you can see for yourself.

    Gparted is a great tool. One of the best free tools.

  74. Shannon VanWagner

    GParted is a great tool, as an IT professional, I have tested it on many, many systems and it has worked great. Just be sure to a.) Defragment and cleanup any partition you intend to resize, and b.) make sure the NTFS partition is “clean” by properly shutting down the computer prior to using GParted.

    For those who do not have Nero and are looking for a free solution to burn .ISO files checkout the links below:

    As for burning any .ISO file to a cdrom in Windows, I suggest you use one of these free “ISO-burn-capable” utilities for the task:
    *InfraRecorder(Win – GPL) infrarecorder.sourceforge.net
    *CDBurnerXP (Win) cdburnerxp.se
    *DeepBurner Free (Win) http://www.deepburner.com

    As for burning any .ISO file to a CDR/RW in Linux(this is a no-brainer really), I suggest you use an included CD Burning Program such as one of the following examples:

    *K3B (GPL) k3b.plainblack.com
    *Brasero (GPL) http://www.gnome.org/projects/brasero

    Looking for a COOL Linux T-Shirt? checkout free.spreadshirt.com

    Also, checkout some other good system administration links on my blog at:
    healthysystem.blogspot.com/2007/07/list-of-21-free-powerful-systems-admin.html

    Regards,

    Shannon VanWagner

  75. tobes

    Completely happy.

    Partitioned a 160GB SATA harddrive for use with Vista on a Thinkpad T61. Made a ~60GB partition for Vista and kept the remainder for my documents and media files.

    Use the 3.0 version from http://www.partedmagic.com. Worked brilliantly. The whole thing took roughly 2 hours. On start-up after the partitioning Vista decided to run chkdsk. Everything works fine.

    Thanks for the guide and all your comments.

  76. Jase

    Can’t vista partition straight out of the box? I am pretty sure it could, without any of these additional tools to so..

  77. Dennis Gearon

    I use this a lot while learn to set up:

    A/ Dual (Quintuble?)Booting
    B/ Windows under TrueCrypt (http://www.truecrypt.com/)
    (CAN’T say enough good things about that program.
    ALL government and industry laptops shoujld be running it,
    for OUR identity protection.)
    C/ Default Vista partition running LoJack for theft recovery.

    **GPARTED** is a GREAT tool, and I have had NO problems. It is in my arsenal for as long as it’s usable with the machines ‘of the day’.

  78. Indianer

    Thanks Geek for all the help. The repartioning using GParted worked like a charm and I did not require to use the Vista Recovery CD.

  79. Dennis Gearon

    Jase,
    The partitioner in Windows will only reduce a partition, and not move it. It’s the usual, “We’ll get to it in about 5-10 years,” first version my MicroSlop.

  80. Steve

    How do you know how much to resize the vista partition? Do you make the partition larger or smaller?

  81. Dennis

    Steve, It depends on why you are repartitioning it and what you are putting in that area?

  82. Steve

    Well, I tried to install ubuntu and accidentally peformed an over the entire disk operation, although it failed for whatever reason 5 seconds into the install (leaving me to believe my files are still there). Problem is, when i boot into vista, i get a pxe-e61 error and can’t load the hdd. when i run ubuntu from a live cd my hdd does not show up either. i figure if i was to delete the ubuntu partition using gparted and resize the vista partition to fill the hdd, i would be able to boot back into vista. sounds to easy and i feel a step is missing. any help would be appreciated!

  83. Dennis

    boy, steve, that’s iffy. For that problem, I would use a vista install/repair disk. You MIGHT use gparted to kickstart the repair process by setting the 1st partition to windows/vista type starting at the beginning of the disk. It SHOULDN’T write anything if you don’t allow it to format the disk, (if you can do that)

    Then do the vista repair disk. The problem might be if the equivilent of the NTFS FAT tables were damaged. Probably the vista repair disk could do nothing then.

    If you have unbacked up data on the disk, I would look at a repair disk from outside of the normal vista disk. IN FACT, try data recovery first.

    stuff like this:

    http://www.ntfs.com/products.htm
    http://www.diskinternals.com/ntfs-recovery/
    http://www.datadoctor.org/
    http://www.z-a-recovery.com/
    http://www.smartpctools.com/ntfs_recovery/index1.html
    http://www.google.com/search?hl=en&q=recovery+ntfs+file+system&btnG=Google+Search

  84. Shannon VanWagner

    Steve, I suggest you first boot back into the Gparted CD, then open up the command line and run the testdisk utility. You can then use testdisk to recover your old partition configuration. After your old partitions are recovered, perhaps you can reboot into Vista and it will bootstrap itself up. Otherwise you may have to run the Vista repair voodoo magic – never the less you will have your partition and data back.

    http://www.cgsecurity.org/wiki/TestDisk
    http://en.wikipedia.org/wiki/TestDisk

    And here are some usage examples for testdisk:
    http://www.users.bigpond.net.au/hermanzone/p21.html

    So once again, GNU/Linux saves the day! Thank you GNU/Linux Developers!

    Shannon VanWagner
    http://healthysystem.blogspot.com

  85. Steve

    WOW! Thank you for the fast responses Dennis and Shannon! I will give your suggestions a try today and let you know what I come up with. Thank you!

  86. Joe

    Thanks so much for this information (about using GParted). I had to reformat a drive to reinstall Windows Vista (only because of work needs), but it would not format from the installer program because it was not NTFS (Linux previously there). Gparted allowed me to do it. Great explanations!

  87. Steve

    Shannon,

    BIG THANK YOU! After weeks and countless hours of searching for an answer, I saved all the files I could with photorec (wasn’t even 1/4 of what I would have liked, plus the filenames don’t come with the recovered files) and was quite nervous about using testdisk, but found the courage, took a swing, and IT WORKED LIKE A CHARM! Restored the partition so fast and I have all my files back, correct names and all. Glad to know people ARE out there to help and I want to say THANK YOU once again for providing your suggestions and that AMAZING tutorial that helped through my struggle! And thank you Dennis for your advice as well!

  88. Dennis Gearopn

    So steve, you’ll go out and buy a usb external drive and backup your data, right? :-) It was an expensive lesson for me – I never got my files back.

    And when I got my cell phone stolen, another lesson learned. Now my address book is self archiving to my provider’s website. New phone? Stolen phone? Malfunctioning phone? no problem, replace and restore.

  89. Prashant

    Can any one who has already used Gparted please tell me whether going by this way i will loose all data ie all the disk will be formatted OR i will get all the files and installed softwares after Vista OS repair step ??

    Thnx

  90. Dennis

    Prashant, Every case is different. It depends on what you’ve done to your disk already. GParted is ONLY for moving or resizing your partitions. **IF** you CHOOSE to destroy/modifiy partions ARUOND a partition that you are moving, then they’ll be very hard to fix, probably impossible. GParted is NOT a recovedry tool. IT can only help by relabeling your partition table. The other programs listed above in the conversation are for repairing damage.

    GParted is best for adding another OS to an exixting Windows or LInux installation, choosing to change allocation of disk space to 2 or more existing partions (who MUST already have some unused space).

    Hope that answers your questions.

  91. Wes

    “First make sure that you have a bootable Windows Vista installation DVD, as you will be unable to use your computer if you don’t.”

    Does that mean it’d be reckless to follow your instructions with a laptop like the T61, which doesn’t come with an installation DVD? Or could one re-install Windows with something like the ThinkVantage button?

    TIA for any advice!

  92. Dennis

    I also have a T-61.

    Your copy of windows is on a partition of the Hard drive. If it crashes, you are out of luck.

    I paid Fry’s/BestBuy to make a set of installation CDs from the Hard drive. I chose not to do it or to know hat they did either.

    If you back up your hardrive PARTITION, using a LInux/Ubuntu LiveCD, or some other tool, than you halready have a preconfigured installation ready to install! Do a search on ‘dd ubuntu disk partition copy livecd’ and you will find the answer to be PREPARED for any mistakes you made.

    You can also copy and save the whole disk, not just a partition. If you’re trying to repair your windows installation from the extra recovery partion, I can’t help you, but google on it!

  93. Shannon VanWagner

    As for losing your “recovery” partition:

    If you purchased a Dell or HP computer, simply contact them, tell them that your recovery partition no longer works, and tell them to send you a copy of the recovery disks, they will do it, even if the computer is out of warranty.

    As for recovering partitions, try the “testdisk” utility from the gparted livecd, as I previously mentioned, it works great!
    Checkout this article on my blog for more information:
    healthysystem.blogspot.com/2007/09/how-to-fix-this-situation-help-ive.html

    Also, you can try any of these google search terms:
    recover vista partition site:digg.com
    recover vista partition site:community.spiceworks.com
    recover vista partition site:ittoolbox.com
    recover vista partition site:blogspot.com

    And finally, perhaps deleting your Vista partition is the best thing that can ever happen to you! Good Riddance! Because then you can install GNU/Linux on your computer instead. Checkout these websites for more information:
    http://www.frozentech.com/content/livecd.php
    distrowatch.com
    healthysystem.blogspot.com/2007/09/why-switch-to-linux-heres-few-reasons.html

    Good Luck!!
    Go Freedom!! Go GNU/Linux!!

    Shannon VanWagner
    digg.com/users/bicep
    healthysystem.blogspot.com

  94. Dan

    Worked great for my son, vista would not shrink his disk but this did. Recovery dvd not needed.

    Windows did need several chkdsk /f restarts.

    UBUNTU would not recognize the newly liberated space until he created a simple volume with it in Vista. After that the install went great (on an HP DV6000 series lappy).

    (found this site thru google. Great stuff here!)

  95. Shannon VanWagner

    GParted is an AWESOME tool, no doubt about it. GNU/Linux and UBUNTU are also VERY AWESOME!!

    For the Ubuntu users, did you know that you can install Ubuntu inside Windows using the Wubi installer? This has worked great on my work laptop for months now. The wubi install will set Ubuntu to run from the NTFS partition in Windows. The installation can be controlled from Windows add/remove programs dialog, is installed in c:\Ubuntu, and creates an additional entry in your boot.ini to allow you to select Ubuntu as the OS when starting up your machine(Windows is the default choice in this instance and the GRUB boot loader is NOT used).

    Checkout the wubi wiki for more information:
    wubi-installer.org

    Also, I HAVE PERSONALLY tested the wubi on a Vista machine and it worked perfectly. Just be sure your computer has been shutdown normally(not hard power off) prior to installing.

    Be Liberated, Be Free, Be Cool like Me – Use GNU/Linux!!!

    Shannon VanWagner
    healthysystem.blogspot.com

    Get your cool GNU/Linux shirt here:
    free.spreadshirt.com

  96. Oscar Wong

    This utility really works ! I just resized my old 108GB Vista partition to a new 235GB partition after changing my IBM notebook har disk.

    Thanks a lot.

  97. Paul

    “There is a triangle just before the file system NTFS of my OS…”

    Prakash, just mount and dismount any volume. This creates the file /etc/mtab, which is what gparted was complaining about not having, at least in my case.

    As to this recipe, it didn’t work in my case. Vista couldn’t repair things, although I see the volumes just fine in Puppy Linux. I think I will just reinstall Vista over everything and wipe out all the silly stuff put on the disk by Dell. Fortunately it was a new machine with nothing of mine on it.

  98. Aaron

    Program works great but what do you do if your partitions are not tangent? Meaning I have my c: drive next to a d: drive partition that has data in it that I don’t want to lose. But I was able to shrink the D drive to create an empty space but it is on the other side of D as opposed to next to the C: drive. This doesn’t seem to work unless the empty space is next to the space that you want to add it to which is the C: drive.

    If there is another way please let me know. Thanks.

  99. El mimo

    Great!

    I’m using Vista Business with an IBM Thinkpad. I wanted to size my partitions, including the one with vista on it and it worked perfectly. Thanks a lot!

  100. Bernell

    gparted is a great tool for resizing. However, i have killed the dual boot and gone the virtual machine route. VirtualBox is a great free virtual machine and works on windows, osx and linux. Can’t really get better than that.

  101. HoundDog

    Good article and great free tool. I just used this on my Vista Ultimate 64 bit SP1 machine and resized my C, D, and E partitions with no problems at all. I took some space from D and gave it to C first. When I rebooted, all windows did was performed a check disk. I then rebooted and took some space from to and gave it to E. Again, all windows did after the fact was perform a checkdisk.

  102. Corey

    @Aaron, you can do this, its what I just did (or am in the process of doing right now)

    Shrink your D:
    So you should have
    C: –> D: –> Unallocated Space

    Move/Resize the D: and slide it over to the right, moving the unallocated space between C and D, and then move/resize C, and just make it take up that unallocated space.

    took me a minute or two to figure out myself =)

  103. Andrew

    I have a Vista x86 partition that’s proving to be too small. Fortunately, I have an extra, unused ~200GB in another partition that I can (hopefully) use to enlarge it. however, I saw that someone mentioned that this won’t work with SATA drives. As my drive is SATA I’d like to know if that’s true or not.
    Thanks.

  104. jd2066

    @Andrew: I would say it’s not true as I used gparted to resize partitions on my SATA drive.

  105. Mr Lazy

    Re: needing the Vista installation CD to repair, anyone know if this will work with an OEM version of Vista? Don’t want to do this and then not get the option to repair etc.

  106. jd2066

    @Mr Lazy: If you have an actual Vista install CD with the computer then it will work. If however you have a recovery disc like many OEMs include instead you will not get that option.
    If you are unsure what you have, you can just boot from the disc and see which it is. Neither will do any repair/recovery operatings with confirming it first.

  107. Michael

    GPARTED Works great, I have cloned multiple Servers using this software to change the RAID Array that they sat on, and additionally have changed windows partitions from dynamic to basic with out any issues. The only reason you guys may have issues, is most likely you are not running chkdsk before attempting your clone.

    Michael

  108. Krishna

    has anyone tried this on HP Pavilion dv1050ee AMD TURION 64 – Vista Home Premium (SP1) ? planning to install UBUNTU & OPENSUSE.
    I hv created a set of Vista recovery discs using HP RECOVERY MANAGER. will this help after the partition?
    How many times can disk be parititioned ?

  109. Shannon VanWagner

    Krishna,

    booting up to the gparted livecd will answer many questions for you right away.

    For some drive controller chipsets, the GNU/Linux based gparted cd will not have the drivers available yet, and so in this case, gparted will not show the drive exists at all.

    As for partitioning the drive, there is no limitation except for there can only be 4 primary partitions. The two different GNU/Linux distros will be able to use the same swap partition when booted into separately.

    Here’s a link to a pretty good article that explains partitioning for multiple oses:
    http://linuxhelp.blogspot.com/2006/01/effective-partitioning-how-and-why-of.html

    Google searchterm:
    partitioning with multiple operating systems site:digg.com

    Good luck and congratulations for setting yourself free!! You will now enable yourself with technology, more than ever before.

  110. Shannon VanWagner

    “I hv created a set of Vista recovery discs using HP RECOVERY MANAGER. will this help after the partition?”

    Oh and as for the recovery process, there are no guarantees that the recovery disks will work. I myself have had bad luck with recovery disks. So you’ll never know if they work unless you have to use them. If you have spare hard drive around that you can plug in and test the recovery process, this would be optimal.

    Otherwise, you will either have to test the recovery disks on your current system (and not after installing GNU/Linux, since installing Vista will wipe out the GRUB boot loader for GNU/Linux), or (and this is a better option in my view) you can call Hewlett Packard and order a brand new set of recovery disks for your machine, for a small cost of about $29(US).

    Here’s a link to HP’s support page (with phone numbers):
    http://welcome.hp.com/country/us/en/contact/phone_assist.html#section1

    Go GNU/Linux!!!

    Shannon VanWagner
    GNU/Linux Enthusiast and IT Professional

  111. Krishna

    Thanks Shannon for the inputs

    will browse thru the links & try partitioning during the coming days. also planning to try Virtual Box as mentiond by Bernell (Oct 7th)

  112. Negar

    Gpart says that it doesn’t guarantee the 100+GB partition and partitioning such a drive, It may take almost 2 days! and i may loose my data! is there anything i can do as an alternative for Gparted or magic part?

  113. Shannon VanWagner

    Negar,

    The fact of the matter is that no partition software can faithfully *guarantee that everything will work perfectly. This is why you must make a backup copy of your important data and have any pertinent restore disks available *BEFORE using the partition utility.

    Hard drives are cheap these days, checkout pricewatch.com and get yourself a spare drive. Then use partimage(open source, featured on the partedmagic.com livecd), DriveImageXML(freeware), or Ghost(commercial) to make a backup image of your current hard drive.

    Never the less, my suggestion is that you fire up the gparted livecd and see if there’s an option to “test” the changes you want to make. This will test the operation without actually changing your disk geometry. If the test works, it’s a good bet the real operation will do just fine. But as always, backup your data FIRST.

    Shannon VanWagner
    http://healthysystem.blogspot.com
    GNU/Linux is the UNIVERSAL OPERATING SYSTEM.. tell your friends!!

  114. Krishna

    Hi Negar, Shannon and others

    Managed to reduce 289GB to 120GB on Vista in 46 min using GParted. Recovery disk was not required and Vista booted normally. Proceeded directly to CHKDSK which was completed in few minutes and Vista was up and running. Maybe SP1 and regular updates helped.

    Installed Ubuntu 8.1 on the free space – had a trouble though trying to figure out what the message NO ROOT FILE SYSTEM DEFINED meant. Later used the 3rd option from Ubuntu install menu USE THE LARGEST FREE SPACE to install Ubuntu. It converted the free space to Ext 3 file system.

    Queerly though, everytime Ubuntu shuts down there is a loud noise in the hard disk as though its ruptured. Any guidance on that ?

    Planning to partition again and install openSUSE next.

    Does Apple give a trial version or a scaled down version of its OS?

  115. Amr

    Hi, I hope you guys can help me. I am in a middle of a mess. I wanted to create a new partition on my 160GB laptop hard drive, other than the two that were already created. I used Partition Magic to create the partition not knowing that it’s unsupported by Vista. So I lost the drive letter for one of my drives (D: drive). I googled for answered and downloaded a software that supposedly fixes this issue but it got worse and now my laptop doesn’t recognize my hard drive. I tried to boot into Vista’s repair disk but it doesn’t show me my system drive (C: drive) so I can’t restore my computer, and “startup repair” doesn’t help either. I don’t know what to do now, I’m stuck. I’ll appreciate any help guys!

  116. ceravis

    Regarding partition resize speed, I just used GParted LiveCD to resize a 465gb XP partition down to 415gb, which took almost *10 hours*, despite an initial ETA of about 3.5 hours. So if it’s going slow for you, just hang in there… Note that I didn’t defrag beforehand, but I can’t think of any other reason why this took so long (maybe using a “compatibility mode” SATA driver?)

    Amr, can’t offer any advice, other than to back up your data next time before messing around with this sort of thing. A 160gb pocket sized portable hard drive can be had for less than $

  117. ceravis

    Regarding partition resize speed, I just used GParted LiveCD to resize a 465gb XP partition down to 415gb, which took almost *10 hours*, despite an initial ETA of about 3.5 hours. This on a 500GB 7200rpm with SATA 3.0gb/s interface, Core2Quad cpu. So if it’s going slow for you, just hang in there… Note that I didn’t defrag beforehand, but I can’t think of any other reason why this took so long (maybe using a “compatibility mode” SATA driver?)

    Amr, can’t offer any advice, other than to *back up your data* next time *before* messing around with this sort of thing. A 160gb pocket sized portable hard drive can be had for $70, and you can get good backup softs such as Acronis TrueImage for around $30 if you catch a good promotion. I’ve learned the hard way (more than once) that a little insurance goes a long way. Good luck!

  118. Steve GParted Lost

    Help please.

    I use GParted to reformat my hard drive partition. After reboot, I got the blank screen. I try to Window Vista Recovery Disc still have a blank screen. There is no option that I can do. I try to run the testdisk utility from GParted still have a same issue. I dont know what I need to do next. Can you help me.

    Thanks a lot.
    Steve

  119. nahguam

    Great article – Just a note as an alternative to using VistaBootPro to remove the “(recovered)” from the boot menu:

    1. Hit Start, type “cmd”, Enter.
    2. At the command prompt type “bcdedit /enum” (without the quotes) – this will list all options in the boot menu.
    3. Find the windows entry and note the ‘identifier’ (will probably be “{current}”).
    4. type: bcdedit /set {current} description “Windows Vista blah blah blah” (with quotes for more than one word in the description).
    5. Exit. Done.

  120. FF6M

    I am having serious issues. First off: my hard drive is split into two partitions: the boot drive (C:) and an extended partition that contained another, larger partition. I used gparted to shrink the partition in the extended partition, then i was able to move that free space outside the extended partition so I could make C: larger. All this worked fine. I loaded back into gparted and started to resize the C: partition into the newly unallocated space, and long story short the cancel button was pressed. It was a complete accident.
    Immediately, the C: partition’s attributes couldn’t be shown (gparted couldn’t detect the file system, free space/used space, etc.) It was still listed there, but with no labels or info and it looked different from the other drives and had warning labels.
    Now, Windows cannot load. The BIOS gives me a “Missing Operating System” message. I loaded the Vista recovery disc, chose repair, and found that my OS wasn’t listed in the repair options. The drive isn’t there. The “Load Drivers” button is nonsense; after searching around I’ve learned that you can’t do anything with it, apparently.
    Running the repair utility in the next menu doesn’t work. It just says that the boot is corrupted. chkdsk doesn’t work because it says that the C: drive file system is unknown (it was NTFS). No other commands in the prompt will work, because the C: drive, although it is there and I know everything is still on it, cannot be detected. The extended partition is fine, and it just contains program installs and media stuff.
    Nothing works. I’ve been trying to solve this for hours, every solution I’ve tried has not worked. None of the boot repair command lines will work. And, the command prompt displays x:\sources and I cannot change the DIR it points to. It simply won’t let me. Does anyone know of any recovery software of some kind? I know that the data on the drive isn’t lost. gparted can still read the total used space of the drive (strange because it can’t display the info if I just ask about the old C: partition), and the same amount of space is still used up.
    If I were to format the partition back to NTFS in gparted, would my files on the extended partition be alright? I have an install disk for the W7 beta (which is why I got into this mess – I needed to expand my C: drive because it is too small) and I could just install it on there, but if I can restore the old boot first so that I can upgrade that would be much better.
    I’m at my wit’s end here.

  121. Jerry

    I’m in the process of doing this myself and found I didn’t need to use the Vista boot disc or my laptop’s recovery discs to repair the vista boot problem. Automatic startup repair kicked in and fixed it just fine. It took a while, but vista now loads fine and is formatting the freshly created partition as I type this message.

  122. Neko

    THANK YOU GEEK! Although, i did go through the entire process without any problems at boot!

  123. Joe

    Works great – I just finished changing the size of my partitions on my Vista Business x64 machine. It took awhile because of the size of the partitions, but it worked perfectly! Thanks!

  124. Raymond

    I gonna try this. Thanks for the informative tutorial.

  125. Phil

    This has been an interesting read.

    I have a new Dell with Vista 64bit and want to put Ubuntu on it. I was thinking of using Wubi as Shanon had suggested but wondered if it was better to have Ubuntu be free of Windows while maintaing both O/S, the Dell recovery drive and a few other drives for applications, data and the such.

  126. Brandon

    Hi,

    After deleting a 10gig NTFS partition and growing and moving my booted Vista partition to the left (to gain the deleted space in the partition), it still shows the same capacity as before in Windows explorer, although in Windows disk manager it shows the full capacity of the drive. But I cannot use the full drive. Anyone have an idea of what’s wrong? Or how I can get back the full space? It’s like I’ve lost the space I was trying to gain and it’s nowhere to be find. I’ve tried disabling the System Restore, but no luck.

  127. PJM

    Hello, I’m having the same problem as “Steve GParted Lost”. Rebooting my computer after it finished the partitioning took me to a blank screen with a blinking cursor. I have tried this method and the vista repair thing. Does anyone know how to get windows to boot when this happens?

  128. Jan

    Just lost ALL my data on the Vista partition…

    I’m now doing a full re-install. Quite a disappointment. Never happened to me with the Paragon partition managers of the 90′s.

  129. L Fox

    Jan, you never had Vista in the 90′s!

  130. G.R.

    Hello, I’d like to share my experience with Vista partitioning. An attempt at this almost went wrong for me. I ended up with a black screen and a “Verifying dmi data pool” screen at bootup. But it got fixed eventually. Perhaps this information can help others.

    I wanted to resize my 290 gig C-partition to a 150 gig one and add a few smaller partitions for data. I used Gparted 0.4.3 with the gui. I noticed it had the option “round to cylinders” ticked on as default. When you leave this on, it not only resizes the partition but also entirely -moves- it to align with a nearby cylinder. This could take hours, whereby just resizing could be done in seconds. Turn this option OFF.
    When I rebooted, I was meeted with the “Verifying dmi data pool” message. I tried the Vista Recovery disc’s repair function, and it found a new partition, but after rebooting it stayed at the black screen and blinking cursor. Another go at the repair function had it scanning the partition without finding any error at all. Still after rebooting it stayed at this black screen of death. Terror! I tried to open the command console and enter commands like bootrec /fixmbr and /fixboot and reset the BCD (Boot Configuration Data) with the bcdedit command, but there was something else going on. After alot of research, I used the excellent Diskpatch program to make a log of the harddisk properties. It showed that the bootsector of every partition had matching values for the startsector of the partition and for another value in the bootsector known as the “hidden sectors” (at offset 0x1C in every partition’s bootsector, readable in decimal values with Diskpatch). Only the Vista partition had different values. The startsector read 16787925 but hidden sectors read 16789504. I edited this last value to match with the startsector value and rebooted and behold, Vista came back to life! I only had to assing some driveletters to the new partitions and Vista lived happily.

    What happened, apparently, after resizing and moving the partition, this “hidden sectors” value was not updated to match the new startsector value. This made Vista unbootable. This could have been avoided if I had turned OFF the “round to cylinders” option in Gparted, because that is what made the partition slide to a new startsector. If you have just partitioned a drive in this manner an encountered this black screen, you could check if the “hidden sectors” value in your bootpartition is different than your bootpartition’s startsector. This can be done with Diskpatch, and you can even e-mail the log to the author’s service desk for analysis, but if you want to use the program to actually edit these values, you have to buy the program. But once you know the values are not matching, you could also use free software like “Roadkil’s Boot Build” which is included on the UBCD4WIN livecd. This program shows you the values in the bootsector in -decimal- (a very important feature, otherwhise you would have to use a diskeditor to set the value in hex and in Little Endian (reversed byte order). So to sum up, it’s definitely easier to just check Diskpatch’ logfile to see if the “hidden sectors” differ from the startsector, and if so then use the UBCD4win livecd with Boot Build to set the “hidden sector” value to be the same as the startsector. Save (by using the “write to disk” – option), reboot and hopefully you will then have a deep breath of relief when Vista boots.
    Regards,
    G.R.
    Sites: http://www.diydatarecovery.com for Diskpatch, http://www.ubcd4win.com for Boot Build.

  131. Shannon VanWagner

    This article is very useful for showing how to recover your Vista to a bootable configuration, and provides great details for how to use the awesome GParted livecd to make partition changes to your machine.

    I am an IT Pro and I personally endorse the GParted livecd as being everything it’s cracked up to be, and more (including that it costs $0)!

    My advice to is to keep a copy of the latest GParted livecd in your IT disaster recovery tool box! This is an absolute must!!

    As for wasting your money on Partition magic, well I can’t really tell you what to do with your money, but wasting it is exactly what it would be if you were to purchase partition magic. Better to use the GParted livecd! If you really want to waste some money, waste it on Symantec’s Ghost (disk imaging software) – so that after you get your system setup to uber-pristine, you can take an “image” of the hard drive “as is” and then you can always easily restore your perfectly working system to a new hard drive with minimal effort. There are open source disk images as well… (see http://www.osalt.com/search?q=ghost , the alternatives listed are Ghost 4 Unix(OS independent), and Partition Image – but there are likely more too!). The point I’m trying to make is that GParted livecd is truly a great utility!!

    Now with all that being said, I want to share a few more things with you as well:
    1.) Before making ANY changes to your partitions, YOU MUST BACKUP any important data before doing it!! This can be done by burning files to cd, cloning an image of your hard drive, copying files to a USB thumb drive or even to a network location, etc. My suggestion is to get a USB external drive, checkout pricewatch(dot)com for research on price.

    2.) I use GNU/Linux full time.. but if I was going to be resizing a partition in Vista(even if I were installing GNU/Linux on another partition), I would use the built-in Vista disk management utility to do it (Windows Key + R (for run dialog), then type or paste in ‘diskmgmt.msc’ (no quotes), and then hit OK to launch the Disk Manager), then simply right click the partition you want to shrink and click “shrink” – see this article for more information: http://www.howtogeek.com/howto/windows-vista/resize-a-partition-for-free-in-windows-vista/

    Finally, why not take this wonderful moment to remove the Windoze virus alltogether and switch to GNU/Linux instead? Checkout distrowatch.com or ubuntu.com for more information.

    Stop the Tax!! Free yourself!! Use GNU/Linux!!

    Shannon VanWagner
    humans enabled

  132. Mark

    I used GParted to resize my Vista partition, and allowed it against my instincts to “shrink and move to the left”. Exactly the same happened, i.e. the Hidden Sectors value was not updated. I’ve spent a lot of time repairing partitions, but it took me 3 hours to realise this was the problem, as Vista’s bootrec and chkdsk do not touch the value. Additionally, Vista and Fedora refused to boot during this time, and Knoppix’s QTParted would not start.

    As G.R. says, DO NOT USE “round to cylinders”. It will save you hours of time and potential data corruption. It’s frankly incredible that GParted would default to performing such a risky procedure.

    Cheers,
    Mark

  133. Dan Dar3

    @Mark
    I wanted to attach the recovery partition (1st) to Windows 7 partition (2nd) – without the “round the cylinders” didn’t let me to doit something to do with “Can’t have the end before the start”. I had to reinstall W7 afterwards and the merge did take a lot longer though.

  134. Wesley

    I followed these instructions to the letter of the law. Only problem is the Windows restore DVD has failed to repair my Windows installation/startup. “Why?” you may ask. Well, I have Ubuntu installed first (it’s faster that way and I only have Vista installed on my system for very rare occasions when a graduate class requires it. At any rate, because it is occasionally required, I’m desperate to get it working again. Anyone every dealt with this problem? Please don’t tell me I have to reinstall Windows (then deal with fixing the MBR again). Please help!!!

  135. Mark

    Wesley: you’ve done the traditional dual-boot where Grub is the main bootloader, while the aim of this article is to continue to use Vista’s bootloader. You may not even need to repair your Windows boot sector. I’m guessing you have something like this in your menu.lst:

    title Vista
    root (hd0,3)
    makeactive
    chainloader +1
    boot

    If you rearranged your partitions, you’ll need to update the number after hd0 to the current partition index. Otherwise, try the commands in the first reply here – https://answers.launchpad.net/ubuntu/+source/grub/+question/64134.

  136. Wesley

    I took my message to the Ubuntu Forums as well, and one of the responses solved the issue I was experiencing. You can see the entire conversation here:
    http://ubuntuforums.org/showthread.php?p=7082848#post7082848

    Thanks for your response!

  137. Ryan D. Hatch

    Hello There -

    GParted will not be worth your time! Unless perhaps you unselect the “Round to Cylinders” option. Unknowingly – I left this option selected & resized my Vista partition. Whoops! Black screen of death, Vista would not start.

    I spent the last 6 hours fixing the problem. Finally figured it out. I’ve read all the forums, all the threads & posts everywhere. All you need is relax & read this one post. Don’t worry – it can be fixed. Whew. Many, many things did NOT work. Running “bootrec /fixmbr /fixboot /rebuildbcd” from recovery console did not work, Only using “Repair Your Computer” on Vista’s Installation DVD did not work either. My computer would just keep rebooting. You do not need DIY Recovery’s DiskPatch. Nor do you need Roadkil’s Boot Build. That stuff is wayyyy too complex and DiskPatch would not even startup using its boot CD on my machine. Here is how to the fix:

    We will be doing:
    1.) Boot Sector Recovery using TestDisk
    * http://www.cgsecurity.org/wiki/TestDisk
    * Can found on GParted Live CD!
    * Also found on Ultimate Boot CD 4 Windows
    2.) Repairing Your Computer using the Vista Installation DVD

    Using TestDisk – Boot Sector Recovery
    ——————————————————–
    * Create a log file (doesn’t really matter)
    * Select your hard drive
    * Select Intel partition table-type
    * Select Advanced / Filesystem Utils
    * Highlight your Vista Partition
    * Select Boot / Boot Sector Recovery
    * Select Rebuild Boot Sector (this will take some time while it searches MFT [Master File Table])
    * Should say “Extrapolated boot sector and current boot sector are different”
    * Select Write Boot Sector
    * Reboot, You should see Windows giving you a simple DOS-type “configuration changed” error

    Using Vista DVD – Repair Your Computer
    ———————————————————–
    * Boot off your Vista Installation DVD
    * Select Repair Your Computer
    * It will detect a problem – Select Repair & Reboot

    Vista boots up perfectly!

    Hope this helps you! This sure would have saved me /hours/ of time.

    Ryan D. Hatch

  138. Kyle

    Just letting people know i just shrunk my vista partition by 10gig using this method and everything was fine. Didnt even have to repair the vista install!

  139. Mark

    Kyle: your partition must have been on a cylinder boundary, fortunately. Until someone has time to repro and provide a fix, always make sure you turn off round to cylinders.

  140. Steve

    Help ……. I followed the instructions and got as far as booting off the Vista DVD. When I boot off the DVD it doesn’t give me the option to select my vista drive to repair. I had a dual boot system – XP was the intial OS then Vista, decided to axe XP and found this website. What am I doing wrong??? Any help is appreciated.
    Steve

  141. Dennis Gearon

    Anyone got recommendations for imaging disks? I THINK I’ve done what I need to do using ‘dd’, but I am not sure about the boot sector or the 32K or so bytes past that.

  142. jeremie

    I downloaded gparted live cd (ver 0.4.5-2) so i can create a linux partition on a currently XP laptop, i want to shrink the partition 15 gigs so i can install a version of linux, but it won’t let me. The Gparted software will only let me increase the size of the current partition of the hard drive by 7 MB, the same size partition that the XP installations creates when you load a new os.
    Can any linux gurus out there help me out? Thanks

  143. Philippe Sainte-Marie

    @Dennis Gearon:
    Have you tried PING? It worked pretty well to image a Windows 2003 server installation over the network… and restoring it. I liked the fact that it shrinked the partition before storing it, so it only takes minimal space now, so I can install other OSes too.

  144. Dennis Gearon

    @Phlippe Sainte-Marie. I’ll take a look at it, thanks!

  145. Alexander

    Yesterday I did the same procedure as I was not satisfied with the Vista partitioning tool. (Vista only alows to shrink the dirck roughly half the space.) So after playing around with Vista (deleting pagefile.sys etc.) without any better results I look at my pile of free CDs of some computer magazin and found a live Linux which also had GParted on it.

    I used GParted and encountered the same error at reboot as you have described. My first idea was to try the autorepair option of Vista and my “recovery” DVD of Vista gave me the option to repair Vista. After one minute it was done. I could not believe it! Everything works! (I have still to check the restore points, though.)

    Today I searched on the internet to read whether there might some issues using GParted to repartition my Vista harddisk and I found you page. So I am really happy to see that what I did was good and that there are usually no major sideeffects.

    Thanks for the tip and it worked for me! (Although I did not know about beforehand.)

    BTW: To copy and shrink my 460 GiB partition 50 GiB used) to 250 GiB took about 1:30 h. To copy and grow my other 450 GiB partition (3 MiB used) to 660 GiB took 4:30 h. So the whole afternoon yesterday was gone with repartitioning the hard disc. Sigh!

    Regards

    Alexander

  146. tamilsweet

    I used GParted to create partitions in my Dell Inspiron 1545 with 217GB Partiton.
    15GB Recovery partition is left untouched
    It took me just 10min to repartition and reboot successfully with Vista.
    Resized 217 GB to 60GB
    3GB Swap
    20GB ext3 – for linux root
    20GB ext3 – for linux home
    40GB FAT32 – for data storage
    72GB FAT32 – for multimedia storage

  147. Anon

    Sadly enough I did not get it right to extend my Vista boot partition from 31gb(yeah lol its small) to 61 gig(have another free partition on the same hdd)

    I do as told…dl the gparted liveCd…burn it…boot from it

    Now this is where I encountered my first problems,it doesnt look like the thing as described in the pictures and throws an error(its a cmd window,black and not like in the pics)

    Guess I am doomed to reinstall again….setup my itunes again *sigh*

  148. Dr. Venkmann

    THEREIS MUCH BAD INFORMATION HERE. I will address only a few.
    1) Vista comes with it’s own partition manager that is very competent — if you stick with using it and do not mix Linux-based GParted or the better Partition Magic AFTER you have made 4 primary partitions with Vista. This is critical with SATA hard drives as they cannot have more than 15 partition NUMBERS as opposed to SPACES or VOLUMES. This means you can only have 14 actual physical volumes when using any parition mananger with a SATA drive. This is becasue SATA will allow either 4 primary partitions or 3 primaries annd up to 12 LOGICAL VOLUMES (Linus-speak)or EXTENDED PARTITIONS in Window-speak. The diffferencein terminology is critical here as in theLinux world one partition number istaken up by a – for want of a better phrase – a “boundary line” between primary partitions and logical volumes. So here is exactly what a linux partition table will look likeon a SATA har drive of any size maximized:

    Primary Partitions 1,2,3 Whether made by windows or linux these partitions will have actual space allocated to them.
    Partition 4 – Made by Windows this partition will have actual volume. Linux can do this too BUT if you want more than 4 partitions and are using a Linux partitioning product Partition 4 will be created more or less as a border that defines the tota; space that the 11Logical Volumes willl be contained.So in SATA Linux speak sda1,2 and 3 are primary partitions wtih actual volume. Sda 4 will be an extended partition that contains all the logical volumesup to the maximum of 11. So there it is; 14 partitions and 15 numbers. Thats all for this time.
    Cheers with Linux & Vista,
    Dr. Venkmann (Retired)
    Canada

  149. Finzl

    @Brandon
    You need to resize the volume with ntfsresize if your computer shows two different sizes.
    Open console and type something ntfsresize -i /dev/hda1 to show your settings, then ntfsresize -s SIZE -n /dev/hda1, where SIZE has to be the size of your device in bytes, to test the volume resizing. If there are no errors, do it without the option -n and it’ll write the correct volume size to the partition table.

  150. simon

    Thanks alot for this, wish it didnt take me so long to find it.

  151. Jon M

    PROBLEM SOLVED! I had the whole “round to cylinders” issue which rendered Vista useless – black screen with flashing cursor. However following the instructions above from Ryan D Hatch I was able to fix my system.

    Oddly enough though testdisk seemed to think my Vista partition was FAT rather NTFS so before I could fix the boot sector I had to Analyse which correctly detected it as NTFS, label it as primary bootable then rewrite the partition table.

  152. brett

    Hey guy, so i was thinkin about using this but i have a question, i have linux on my computer now and want to install vista, i tru and because you have do to a “clean install” you have to deal with partitions, i beleave mine are to small cause it wont let me hit next?? will this thread help? and when doing the repair is it guarenteed to repair it??

    Thanks Brett

  153. Dmitry Ukolov

    Hi,
    I try to realign boot partition (moved it from 31,5 kb offset) on the Vista Home Premium 64 bit (I have installed SSD disk).
    On booting I got the error, as described in article.
    I used Vista DVD, it repair the disk (very fast).
    But when booting I got BSOD – STOP 0x0000007E, 0xffffffffC0000005… (unhandled exception… Access violation…)
    I try leave 1 memory stick (2 Gb) – no effect.
    In safe mode I see last line “loaded CRCDISK.SYS”, then after 1 second delay it show BSOD.

    I search resolve, but not found.
    after 3 hour I moved boot partition back (to 0 offset) – and Vista boot successfuly.

    if anybody know, how resolve this problem (or how to define bad driver) – please, help me.

    P.S. “round to cylinders” was unchecked

  154. Ivan

    Thanks for the great tip Ryan. I was also getting the dreaded \boot\bcd 0xc0000225 error. Your tip made everything work (after trying all the same things you did)

  155. Christina

    I know this is a really old thread, but now that Windows 7 is out, perhaps we can rekindle the embers?

    Does anyone have any experience doing this with Windows 7? Does it screw up the OS?

    I am about to try….

  156. Dark Phoenix

    This was fantastic. was the very lucky one that didn’t need a Windows CD after using GParted Live. it was so simple I feel ashamed I’ve been looking for a re-partition solution for over a week now. One thing though, I would peronsally use GParted version 0.4.8-6 instead of the one listed on the link above. It can be found here:

    http://sourceforge.net/projects/gparted/files/gparted-live-stable/OldFiles/0.4.8-6/gparted-live-0.4.8-6.iso/download

  157. Mike

    This is more of a comment on content. I think that an article (or series) needs to be created that holistically blends some of the solutions I get from time to time here on your site. A move beyond tactical recovery to strategic recovery.

    I will give you an example:
    When I get a machine I image it using an imaging tool (Ghost, Acronis, ImageXML etc.) right out of the box after I make sure the computer will boot and work before I connect it to the Internet.

    Now I do any heavy lifting like create partitions etc. Disc management and how, why and when you would do it explaining the scenarios.

    Then I customize the system, add restore points, add software, rip out the junk-ware etc. etc. (this part could take on whole article itself if you include explaining the restore point, recovery console and the reasons for doing it) and make another customized image.

    I also setup a small plastic box for disks and a file folder with all the junk (manuals etc.) in the boxes. Finally as far as the record keeping goes I save all the drivers, online manuals, etc. etc. so that years later after all the stuff has been pulled off the sites I still have the information. Sometimes I even save a record of the BIOS settings if I am unfamiliar with the BIOS.

    Now I connect the computer, patch it and do what I need from the Internet and make a final image. I also use a seperate USB, external HD to store my temporary, but vital data, regularly that is re-gu-lar-ly.

    Now I am bullet proof (against all but really bad hardware issues like smoking the motherboard). In almost any situtation now I can back-step this machine to a previous image in about an hour. Lose a drive no problem, drop the boot strap, not an issue, get a virus all in a day’s work. I just nuke and pave the hard drive do repairs and load my last image, add data and presto chango back in business.

  158. WeSam Abdallah

    Ryan D. Hatch, Thank you soooo much for the tip. I had the same exact problem with BCD 0xc0000225 and your solution is the real fix after I tried everything else, I even rebuilt the BCD file manually using bcdedit.exe. I also wasted 6-8 hours on it and was going to format and reinstall everything.

  159. Justin Goldberg

    Actually partition magic throws up too many errors. Acronis Disk Director works in times when Partition Magic gives up. Is this for safety reasons? Possibly.

  160. tahfo

    Gparted worked for me. I was able to partition my C: drive under Vista. The latest release worked fine but it took about five hours to complete. At the first boot of Vista it went into startup repair mode for over an hour and then the system came up OK. I used XPburncd to burn the ISO. This is the best software I used to burn ISO because I tried other freeware but most don’t work well.

  161. MikeB

    Thanks for all the great info, in the tutorial and in the comments, guys! Pretty nervous at first, but using Gparted live was a cinch. I had to chkdisk /f before I could shrink the Vista partition, but after that, it went really smoothly. I did have to use the Vista recovery/repair disk, but I used the one I downloaded from Neosmart (linked in one of the comments above) and it worked perfectly.

  162. calebstein

    I used GParted to partition my HD for FreeBSD, and I didn’t have to repair Windows :)

    Also, I love the ability to edit the partition flags.

  163. Peter

    Hi,

    My disk was divided into two partition’s 40Gb for the system (C:) and 160Gb for data (D:). But the system disk was running out of space, so I resized D: to 40 Gb and extended the size of C: to 160Gb.

    After booting Vista, It can see and use the new D-drive, but then it becomes funny – Vista is reporting that the drive still is 40Gb, but is located on a 160Gb partition. So I have unusede space on that partition.

    Has anyone succeded in extending a partition in Vista using GParted? – I used the newest avaliable version.

  164. hilltop-al

    Just wanted to say this procedure works for Windows XP, too. Great article. I deleted an unneeded partition and followed your steps to expand my C partition to fill the disk. No further repairs were needed. It booted up, automatically ran checkdisk, and all’s well. Thanks.

  165. bongo1

    HI. I didn’t see anyone mention chkdsk /r. If you have problems after resizing. pull the drive and put it in another computer. Then go to cmd prompt and run chkdsk /r . Just the first step but sometimes thats the one you need. You cannot resize a system partition when you are booted from it. You can resize a system partition using a windows boot disc and the diskpart command. This is the only way supported by Microsoft. Cheers.

  166. Matt

    Has there any fixes in gparted for the Vista specific problems reported on this forum? It would be nice to have a menu item or button just for properly setting up gparted for Vista partition resizing.

  167. JJ

    thank you so much! just what I needed and when I needed it!

  168. David

    From what I’ve read, I believe the greatest majority of issues using GParted with Vista occur when *shrinking* partitions, not *enlarging* them. In fact, there is a warning in the README for my version of GParted specifically stating not to use the tool to shrink a Vista partition.

    I am getting ready to enlarge a Vista partition to free up space for a WIn 7 migration. Can anyone report problems *enlarging* a Vista partition with GParted?

    Thanks

  169. Peter

    Hi David,

    see my comment April 19, 2010.
    I enlarge the system partition, but all the extra space is not used.
    Have not seen any solution yet.

  170. Alex D

    I had the same problem with a Windows Server 2008 R2 system – except the 2k8r2 DVD doesn’t have the auto repair functionality. I booted it with a Windows Vista DVD instead, and it was able to fix it! Yay!

    Thanks for this article.

  171. Daniel Raju

    Whoever wrote the above article,I thank him from the very core of my heart. You saved me from another install.Thanks !!!

  172. Mohammad

    For Windows 2008 R2 there isn’t a auto repair like Alex D mentioned. You can either use the Vista DVD like Alex did or you can use the command prompt from the repair option, change the directory to “recovery” and then run StartRep.exe

    This will do a basic functionality which worked for me after I resized the boot partition. Looks good. Thanks.

  173. Alex Leonard

    Well I just tested this out on my brand new HP 8540w with Win7 Pro. Booted into xubuntu 10.04 live cd I had and ran gParted from there. Resized my C partition, restarted, Win7 ran a chkdsk, restarted, and booted up straight away. Nice one :)

  174. Flan

    A complete lack of skill to resize your partition in such an ugly way.

  175. Bol

    It works fine with Windows 7 Ultimate x86, too.

    W7 has two partitions: 1 for boot and 1 for system. Resize the system partition with this procedure and it works fine.

    Thank you.

  176. daa

    i can convert 49 gb hard disk to 325 hard disk

  177. Forest wang

    MiniTool Partition Wizard can do support windows7 and vista,maybe you can try it to resize your partition

  178. mohsen

    Great!
    I’ve got a Dell Vostro 430 with a 250 GB hard drive and Windows 7 Home premium onboard. There was no way to reduce the size of the primary partition below 114 Gb, that is half the total size of the hd. I tried everything including Windows embedded partition manager, Acronis Disk Director Suite 11…etc. Not even DEll’s technical support could be of much help. They suggested a clean reinstall, which I did with the Recovery medium, but I wasn’t even given the possibility of formatting or resizing the OS partition. Then I found this topic, I downloaded the most recent stable version of Gparted livecd and everything went fine. Once the partition resizing completed (it didn’t take more than 15 minutes), all I had to do was to reboot the pc. I didn’t even need to run the repair procedure from the Resource dvd. Windows “spontaneously” took it on his own to perform the partition check and, then, the system booted up as usual.

  179. satans cock

    Win 7 x64 here

    160gb disk.

    Used gparted and slimmed it down to 60gb :)

    Made sure to get rid of big files and did a defrag in front. No problems with booting into windows afterwards :)

  180. Tim

    This worked perfectly until the repair and restart dialog box. That’s when Windows said it couldn’t be repaired and I ultimately scrapped 3 hrs of work, wiped the windows partition and reinstalled it from scratch. Lesson learned, from Win 95 to Vista, just reinstall the whole thing. Every. Single. Time.

  181. Tim

    I should add that this was with a Macbook Pro 10.6 using Vista 32 on bootcamp.

  182. one19

    Worked perfectly for me! Here’s my scenario
    1. Windows 64-bit and Windows 32-bit on a 160GB laptop
    2. Used CloneZilla to make a disk-to-disk image to a 320GB laptop
    3. Use GParted to move/resize the partitions.
    4. “Windows failed to start” error
    5. Booted from Windows 7 DVD and selected “Repair Computer”
    6. Re-started and everything was fine!

  183. Mike

    I can verify that the procedure worked with GParted (version 0.7.0) from Debian Squeze — not the live CD. When booting into Windows Vista the DVD was unnecessary, it initiated the disk check and then rebooted, then all was usable.

    This was especially helpful, as it was not possible to resize from Vista even after trying recommended methods to move the system files, which were preventing Vista from resizing below what I wanted.

  184. Sandeep

    I have one of those computers that were shipped with windows vista but windows 7 would be shipped as an included upgrade after coming out. I only have he vista installation cds but my computer runs on windows 7. Will this still work?

  185. ajfudge

    @Sandeep
    Maybe you could try using Windows 7 Repair Disc (or Windows 7 Recovery Disc). It can be downloaded, but I forgot where I got mine.

    Anyway, I tried this on a Windows 7 64-bit machine.
    At first, there was an error, but I guess that was just me accidentally pressing on my keyboard.
    So I tried it a second time, and it worked perfectly fine.
    It was completed in more or less 10 mins.

    I don’t know why the built-in Shrink Volume method was so selfish with disk space. Hmp.
    Thank you for this tip.

  186. ajfudge

    PS: I also belong to the lucky ones who didn’t have to do startup repair.
    So I guess this works fine in Windows 7, as I’ve observed from the other comments.

  187. flo

    high. i stopped counting the hours and attempts ;-)… but:
    i’m trying the following on a brand new macbook pro (500gb) with OS X 10.6.7:
    4 partitions:
    1 for my daily OS X
    1 OS X testdrive for all the “experiments”
    1 ext4-partition for linux
    1 ntfs with installed win7 pro x64

    before i splitted my hd, i installed win7 with bootcamp from os x. now i had 2 partitions: a running os x and win7. fine.
    then i created the other 2 partitions with gparted. now i can install the test-os x and linux. fine.
    but not fine: win7 is no longer bootable. when i try to repair disc with the installation-win7-dvd, then it says: not possible; not working with this version of windows (what the f**k?… just installed it from this disc!). or sometimes: does not support this GPT (GUID Partition Table). means what?
    when starting up from os x, all partitions are showing up on my desktop. seems to be a more windowed problem. perhaps 3 operating systems and 4 partitions are just too much…
    idea? anyone? yeah, i know, this is definitively not a comment ^_^…

  188. Joan Luc Labòrda

    I have a problem after resizing partitions on a windows machine : the explorer cannot use all the amount of a resized partition.

    The was 14 Go on the system volume of Windows-XP Pro i resized it an encreased it to about 40 Go : the Windows Disk Manager see the correct partition size but the explorer don’t use more than 14 Go.
    I tried to make a filesystem verification but that doesn’t help.

    Do someone have an idea ?

  189. Joan Luc Labòrda

    Maybe an explanation to what occured with taht resizing problem is that the windows system volume i had to resize was fragmented and i could not have it defragmented completly ?

  190. robert christ

    tried this with qtparted on my new 320gb acer laptop. Resized c: down to 40gb from 200+gb. Windows restore cd wasn’t able to fix it so I just reinstalled windows using the Acer restore cd’s and windows used the newly resized and inoperable partition (40gb). Takes a little bit longer but I know everything is right with the instalation which puts my mind at ease. I have tried this on another laptop by putting the hard drive on a cable controler and using windows embedded partition manager on my desktop. This methode worked straight out of the gate no repair involved but I was only able to reduce the size of the windows partition by 45% which wasn’t benitifical seeing as the whole point is to isolate your c drive from your data so that backing up and restoring windows isn’t complecated by any data stored on the partition.

  191. Becky

    Thank you so much for this atricle, it saved me time!

  192. Iza

    Ryan Hatch, THANK YOU so much. You basically saved my life.

  193. wqmichelle

    Actually, I used easeus partition master to resize my partition on vista. It ease to use.

  194. sind

    Hi, a friend of mine tried helping me resize partitions, with acronis, moved 10gb from D , then merged the new unalocated 10 Gb with my C. It took about 20 min on a celeron mobile 1.86 GHz 1gb ram. After rebooting it said Coul not locate operating sistem!!!
    I had Vista home basic, tried reinstalling Xp Sp3, I select new partition wich was formated in EXT3 I do not know why and win wont install on eighter d ( NTFS) nor the new E Says RAW. I get the mess: win has to instal some files on my disk. But none of the partitions are fit for instalation!!!
    Whatever shall i do?
    Please help!

  195. Ken

    I used these instructions with a Windows 2008 R2 server. The same issue came up. I didn’t get the “Repair Your Computer” option. I was able to fix the problem by using the repair command line and using bcdedit to fixed the problematic lines. You’ll notice they show ‘unknown’ instead of things like ‘partition=C:’. If you search the web for bcdedit you’ll find examples of using the /set flag. Once I did that, the system booted right up! FIXED!!

  196. Andy

    Thanks for the tool, worked very well, and I didn’t need the Vista boot CD.

    When it rebooted, it started running the disk check the first time on it’s own anyhow, and all is well. :-)

    setup:

    vista ultimate (my media centre)
    1000gb HD, that I didn’t make the C big enough on originally…
    so this was a move the D (500gb of data) to the right slightly, and then ask C to expand by 30gb.

    Took 12-14 hours, but did the job.

    thank you!

  197. Magesh

    Hi Guys,

    I have an external harddrive of 500GB with 300GB of data. At any cost i do not want to lose my data.

    Now i want to create a new partition of 100 GB.

    Will the above method will suit me???? Please help me here.

    Thanks!!!!!

Enter Your Email Here to Get Access for Free:

Go check your email!