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

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



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 page. Once you use dd-rescue to make an image file of the drive,
>> you should be able to use all the same tools on the image file as
>> you would on the drive itself.
>>
>> 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 believe you can use losetup for specifying the offset.
> 
Thanks, but that is not what I am after. (I talked about the offset
option of loop mounts as part of my answer.) What I would like to
know about is how to create the equivalent of  /dev/sda1, /dev/sda2,
etc from an image file.The image file is equivalent to /dev/sda.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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