Mounting KVM image

Roberto Ragusa mail at robertoragusa.it
Sat Jun 12 14:13:38 UTC 2010


kalinix wrote:
> On Fri, 2010-06-11 at 17:28 -0400, Alex wrote:

>> Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID 
>>  1 80   0   2    0 254  63    2          1      48194 83
>>  2 00   0   1    3 254  63 1023      48195   83827170 85
>> Partition 2 has different physical/logical endings:
>>      phys=(1023, 254, 63) logical=(5220, 254, 63)
>>  3 00   0   0    0   0   0    0          0          0 00
>>  4 00   0   0    0   0   0    0          0          0 00
>>  5 00   0   2    3 254  63 1023          1   81931499 83
>>  6 00 254  63 1023 254  63 1023          1    1895669 82

> According to this, in your case the offset should be 1x1024=1024.

If it still fails try 24676864.

If it still fails, please run:

  fdisk -ul yourfile.raw

which is the only easy syntax to see the offset of your
messed up disk (you have one small primary partition
and two logical partitions in an extended partitions,
I assume you want to mount the first logical).

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the users mailing list