1 (edited by zeppo 2009-12-18 03:47:17)

Topic: SOLVED - New: Current NTFS Volume Size is bigger than the device size

I am having the same problem that it looks like a lot of other people are having. I have two partitions on my computer: one for windows xp and one for windows 7. I decided to shrink my xp partition and add that space to my windows 7 partition. It seems that it is the xp partition that is the one that is messed up, though I cannot boot to either os.

I believe I used the latest version of GParted: gparted-live-0.5.0-3

after running fdisk -l -u I got the output:

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
units= sectors of 1*512= 512 bytes
disk identifier: 0x0a230a22
Device           Boot       Start                  End              Blocks         id        System
/dev/sda1        *           63              136022354     68011146      7      HPFS/NTFS
/dev/sda2                136022355     1250258624    557118135    7      HPFS/NTFS


after running parted /dev/sda unit s print I got the output

Model: ATA WDC WD6400AAKS -0 (scsi)
Disk /dev/sda: 1250263728s
Sector Size (logical/physical): 512B/512B
Partition Table: msdos
Number      Start                End                    Size             Type     File System    Flags
1                 63s          136022354s      136022292s     primary       ntfs           boot
2          136022355s    1250258624s   1114236270s    primary       ntfs

Here are my links to the .pbr and .mbr files

http://www.mediafire.com/file/mgwomyyte … anjait.pbr
http://www.mediafire.com/file/ddfocdmzn … anjait.mbr

sda1 was the partition that I shrunk and sda2 was the partition that I increased.

Any help with this would be greatly appreciated.

2

Re: SOLVED - New: Current NTFS Volume Size is bigger than the device size

Just an update:

After looking through the forums and looking at what gedakc was doing I decided to try and figure out how to fix it myself. It took me a little while to figure out I needed a hex editor to edit the .pbr files and that the hex numbers were backwards.

In my .pbr file I changed 00 D3 C9 14 (which is 348771072 or 14 C9 D3 00 in hex) to 13 89 1B 08 (which is 136022291 or 08 1B 89 13 in hex)

I got the number 136022291 because it is one less than the size of sda1, the partition that was having problems.

As of right now I can only boot to windows xp ( the partition having problems), not windows 7 but I am running chkdsk so hopefully that will fix it.

I hope these details might help out anyone who is impatient like me and wants to try and fix it on their own smile

3

Re: SOLVED - New: Current NTFS Volume Size is bigger than the device size

dare I try this????

Let me know if chkdsk works....I am facing the EXACT same scenario as you are (were).

4

Re: SOLVED - New: Current NTFS Volume Size is bigger than the device size

Hi zeppo.

I am glad to see that you appear to have figured out how to solve the problem for XP.

Please let me know how you make out with Windows 7 too.

5

Re: SOLVED - New: Current NTFS Volume Size is bigger than the device size

Chkdsk did not solve the problem, but I was able to fix it by loading my Windows 7 CD and using the startup recovery. I think you can mark this one as solved!

6

Re: SOLVED - New: Current NTFS Volume Size is bigger than the device size

I am glad to hear that you solved the problem.  smile

I have edited the initial post and prefixed the title with SOLVED.