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

Re: [Xen-users] porting vmware's vmdk to domU



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


 


Rackspace

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