[clue-tech] How to repair an overlapped partition

Angelo Bertolli angelo at freeshell.org
Sat Sep 9 22:13:00 MDT 2006


David L. Willson wrote:
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/hda1   *         534        5755    41943040+   7  HPFS/NTFS
>> /dev/hda2               1         533     4281291    b  W95 FAT32
>> /dev/hda3            5755        5877      982639+   b  W95 FAT32
>>     
>
> BTW, does anyone know how to change the partition IDs w/o otherwise changing the
> partitions?  If the above example were my drive, I would want to swap the IDs of parts 1
> and 2, but I've never been able to find out how.
If they're primary partitions, I think you can just remove the first two 
with fdisk... then add one and make it 1 - 533, and add the second one 
and make it 534 - 5755... I assume fdisk will put them in whichever slot 
is first available in the partitions table.

Angelo




More information about the clue-tech mailing list