Space conflict between two partitions

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
spv82
Posts: 1
Joined: 18 Jul 2012, 16:29

Space conflict between two partitions

#1 Post by spv82 »

Hello,
sorry for my English.
Could you help me with the issue. I have 500 GB HDD with one primary partition and one extended with two logical. Windows disk management find two strange partitions:
DISKPART> list partition

Раздел ### Тип Размер Смещение
------------- ---------------- ------- -------
Раздел 1 Основной 30 GB 32 KB Primary
Раздел 2 Расширенный 799 GB 30 GB Extended
Раздел 3 Логический 60 GB 30 GB Logical
Раздел 4 Логический 1190 GB 1687 GB Logical
Раздел 5 Основной 376 GB 90 GB Primary
And TestDisk under Win XP

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, May 2012                     
Christophe GRENIER <grenier@cgsecurity.org>                            
http://www.cgsecurity.org                                              
                                                                       
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63                    
Current partition structure:                                           
     Partition                  Start        End    Size in sectors    
                                                                       
 1 * HPFS - NTFS              0   1  1  3915 254 63   62910477 [SYSXP] 
 2 E extended              3916   0  1 108209 221 62 1675481030        
 3 P HPFS - NTFS          11767   1  5 60800 254 57  787731137 [MMEDIA]
Space conflict between the following two partitions                    
 2 E extended              3916   0  1 108209 221 62 1675481030        
 3 P HPFS - NTFS          11767   1  5 60800 254 57  787731137 [MMEDIA]
 5 L HPFS - NTFS           3916   1  1 11766 254 60  126126249 [DATA]  
   X extended             11767   0  5 108209 221 62 1549354711        
 6 L Sys=4E               220271  30 25 375559  56  3 2494703337       
                                                                       
Bad relative sector.                                                   
Space conflict between the following two partitions                    
 2 E extended              3916   0  1 108209 221 62 1675481030        
 6 L Sys=4E               220271  30 25 375559  56  3 2494703337       

Code: Select all

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63                  
     Partition               Start        End    Size in sectors     
>* HPFS - NTFS              0   1  1  3915 254 63   62910477 [SYSXP] 
 L HPFS - NTFS           3916   1  1 11766 254 63  126126252 [DATA]  
 L HPFS - NTFS          11767   1  5 60800 254 57  787731137 [MMEDIA]

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63                    
                                                                       
     Partition                  Start        End    Size in sectors    
                                                                       
 1 * HPFS - NTFS              0   1  1  3915 254 63   62910477 [SYSXP] 
 2 E extended LBA          3916   0  1 60800 254 63  913857525         
 5 L HPFS - NTFS           3916   1  1 11766 254 63  126126252 [DATA]  
 6 L HPFS - NTFS          11767   1  5 60800 254 57  787731137 [MMEDIA]
I would like to remove these strange partitions. Can TestDisk help with it? Should I choose "Write" action?

Many thanks in advance.

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Space conflict between two partitions

#2 Post by Fiona »

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63

Partition Start End Size in sectors

1 * HPFS - NTFS 0 1 1 3915 254 63 62910477 [SYSXP]
2 E extended LBA 3916 0 1 60800 254 63 913857525
5 L HPFS - NTFS 3916 1 1 11766 254 63 126126252 [DATA]
6 L HPFS - NTFS 11767 1 5 60800 254 57 787731137 [MMEDIA]
This partition structur looks almost ok.
Except your MMedia-partition, the value 5 doesn't match.
If you were able to list your data, you can use Write to egister your partitions into your partition table.
The extended partition as a container for logical partitions is normal.
Extended partitions only contain logical partitions/volumes and no data.
That's why, if confirm with enter, TestDisk generates that extended partition automatically.
Also infos about logical partitions;
http://www.cgsecurity.org/wiki/Partitio ... nd_logical

Your partition Sys=4E should be gone, because you didn't register it into your partition tbale.
After restart, that partition is not available anymore.

Fiona

Locked