How to recover an integer ext3 partition from a disk with a damaged partition table ?
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Wed Sep 24 17:04:14 UTC 2008
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080924/fa857e35/attachment-0001.sig>
More information about the fedora-list
mailing list