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

Re: [Xen-users] Root fs image crated by Yast Xen



Hi, Taira-san

Thank you very much! How helpful!

I followed your advice and did it!  Here is my case:

# losetup /dev/loop0 /var/lib/xen/images/vm1/hda
# fdisk -l -u /dev/loop0

Disk /dev/loop0: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/loop0p1 63 1060289 530113+ 82 Linux swap / Solaris
/dev/loop0p2   *     1060290     8385929     3662820   83  Linux

# losetup -o $((1060290*512)) /dev/loop1 /dev/loop0
# mount /dev/loop1 /mnt/vm1_hda1

Now I can look into the image file! Wonderful!

It is whole disk image.

Hmmmm....It must be a difference between a simple filesystem I have created myself and unavailable with YaST VM Management.

Noniko

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.