tried to partition vista/ubuntu, lost 83gb of my hd

Asked by Dylan Clark

hi. i tried to install Ubuntu 10.04 LTS from my USB drive.
i tried to partition my HD for 82.9GB for Ubuntu (thats just the number Ubuntu suggested when i went to the partitioning part of the installation wizard) and got an error code 10. i gave up trying to do it on this PC, will be getting a fresh one to play with in a week or so. when i boot windows for the first time after failed installation/partitioning, the computer comes up black screen, white text, and checks the disk for bad sectors and verifies security somethings, says everything is a-OK. then i log on, restart as prompted, and all seems good. except that my hard drive is now magically 82.9GB smaller (used to be 298GB, 170 free space. now it is 205, 116 free.) i have lost no data or files or anything, just that i now have less free space on my HD. what can i do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gparted Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Dylan Clark (dmarleyc) said :
#1

i went to computer management and saw that my computer now has 77.22GB of "unallocated space." i toyed around with the options, and so far, i have only been able to make it into a new drive or make it into "free space." how can i merge this with my C: drive?

this is a screenshot.

http://tinypic.com/r/2ppmz9g/7

Revision history for this message
Dylan Clark (dmarleyc) said :
#2

i went to computer management and saw that my computer now has 77.22GB of "unallocated space." i toyed around with the options, and so far, i have only been able to make it into a new drive or make it into "free space." how can i merge this with my C: drive?

this is a screenshot.

http://tinypic.com/r/2ppmz9g/7

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#3

The Ubuntu installer was able to shrink down your Windows system by about 83 GB, even though it wasn't able to finish installing itself. So, you need to:

(1) Remove any new partitions that Ubuntu created after the end of the newly shrunken-down NTFS partition. The NTFS partition (or partitions) belong to your Windows system, so don't delete it/those. Also, if you see FAT32 and/or FAT16 partitions, don't mess with those either. A default installation of Ubuntu creates two such partitions, the second much smaller than the first. It's possible that Ubuntu wasn't able to create these partitions (or that it was able to create one but not the other), so in that case you might skip, or partially skip, this step.

(2) If the operation you just completed deleted partitions out of an "extended partition" (which a kind of "super partition", serving as containers for partitions), and the extended partition is now empty, then delete the extended partition. If the extended partition is not empty (for example, if it also contains your Windows partition), then do *not* delete it.

(3) "Stretch out" your Windows partition (the largest, and probably rightmost, NTFS partition) to its original size (i.e. to take up the entire physical disk, to the right).

There are two ways to accomplish all three of these steps:

(1) If you have Windows Vista or Windows 7, you can safely repartition the system drive with the Disk Manager, though you'll probably asked to reboot to complete the operations (which is OK). Right click My Computer and click Manage, or click the start menu, type "diskmgmt.msc" (without the quotes) into the text box, and press enter. This will enable you to examine your physical disk, see the partitions on it, remove partitions, and resize partitions.

(2) If you have an earlier version of Windows, then the Disk Manager doesn't have this functionality. In that case, you can do this with GParted. To do that, boot from the Ubuntu Desktop Install CD, select Try Ubuntu, and go to System > Administration > GParted Partition Editor. If you have to delete partitions, and you went with the defaults during your installation attempt, then the big partition (if it exists) will be of type ext4, and the small partition after that (if it exists) will be of type linux-swap. If you feel like using this method instead of method #1 even on a Windows Vista or Windows 7 system, that's OK. (Method #1 will only work on Windows Vista and Windows 7 systems, but this method will no matter what Windows system you're running.)

If you find that you need additional assistance with either of these methods, please feel free to post again.

Occasionally data loss occurs when attempting to dynamically resize partitions, so if you have any important data (e.g. documents) on your Windows system that hasn't been backed up, you should make sure to back them up before performing this procedure. That is the case whether you use the Disk Manager or GParted.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#4

I just saw your recent post.

Right-click on the section of the drive labelled C:, and click "Extend Volume".

If that doesn't work, please describe why not, give the full text of any error messages, and also, if possible, provide a higher-resolution screenshot. If tinypic.com doesn't let you post higher-resolution images, you could use a site like http://postimage.org.

Revision history for this message
Dylan Clark (dmarleyc) said :
#5

thanks eliah, when i right click on C: the option to "extend volume" is grayed out (cant select it, etc.) but i was able to make it into another drive (labeled R:), so i can use the HD space, it's just not consolidated. and i did some more extensive Googling of the problem and found that vista/7 wont let you "extend volume" unless both the one you want to extend and the volume you want to absorb, if you will, are void of data/files. maybe there is a 3rd party way since Bill Gates/Satan wont let me screw around with my own hard drive?

and tinypic is good for all resolutions, im just used to resizing pictures in forums and didnt think about the fact that i was posting a link.

http://tinypic.com/r/mltj89/7

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#6

There is a "3rd party" way -- use GParted, as described above.

Revision history for this message
Dylan Clark (dmarleyc) said :
#7

do i need to return the newly created R: drive to "unallocated" or "free space" in order for this to work?

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#8

If you have created a new partition in the previously unallocated 83 GB, then you'll need to delete that partition before resizing the Windows partition to take up all the available space. You can delete it in GParted. However, if you have files in it, you should certainly copy them somewhere else before deleting the partition.

Revision history for this message
Dylan Clark (dmarleyc) said :
#9

okay. gonna try it now

Revision history for this message
Dylan Clark (dmarleyc) said :
#10

you sir, are a genius. thanks a bunch!

Revision history for this message
Dylan Clark (dmarleyc) said :
#11

Thanks Eliah Kagan, that solved my question.