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

RE: [Xen-devel] Re: [PATCH] Add VMX guest quick start in user manual.


  • To: "Andi Kleen" <ak@xxxxxxx>, "You, Yongkang" <yongkang.you@xxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Tue, 10 Jan 2006 14:35:36 -0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 10 Jan 2006 14:41:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcYVlKkNeogYdpx9Qw+8Qha8l/GCKwAXjLqA
  • Thread-topic: [Xen-devel] Re: [PATCH] Add VMX guest quick start in user manual.

> > +\item {\bfseries Make the file system and install grub}\\ 
> > +{\scriptsize {\tt \# ln -s /dev/loop0 /dev/loop\\ \# losetup 
> > +/dev/loop0 hd.img\\ \# losetup -o 16384 /dev/loop1 hd.img\\
> 
> An easier/cleaner way to handle partitioning on loop is to 
> use kpartx from multipath-tools. It sets up device mapper in 
> a way that you can access all the partitions easily.

I'd recommend using lomount, which is in the xen tree (borrowed from
qemu). 

kpartx only works on recent distros, and installing it manually is far
from trivial.

Ian  

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


 


Rackspace

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