New HD, XP Sees Old HD Size

Status
Not open for further replies.

ZigZag_58

Distinguished
Sep 23, 2011
6
0
18,510
Howdy folks,

The ~60GB HD boot drive (C:) on my Windows XP machine failed. Installed a new Western Digital 300GB EIDE drive and then restored a full backup of the old drive, with the OS. The machine boots and works properly, except that Windows reports the capacity of the new drive as ~60GB (even though Device Manager sees the new drive's model number). BIOS sees the full ~300GB, as does EASEUS Partition Manager. How can I get XP to see and use the entire ~300GB? -- ZigZag '58
 
Solution
The capacity of PHYSICALDRIVE0 is ...

60138 Cylinders x 165 Heads x 63 Sectors Per Track x 512 BytesPerSector = 320GB

Similarly, the capacities for PHYSICALDRIVE1 and PHYSICALDRIVE2 are ...

24792 x 255 x 63 x 512 = 204GB

121600 x 255 x 63 x 512 = 1000GB

PHYSICALDRIVE0 has two partitions.

Partition #1 has a size of 7.5GB and a type of 0x11. This is probably a rescue partition of some kind. The following page suggests that it may be a hidden OS/2 partition.

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

The partition table in the MBR is indicating that the second partition is an NTFS (0x07) partition with a size of 610400448 sectors, ie 312.5 GB.

However, the volume information in the boot sector doesn't match the...

jivdis1x

Distinguished
Nov 18, 2006
300
0
18,790
The other portion is not partition. look under admin tools in control panel then computer management and storage.

Under storage, click disk management.

you'll see you disk with some portion gray out. click it and do what you want.
 

ZigZag_58

Distinguished
Sep 23, 2011
6
0
18,510
Disk Management says the C: drive is "296.1 GB NTFS - Healthy (System)." That's the entire drive. But My Computer/Properties lists it as 67.4 GB with 7.72GB free (it was an 80GB drive, not 60GB, as I first reported).
 

ZigZag_58

Distinguished
Sep 23, 2011
6
0
18,510
It looks like one large partition in BIOS and the Disk Management utility -- there's no unallocated space.

One guy I know suggested creating a second partition on the C drive as a way of forcing XP to see reality. What do you think?

ZZ '58
 

ZigZag_58

Distinguished
Sep 23, 2011
6
0
18,510
Here's the report -- no hex dump....

ZZ_58

C:\>secinspect.exe -n
0001.033

Sector Inspector Copyright Microsoft Corporation 2003
===========================================================================
Target - \\.\PHYSICALDRIVE0
60138 Cylinders
165 Heads
63 Sectors Per Track
512 BytesPerSector
12 MediaType

===========================================================================
Master Boot Record
===========================================================================
| B | FS TYPE | START | END | | |
| F | (hex) | C H S| C H S| RELATIVE | TOTAL |
===========================================================================
| | 11 | 0 1 1| 917 164 63| 63| 14741937|
| * | 07 | 917 165 1|1023 254 63| 14742000| 610400448|
| | 00 | 0 0 0| 0 0 0| 0| 0|
| | 00 | 0 0 0| 0 0 0| 0| 0|
===========================================================================
Disk Signature 0xd0c4b2ef

Partition #2 NTFS backup boot sector at LBN 625142447.

---------------------------------------------------------------------------
Primary Partition 1
---------------------------------------------------------------------------

---------------------------------------------------------------------------
Primary Partition 2
NTFS BIOS Parameter Block Information

BytesPerSector : 512
Sectors Per Cluster : 8
ReservedSectors : 0
Fats : 0
RootEntries : 0
Small Sectors : 0 ( 0 MB )
Media Type : 248 ( 0xf8 )
SectorsPerFat : 0
SectorsPerTrack : 63
Heads : 240
Hidden Sectors : 14742000
Large Sectors : 0 ( 0 MB )

ClustersPerFRS : 246
Clust/IndxAllocBuf : 1
NumberSectors : 141538319 ( 69110.5 MB )
MftStartLcn : 786432
Mft2StartLcn : 16
SerialNumber : 6807422694017119565
Checksum : 0 (0x0)

---------------------------------------------------------------------------



===========================================================================
Target - \\.\PHYSICALDRIVE1
24792 Cylinders
255 Heads
63 Sectors Per Track
512 BytesPerSector
12 MediaType

===========================================================================
Master Boot Record
===========================================================================
| B | FS TYPE | START | END | | |
| F | (hex) | C H S| C H S| RELATIVE | TOTAL |
===========================================================================
| | 07 | 0 1 1|1023 254 63| 63| 398283417|
| | 00 | 0 0 0| 0 0 0| 0| 0|
| | 00 | 0 0 0| 0 0 0| 0| 0|
| | 00 | 0 0 0| 0 0 0| 0| 0|
===========================================================================
Disk Signature 0xa8b49890

Partition #1 NTFS backup boot sector at LBN 398283479.

---------------------------------------------------------------------------
Primary Partition 1
NTFS BIOS Parameter Block Information

BytesPerSector : 512
Sectors Per Cluster : 8
ReservedSectors : 0
Fats : 0
RootEntries : 0
Small Sectors : 0 ( 0 MB )
Media Type : 248 ( 0xf8 )
SectorsPerFat : 0
SectorsPerTrack : 63
Heads : 255
Hidden Sectors : 63
Large Sectors : 0 ( 0 MB )

ClustersPerFRS : 246
Clust/IndxAllocBuf : 1
NumberSectors : 398283416 ( 194474 MB )
MftStartLcn : 786432
Mft2StartLcn : 24892713
SerialNumber : 1326395321341536149
Checksum : 0 (0x0)

---------------------------------------------------------------------------




===========================================================================
Target - \\.\PHYSICALDRIVE2
121600 Cylinders
255 Heads
63 Sectors Per Track
512 BytesPerSector
12 MediaType

===========================================================================
Master Boot Record
===========================================================================
| B | FS TYPE | START | END | | |
| F | (hex) | C H S| C H S| RELATIVE | TOTAL |
===========================================================================
| | 07 | 0 32 33|1023 254 63| 2048| 1953517568|
| | 00 | 0 0 0| 0 0 0| 0| 0|
| | 00 | 0 0 0| 0 0 0| 0| 0|
| | 00 | 0 0 0| 0 0 0| 0| 0|
===========================================================================
Disk Signature 0x000e007b

Partition #1 NTFS backup boot sector at LBN 1953519615.

---------------------------------------------------------------------------
Primary Partition 1
NTFS BIOS Parameter Block Information

BytesPerSector : 512
Sectors Per Cluster : 8
ReservedSectors : 0
Fats : 0
RootEntries : 0
Small Sectors : 0 ( 0 MB )
Media Type : 248 ( 0xf8 )
SectorsPerFat : 0
SectorsPerTrack : 63
Heads : 255
Hidden Sectors : 2048
Large Sectors : 0 ( 0 MB )

ClustersPerFRS : 246
Clust/IndxAllocBuf : 1
NumberSectors : 1953517567 ( 953866 MB )
MftStartLcn : 786432
Mft2StartLcn : 122094847
SerialNumber : 2364593526760088774
Checksum : 0 (0x0)

---------------------------------------------------------------------------





C:\>
 
The capacity of PHYSICALDRIVE0 is ...

60138 Cylinders x 165 Heads x 63 Sectors Per Track x 512 BytesPerSector = 320GB

Similarly, the capacities for PHYSICALDRIVE1 and PHYSICALDRIVE2 are ...

24792 x 255 x 63 x 512 = 204GB

121600 x 255 x 63 x 512 = 1000GB

PHYSICALDRIVE0 has two partitions.

Partition #1 has a size of 7.5GB and a type of 0x11. This is probably a rescue partition of some kind. The following page suggests that it may be a hidden OS/2 partition.

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

The partition table in the MBR is indicating that the second partition is an NTFS (0x07) partition with a size of 610400448 sectors, ie 312.5 GB.

However, the volume information in the boot sector doesn't match the information in the partition table. For example, NumberSectors = 141538319, which equates to only 72.5 GB.

Since 72.5 + 7.5 = 80, it appears that you have expanded the size of the partition to fill the drive (7.5 + 312.5), but you have left the NTFS volume within it untouched. That is, you now have a 72.5 GB NTFS volume inside a 312.5 GB partition.

The simplest solution would have been to leave the original partition size at 72.5GB, and then use Disk Management to create an additional partition in the remaining 240GB of unallocated space.

Alternatively, you need intelligent software that understands how to expand an NTFS volume to fill the partition allocated to it. Acronis True Image would have been able to do this.
 
Solution

pericranium

Distinguished
Jan 26, 2012
1
0
18,510


Hi ZigZag_58,

I'm just wondering if EASEUS Partition Master corrected this partition 'properties of old size reporting' problem, because I'm faced with the same issue having sector-by-sector Ghosted an XP image into the active partition of a new HDD; with idea that I'm now going to install Linux in the other.

I did find KB832316, but it dates back to 2003 and the hotfix it suggests for diskpart is related to XP SP1

There's gotta be a way to tweak MFTs to achieve this adjustment without resorting to fancy software, but as mentioned I'm wondering if EASEUS Pro did it for you, because I don't see anything in the free Home edition that specifically addresses this. Of course I didn't put the s/w through any major adjustment paces, like a merge or whatever. One should hope that such inconsistencies would disappear after such a step.

TIA,
Peri
 
Status
Not open for further replies.