WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: TAIRA Hajime <htaira@xxxxxxxxx>
Subject: Re: [Xen-users] Root fs image crated by Yast Xen
From: Noniko <hitumabushi@xxxxxxxxxxxxxxx>
Date: Mon, 05 Jun 2006 12:30:50 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 04 Jun 2006 20:31:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D5613D0F-C6CD-43E7-9295-97D2F98BC105@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4480E5AC.6000000@xxxxxxxxxxxxxxx> <D5613D0F-C6CD-43E7-9295-97D2F98BC105@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
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