How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Andrea Mastellone
Hi, I have a broken solid state disk, in facts badblocks has found about a hundred of damaged blocks. The most shortcoming is that I have lost the partition table too, and I suspect that some bad blocks are in relation with the partition table data since testdisk can not write the recovered

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Mikkel L. Ellertson
Andrea Mastellone wrote: Hi, I have a broken solid state disk, in facts badblocks has found about a hundred of damaged blocks. The most shortcoming is that I have lost the partition table too, and I suspect that some bad blocks are in relation with the partition table data since testdisk

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Warren Sturm
On Wed, 2008-09-24 at 10:55 -0500, Mikkel L. Ellertson wrote: snip You can not loopback mount then entire drive. But you can mount a partition as long as you know the offset to it using the offset option when loop mounting. Read the loop mount options in the mount man page. Once you use

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Kapil Hari Paranjape
Hello, On Wed, 24 Sep 2008, Mikkel L. Ellertson wrote: Now, if anyone know how to generate the partition devices from an image file, so you could mount the different partitions without using the offset option of loop mounting, I would love to hear about it. I think kpartx can do something

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Todd Denniston
Andrea Mastellone wrote, On 09/24/2008 11:12 AM: Hi, I have a broken solid state disk, in facts badblocks has found about a hundred of damaged blocks. The most shortcoming is that I have lost the partition table too, and I suspect that some bad blocks are in relation with the partition table

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Mikkel L. Ellertson
Warren Sturm wrote: On Wed, 2008-09-24 at 10:55 -0500, Mikkel L. Ellertson wrote: snip You can not loopback mount then entire drive. But you can mount a partition as long as you know the offset to it using the offset option when loop mounting. Read the loop mount options in the mount man

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Andrea Mastellone
Todd Denniston wrote: Andrea Mastellone wrote, On 09/24/2008 11:12 AM: Hi, if I had less space (and no time to buy an extra USB hard drive) and could translate the CHS to bytes/blocks of disk space, I would do something like: assume 512 blocks, and HeadSector size of 7697074bytes bc of

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Warren Sturm
On Wed, 2008-09-24 at 12:04 -0500, Mikkel L. Ellertson wrote: Warren Sturm wrote: On Wed, 2008-09-24 at 10:55 -0500, Mikkel L. Ellertson wrote: snip You can not loopback mount then entire drive. But you can mount a partition as long as you know the offset to it using the offset

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ?

2008-09-24 Thread Todd Denniston
Andrea Mastellone wrote, On 09/24/2008 01:10 PM: Todd Denniston wrote: Andrea Mastellone wrote, On 09/24/2008 11:12 AM: Hi, if I had less space (and no time to buy an extra USB hard drive) and could translate the CHS to bytes/blocks of disk space, I would do something like: assume 512

Re: How to recover an integer ext3 partition from a disk with a damaged partition table ? [SOLVED] !!!

2008-09-24 Thread Andrea Mastellone
Todd Denniston wrote: Andrea Mastellone wrote, On 09/24/2008 11:12 AM: Hi, I have a broken solid state disk, in facts badblocks has found about a hundred of damaged blocks. The most shortcoming is that I have lost the partition table too, and I suspect that some bad blocks are in relation