PDA

View Full Version : [SOLVED] delete vista hidden partition?



cairnzi
January 9th, 2011, 04:01 PM
hi folks, can some kind soul tell me how to remove/delete my vista hidden partition? it takes up nearly 10Gb and i'm never going to use it again,i'm running 10.04 at the moment,many thanks.

CaptainMark
January 9th, 2011, 04:07 PM
Are you sure its not needed, it could contain critical files which may stop your system booting? If your sure then from ubuntu go to the system menu > Administration > GParted select the partition and unmount then delete it from there, you can expand other partitions to use the space easily or make a new one from there. Just make sure you defragment any windows partitions before changing their size to reduce chance of complications

cairnzi
January 9th, 2011, 04:26 PM
@CaptainMark, sorry i should have said gparted does not see the hidden partition? any ideas would be great, thanks.

CaptainMark
January 9th, 2011, 04:34 PM
in a terminal type
sudo fdisk -ldoes it appear there? anmd if so what is it you wish to do with the free space once youve removed it?

cairnzi
January 9th, 2011, 05:34 PM
here is what i get with sudo fdisk -l




sk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c0a65

Device Boot Start End Blocks Id System
/dev/sda1 * 1 63 498688 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 63 12162 97184769 5 Extended
/dev/sda5 63 12162 97184768 83 Linux

CharlesA
January 9th, 2011, 05:40 PM
The partition setup looks fine except for the "Partition 1 does not end on cylinder boundary." part.

You've got a partition for swap and one for the Linux install.

I don't see anything for Windows.

cairnzi
January 9th, 2011, 06:00 PM
@CharlesA, yeah i noticed that aswell but i no there is a hidden partition as gparted only see's 93.66Gb and as you can see from the output it does not give me the whole of my hard drive, any ideas how to get all my hard drive space back?

CharlesA
January 9th, 2011, 06:05 PM
If it's a true 100GB drive, then there will always be some "wasted space" due to how hard drive manufactures calculate drive space (1,000,000 = 1 MB) instead of using binary bits (1,048,576 = 1 MB)

See here (http://en.wikipedia.org/wiki/Megabyte).

Verbeck
January 9th, 2011, 06:18 PM
1 gigabytes = 1 073 741 824 bytes
100 000 000 000 bytes (how they calculate 100 gb) divided by 1 073 741 824 bytes = 93.132257462


edit: late again

cairnzi
January 9th, 2011, 06:24 PM
@CharlesA,Verbeck cheers, just thought i had a bit of my HDD missing lol, many thanks.