(-: Asheesh is the name :-). Anyway, gpart has an option to scan the entire HD. Thanks for trying this; I thought you disappeared.
Give gpart the "-f" option to scan the "full" disk. If that doesn't work, grab a copy of testdisk (a program I found linked from the gpart homepage; I compiled it and posted it on my webserver at http://thecore.dyndns.org) and email me back. Best of luck. -- Asheesh. On Tue, 4 Dec 2001, Charles Darcy wrote: > > Sorry for the indirect reply, but Ashaar's (I think this was the > name) post somehow got trashed. Thanks for replying so soon, and making > your advice so clear. > > > 'gpart' initially reported ... > > *** Error: invalid extended ptbl found at sector (13092975) > > ... and then found the Windows partition (primary), and 2 linux > swap partitions (one logical, one invalid). Clearly not my original > partitions. The full 'gpart' output is below. > > > So it appears 'gpart' cannot help me restore the old partition > table. If I use 'gpart -W /dev/hda /dev/hda' to write the new partition > table described in 'gpart's output (below), will I then be able to > safely do a full install of LM8.1 ? Is there any danger of losing the > Windows partition ? > > > > > ------ gpart output ------ > > Begin scan... > Possible partition(DOS FAT), size(6400mb), offset(0mb) > Possible extended partition at offset(6887mb) > Possible partition(Linux swap), size(243mb), offset(6887mb) > Possible partition(Linux swap), size(243mb), offset(9891mb) > End scan. > > Checking partitions... > Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary > Partition(Linux swap or Solaris/x86): logical > Partition(Linux swap or Solaris/x86): invalid > Number of inconsistencies found: 1. > > Guessed primary partition table: > Primary partition(1) > type: 012(0x0C)(DOS or Windows 95 with 32 bit FAT, LBA) > size: 6400mb #s(13107200) s(63-13107262) > chs: (0/1/1)-(815/226/50)d (0/1/1)-(815/226/50)r > > Primary partition(2) > type: 015(0x0F)(Extended DOS, LBA) > size: 7930mb #s(16241715) s(14105070-30346784) > chs: (878/0/1)-(1023/254/63)d (878/0/1)-(1888/254/63)r > > Primary partition(3) > type: 000(0x00)(unused) > size: 0mb #s(0) s(0-0) > chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r > > Primary partition(4) > type: 000(0x00)(unused) > size: 0mb #s(0) s(0-0) > chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r > > > > > > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com