| 
I am trying to figure out the offest sector for vm01.img2 partition. I tried many possible ways, for example (1020 *512) , but in vain. I just can't hit the right offest sector to mount vm01.img2 partition. Any help is greatly appreciated.
 BTW, I am using xen-3.0.3-135.el5_8.2. The vm01.img file was created using virt-install command. The command I am using to mount the partition in that img file is: mount -o loop,offset=130048 -t ext3 /vm/vm01.img /mnt/xenimg
 
 #fdisk -l /vm/vm01.img
 vice Boot      Start         End      Blocks   Id  System
 /vm/vm01.img1   *           1          64      514048+  83  Linux
 /vm/vm01.img2              65        1020     7679070   83  Linux
 /vm/vm01.img3            1021        1657     5116702+  83  Linux
 
 Partition 3 has different physical/logical endings:
 phys=(1023, 254, 63) logical=(1656, 254, 63)
 /vm/vm01.img4        1658        3916    18145417+   5  Extended
 
 Partition 4 has different physical/logical beginnings (non-Linux?):
 phys=(1023, 254, 63) logical=(1657, 0, 1)
 
 Partition 4 has different physical/logical endings:
 phys=(1023, 254, 63) logical=(3915, 254, 63)
 /vm/vm01.img5         1658        1784     1020096   83  Linux
 /vm/vm01.img6         1785        1848      514048+  82  Linux swap / Solaris
 /vm/vm01.img7         1849        3916    16611178+  83  Linux
 
 |