sdt Posted May 5, 2015 Share Posted May 5, 2015 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 Link to comment Share on other sites More sharing options...
jaclaz Posted May 5, 2015 Share Posted May 5, 2015 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 happenedrecover 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.cgsecurity.org/wiki/TestDisk Do take some time on the basic instructions:http://www.cgsecurity.org/wiki/TestDisk_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 Link to comment Share on other sites More sharing options...
sdt Posted May 5, 2015 Author Share Posted May 5, 2015 (edited) 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 May 5, 2015 by sdt Link to comment Share on other sites More sharing options...
jaclaz Posted May 5, 2015 Share Posted May 5, 2015 (edited) 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 May 5, 2015 by jaclaz Link to comment Share on other sites More sharing options...
sdt Posted May 5, 2015 Author Share Posted May 5, 2015 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. Link to comment Share on other sites More sharing options...
sdt Posted May 5, 2015 Author Share Posted May 5, 2015 Is this the required log? TestDisk 7.0, Data Recovery Utility, April 2015Christophe GRENIER <grenier@cgsecurity.org>http://www.cgsecurity.orgOS: Windows XP SP3Compiler: GCC 4.8, Cygwin 1007.34Compilation date: 2015-04-18T13:01:55ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=3965190144disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=3965190144disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=64877494272disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=42723180544disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=338814828544disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=53689015296disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=2564476928disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=3960995840Hard disk listDisk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512Disk /dev/sdb - 3965 MB / 3781 MiB - CHS 482 255 63, sector size=512Drive C: - 64 GB / 60 GiB - CHS 7887 255 63, sector size=512Drive D: - 42 GB / 39 GiB - CHS 5194 255 63, sector size=512Drive E: - 338 GB / 315 GiB - CHS 41191 255 63, sector size=512Drive F: - 53 GB / 50 GiB - CHS 6527 255 63, sector size=512Drive G: - 2564 MB / 2445 MiB - CHS 611 64 32, sector size=2048Drive H: - 3960 MB / 3777 MiB - CHS 481 255 63, sector size=512Partition table type (auto): IntelDisk /dev/sda - 500 GB / 465 GiBPartition table type: IntelAnalyse Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63Geometry from i386 MBR: head=255 sector=63NTFS at 0/32/33NTFS at 13081/254/62NTFS at 54274/0/1NTFS at 7887/211/5get_geometry_from_list_part_aux head=255 nbr=1get_geometry_from_list_part_aux head=255 nbr=1Current 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 83443712search_part()Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63NTFS at 0/1/1filesystem size 210146202sectors_per_cluster 8mft_lcn 786432mftmirr_lcn 13134137clusters_per_mft_record -10clusters_per_index_record 1 HPFS - NTFS 0 1 1 13080 254 63 210146202 NTFS, blocksize=4096, 107 GB / 100 GiBNTFS at 13081/254/62filesystem size 661747712sectors_per_cluster 8mft_lcn 36872128mftmirr_lcn 16021955clusters_per_mft_record -10clusters_per_index_record 1 HPFS - NTFS 13081 254 62 54273 226 57 661747712 NTFS, blocksize=4096, 338 GB / 315 GiBcheck_part_i386 failed for partition type 07 HPFS - NTFS 54274 26 25 59519 220 29 84273152file_pread(4,3,buffer,976773183(60801/81/16)) lseek err Invalid argumentfile_pread(4,1,buffer,976773183(60801/81/16)) lseek err Invalid argumentfile_pread(4,8,buffer,976773199(60801/81/32)) lseek err Invalid argumentfile_pread(4,11,buffer,976773246(60801/82/16)) lseek err Invalid argumentfile_pread(4,2,buffer,976775168(60801/112/48)) lseek err Invalid argumentfile_pread(4,1,buffer,976775167(60801/112/47)) lseek err Invalid argumentfile_pread(4,13,buffer,976775170(60801/112/50)) lseek err Invalid argumentfile_pread(4,3,buffer,976775183(60801/112/63)) lseek err Invalid argumentfile_pread(4,3,buffer,976775230(60801/113/47)) lseek err Invalid argumentfile_pread(4,8,buffer,976775246(60801/113/63)) lseek err Invalid argumentfile_pread(4,11,buffer,976775293(60801/114/47)) lseek err Invalid argumentfile_pread(4,2,buffer,976777215(60801/145/16)) lseek err Invalid argumentget_geometry_from_list_part_aux head=255 nbr=2get_geometry_from_list_part_aux head=8 nbr=1get_geometry_from_list_part_aux head=16 nbr=1get_geometry_from_list_part_aux head=32 nbr=1get_geometry_from_list_part_aux head=64 nbr=1get_geometry_from_list_part_aux head=128 nbr=1get_geometry_from_list_part_aux head=240 nbr=1get_geometry_from_list_part_aux head=255 nbr=2Results * 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 84273152interface_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 84273152simulate write!write_mbr_i386: starting...write_all_log_i386: starting...No extended partitionTestDisk exited normally. Link to comment Share on other sites More sharing options...
jaclaz Posted May 6, 2015 Share Posted May 6, 2015 OK. XP SETUP:First disk:C: Partition1 [NTFS] 61872 MbD: Partition4 [NTFS] 40744 MbE: Partition2 [NTFS] 323119 MbUnpartitioned space 4294644177 MbUnpartitioned space 323120 MbF: Partition3 [NTFS] 51202 MbSecond disk:U: Partition1 [FAT32] 3856 MbTESTDISK:\\.\PhysicalDrive0=500107862016\\.\PhysicalDrive1=3965190144\\.\C:=64877494272\\.\D:=42723180544\\.\E:=338814828544\\.\F:=53689015296\\.\G:=2564476928\\.\H:=3960995840Drive C: - 64 GB / 60 GiB - CHS 7887 255 63, sector size=512Drive D: - 42 GB / 39 GiB - CHS 5194 255 63, sector size=512Drive E: - 338 GB / 315 GiB - CHS 41191 255 63, sector size=512Drive F: - 53 GB / 50 GiB - CHS 6527 255 63, sector size=512Drive G: - 2564 MB / 2445 MiB - CHS 611 64 32, sector size=2048 <- this sounds like a DVDDrive H: - 3960 MB / 3777 MiB - CHS 481 255 63, sector size=5121 * HPFS - NTFS 0 32 33 7887 178 35 1267138562 E extended LBA 7887 178 36 13081 244 27 834457603 P HPFS - NTFS 13081 254 62 54273 226 57 6617477124 P HPFS - NTFS 54274 0 1 60801 80 63 1048613585 L HPFS - NTFS 7887 211 5 13081 244 27 83443712Combining 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 834457605 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/topic/9897-vistawin7-versus-xp-partitioning-issue/http://www.dcr.net/~w-clayton/Vista/DisappearingPartitions/DisappearingPartitions.htmso 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.microsoft.com/en-us/kb/303013and 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now