Re: Mounting KVM image

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

 



On Fri, 2010-06-11 at 17:28 -0400, Alex wrote:
Hi,
 
Could you please post the layout of you disk, taken with fdisk in expert mode: fdisk systmp-kvm.raw; x (for expert mode) and then p?



Expert command (m for help): p


Disk systmp-kvm.raw: 255 heads, 63 sectors, 0 cylinders


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


Thanks again!
Best,
Alex




OK, here's your problem: the offset option for losetup was not properly calculated.


take a look here:


http://www.campworld.net/thewiki/pmwiki.php/Linux/DiskImagesHOWTO

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




You can give it a try.
--


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=================================================
Go slowly to the entertainments of thy friends, but quickly to their misfortunes. -- Chilo
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux