Steve Kemp wrote:
> On Thu, Dec 28, 2006 at 02:49:05PM +0000, Jim Kissel wrote:
> 
>> I there any hope or recovery?
> 
>   Yes :)
> 
>> System is DD 6.06 and is still up and running but I don't expect it to 
>> survive  a re-boot  There was a XP partation of about 50G to start + 
>> 200g for Linux
> 
>   You should look for the contents of the partition table in
>  /proc/partitions - that should be enough to rebuild your disk(s).
> 
Got them:
jlk@jlk-desktop:/proc$ cat partitions
major minor  #blocks  name
    8     0  245117376 sda
    8     1  242083453 sda1
    8     2          1 sda2
    8     5    3028221 sda5
  253     0  242083453 dm-0
  253     1    3028221 dm-1
and gpart reports:
jlk@jlk-desktop:/proc$ sudo gpart /dev/sda
Password:
Begin scan...
Possible partition(Linux ext2), size(236409mb), offset(0mb)
Possible extended partition at offset(236409mb)
    Possible partition(Linux swap), size(2957mb), offset(236409mb)
End scan.
Checking partitions...
Partition(Linux ext2 filesystem): primary
Partition(Linux swap or Solaris/x86): primary
Ok.
Guessed primary partition table:
Primary partition(1)
    type: 131(0x83)(Linux ext2 filesystem)
    size: 236409mb #s(484166904) s(63-484166966)
    chs:  (0/1/1)-(1023/254/63)d (0/1/1)-(30137/254/60)r
Primary partition(2)
    type: 130(0x82)(Linux swap or Solaris/x86)
    size: 2957mb #s(6056440) s(484167033-490223472)
    chs:  (1023/254/63)-(1023/254/63)d (30138/1/1)-(30514/254/61)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
Which seems to agree.  I have backed all data to CD.  Should I let gpart 
have a go at rebuilding it or to recommend rebuild by hand with fdisk or 
similar?
> Steve