[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: re-add deleted extended logical partitions?



* David Coe <dcoe@overlord.com> writes:

> Help!  I inadvertently deleted (using fdisk) two ext2 partitions that are
> in an Extended primary partition (i.e. they were /dev/hda7 and /dev/hda8).
[...]
> If not, how can I find and update the extended partition table
> without modifying the partitions' contents?

Try this:
| gpart  -  Guess PC-type hard disk partitions
| 
| Gpart is a tool which tries to guess the primary partition table of a
| PC-type hard disk in case the primary partition table in sector 0 is
| damaged, incorrect or deleted. The guessed table can be written to a
| file or device.  Supported (guessable) filesystem or partition types:
| 
|   DOS/Windows FAT (FAT 12/16/32) 
|   Linux ext2 
|   Linux swap partitions versions 0 and 1 (Linux v2.2.X) 
|   OS/2 HPFS 
|   Windows NTFS 
|   *BSD disklabels 
|   Solaris/x86 disklabels 
|   Minix FS 

  http://www.stud.uni-hannover.de/user/76201/gpart/

HTH,
  Colin

-- 
Colin Marquardt <colin.marquardt@gmx.de>


Reply to: