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] porting vmware's vmdk to domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] porting vmware's vmdk to domU
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Fri, 30 Sep 2005 23:47:38 +0200
Delivery-date: Fri, 30 Sep 2005 21:45:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <433D6E8A.1000709@xxxxxxxxxxxxxx>
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: <200509301827.22441.uebelacker@xxxxxxx> <433D6E8A.1000709@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.1
On Friday 30 September 2005 18:57, Aaron // LT wrote:
> Lately I have been creating xen domU images using vmware.  But what i
> usually do is do a basic install in vmware, then do something like:
>
> dd if=/dev/zero of=/osname bs=1024k count=size_megabytes
> mkfs.ext3 /osname
> mount -o loop /osnname /mnt
> cp -ax /mnt/{root,dev,var,etc,usr,bin,sbin,lib} /mnt
> mkdir /mnt/{proc,sys,home,tmp}
> chmod 777 /mnt/tmp

A bit offtopic, but I hope you don't create your /tmp dir that way on a 
multiuser system, it is missing the sticky / "tempdir" flag.

chmod 1777 /mnt/tmp

would be better.

For the original question:

There's a tool to loopback-mount the vmware images into the host os, have a 
look at:
http://www.vmware.com/support/reference/linux/loopback_linux.html#what

/Ernst

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

<Prev in Thread] Current Thread [Next in Thread>