Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Parition table problem

- - - - -

  • Please log in to reply
6 replies to this topic

#1
sdt

sdt

    Newbie

  • Member
  • 38 posts
  • Joined 13-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

Hi guys

 

i was using one of the paritioning softwares and  i ended up with the parition table as given in the attached pic.

 

is there an easy way to fix the partition table by removing the "unpartitioned space" fictitious labels in the table between e and f drives?

 

 

http://imgur.com/Yg0ITZw

 

 




How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,369 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Yes/No.

 

They are not "fictitious labels" they are a representation of the situation your hard disk is at the moment.

 

Depending on specifically which partitioning software you used and what exactly you did with it, it may be possible to:

  • recover the previous partitioning and volumes/data in them as if nothing happened
  • recover the data only (but all the data)
  • recover the data only (and only partial data)
  • recover nothing

 

The reference tool to analyze your situation is TESTDISK, that you may get here:

http://www.cgsecurit...g/wiki/TestDisk

 

Do take some time on the basic instructions:

http://www.cgsecurit...sk_Step_By_Step

 

then run it , making sure to create the log, DO NOT change anything and post the log for review.

 

Besides the above, the more you remember about the previous partitioning scheme and you provide, the better.

 

jaclaz 



#3
sdt

sdt

    Newbie

  • Member
  • 38 posts
  • Joined 13-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

im using this drive at the moment as the main drive (booting from) and the data parititon table etc. is intact. these entries show only in the XP textmode setup and not in the OS(7/XP) or anywhere else. thats why i thought these were just fictitious labels... just see the size of one 4294644177 MB while the hard drive in total is 500 GB!


Edited by sdt, Yesterday, 01:02 PM.


#4
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,369 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

And again they are not "fictitious" labels they are what the tool at hand "sees" the current situation.

 

The specific XP setup may well have been not enabled for LargeLBA, if the question has now changed to:

I have a drive that is normally partitioned and working (and I verified each and every partition/volume to be correct by using tools X and Y[1] ) but XP setup (and only XP Setup) sees the partitions in a queer way, why may this happen?

 

 

 

jaclaz

 

[1] Only for the record, for this kind of checks both Disk Manager and Diskpart are not suitable tools.


Edited by jaclaz, Yesterday, 01:27 PM.


#5
sdt

sdt

    Newbie

  • Member
  • 38 posts
  • Joined 13-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

And again they are not "fictitious" labels they are what the tool at hand "sees" the current situation.

 

The specific XP setup may well have been not enabled for LargeLBA, if the question has now changed to:

I have a drive that is normally partitioned and working (and I verified each and every partition/volume to be correct by using tools X and Y[1] ) but XP setup (and only XP Setup) sees the partitions in a queer way, why may this happen?

 

 

 

jaclaz

 

[1] Only for the record, for this kind of checks both Disk Manager and Diskpart are not suitable tools.

 

 

thank you. ill post a log for review in a while.



#6
sdt

sdt

    Newbie

  • Member
  • 38 posts
  • Joined 13-April 13
  • OS:Windows 7 x64
  • Country: Country Flag

Is this the required log?

 

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows XP SP3
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=3965190144
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=3965190144
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=64877494272
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=42723180544
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=338814828544
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=53689015296
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=2564476928
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=3960995840
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Disk /dev/sdb - 3965 MB / 3781 MiB - CHS 482 255 63, sector size=512
Drive C: - 64 GB / 60 GiB - CHS 7887 255 63, sector size=512
Drive D: - 42 GB / 39 GiB - CHS 5194 255 63, sector size=512
Drive E: - 338 GB / 315 GiB - CHS 41191 255 63, sector size=512
Drive F: - 53 GB / 50 GiB - CHS 6527 255 63, sector size=512
Drive G: - 2564 MB / 2445 MiB - CHS 611 64 32, sector size=2048
Drive H: - 3960 MB / 3777 MiB - CHS 481 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sda - 500 GB / 465 GiB
Partition table type: Intel

Analyse Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
NTFS at 13081/254/62
NTFS at 54274/0/1
NTFS at 7887/211/5
get_geometry_from_list_part_aux head=255 nbr=1
get_geometry_from_list_part_aux head=255 nbr=1
Current partition structure:
 1 * HPFS - NTFS              0  32 33  7887 178 35  126713856
 2 E extended LBA          7887 178 36 13081 244 27   83445760
 3 P HPFS - NTFS          13081 254 62 54273 226 57  661747712
 4 P HPFS - NTFS          54274   0  1 60801  80 63  104861358
 5 L HPFS - NTFS           7887 211  5 13081 244 27   83443712

search_part()
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
NTFS at 0/1/1
filesystem size           210146202
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               13134137
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  1 13080 254 63  210146202
     NTFS, blocksize=4096, 107 GB / 100 GiB
NTFS at 13081/254/62
filesystem size           661747712
sectors_per_cluster       8
mft_lcn                   36872128
mftmirr_lcn               16021955
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          13081 254 62 54273 226 57  661747712
     NTFS, blocksize=4096, 338 GB / 315 GiB
check_part_i386 failed for partition type 07
     HPFS - NTFS          54274  26 25 59519 220 29   84273152
file_pread(4,3,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(4,1,buffer,976773183(60801/81/16)) lseek err Invalid argument
file_pread(4,8,buffer,976773199(60801/81/32)) lseek err Invalid argument
file_pread(4,11,buffer,976773246(60801/82/16)) lseek err Invalid argument
file_pread(4,2,buffer,976775168(60801/112/48)) lseek err Invalid argument
file_pread(4,1,buffer,976775167(60801/112/47)) lseek err Invalid argument
file_pread(4,13,buffer,976775170(60801/112/50)) lseek err Invalid argument
file_pread(4,3,buffer,976775183(60801/112/63)) lseek err Invalid argument
file_pread(4,3,buffer,976775230(60801/113/47)) lseek err Invalid argument
file_pread(4,8,buffer,976775246(60801/113/63)) lseek err Invalid argument
file_pread(4,11,buffer,976775293(60801/114/47)) lseek err Invalid argument
file_pread(4,2,buffer,976777215(60801/145/16)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2

Results
   * HPFS - NTFS              0   1  1 13080 254 63  210146202
     NTFS, blocksize=4096, 107 GB / 100 GiB
   P HPFS - NTFS          13081 254 62 54273 226 57  661747712
     NTFS, blocksize=4096, 338 GB / 315 GiB
   P HPFS - NTFS          54274  26 25 59519 220 29   84273152

interface_write()
 1 * HPFS - NTFS              0   1  1 13080 254 63  210146202
 2 P HPFS - NTFS          13081 254 62 54273 226 57  661747712
 3 P HPFS - NTFS          54274  26 25 59519 220 29   84273152
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.
 



#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,369 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

OK. :)

 

XP SETUP:
First disk:
C: Partition1 [NTFS] 61872 Mb
D: Partition4 [NTFS] 40744 Mb
E: Partition2 [NTFS] 323119 Mb
Unpartitioned space 4294644177 Mb
Unpartitioned space 323120 Mb
F: Partition3 [NTFS] 51202 Mb
Second disk:
U: Partition1 [FAT32] 3856 Mb


TESTDISK:
\\.\PhysicalDrive0=500107862016
\\.\PhysicalDrive1=3965190144

\\.\C:=64877494272
\\.\D:=42723180544
\\.\E:=338814828544
\\.\F:=53689015296
\\.\G:=2564476928
\\.\H:=3960995840

Drive C: - 64 GB / 60 GiB - CHS 7887 255 63, sector size=512
Drive D: - 42 GB / 39 GiB - CHS 5194 255 63, sector size=512
Drive E: - 338 GB / 315 GiB - CHS 41191 255 63, sector size=512
Drive F: - 53 GB / 50 GiB - CHS 6527 255 63, sector size=512
Drive G: - 2564 MB / 2445 MiB - CHS 611 64 32, sector size=2048 <- this sounds like a DVD
Drive H: - 3960 MB / 3777 MiB - CHS 481 255 63, sector size=512

1 * HPFS - NTFS 0 32 33 7887 178 35 126713856
2 E extended LBA 7887 178 36 13081 244 27 83445760
3 P HPFS - NTFS 13081 254 62 54273 226 57 661747712
4 P HPFS - NTFS 54274 0 1 60801 80 63 104861358
5 L HPFS - NTFS 7887 211 5 13081 244 27 83443712

Combining the info:
First disk:
1 * HPFS - NTFS 0 32 33 7887 178 35 126713856x512/1024/1024=61872 Mb -> Drive C:

2 E extended LBA 7887 178 36 13081 244 27 83445760
5 L HPFS - NTFS 7887 211 5 13081 244 27 83443712x512/1024/1024=40744 Mb -> Drive D:

3 P HPFS - NTFS 13081 254 62 54273 226 57 661747712x512/1024/1024=323119 Mb -> Drive E:

4 P HPFS - NTFS 54274 0 1 60801 80 63 104861358x512/1024/1024= 51201,83 Mb -> Drive F:

The partitioning has been done by "mixing liberally" two "standards", the good ol'one where partitions had to respect head/cylinder boundaries and the "new" one where values are rounded to Mb, more specifically:
Volumes C:, D: and E: (including the Extended partition hosting volume D: ) have been created under VIsta or later (or with a tool respecting the "new" standard).
Volume F: has been created under XP or earlier (or with a tool respecting the "old" standard).

In these cases it is EXTREMELY risky to use the XP Disk Manager (or Diskpart from XP) on that disk, see here why:
http://reboot.pro/to...itioning-issue/
http://www.dcr.net/~...gPartitions.htm
so simply DON'T.

The partitioning (crazy as it might be) is however confirmed to be "good enough" for Vista and later, XP (generically, but particularly the simplified routines included in setup) may well "choke" on it however, if - for any reason - you need to re-install XP on that disk, I personally wouldn't dare to select any partition but the C: drive, this can be due, as said, due to the area beyond the 48 bit LBA limit:
https://support.micr...en-us/kb/303013
and you should make sure that your XP CD/DVD has the EnableBigLBA in SETUPREG.HIV, as to be available during setup also, but it is also possible that it is a "quirk" due to the partitioning scheme not being compliant with the "old" standard or due to a "combined effect" (new partitioning standard + areas beyond 128 Mb).

jaclaz






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users