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

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



"You, Yongkang" <yongkang.you@xxxxxxxxx> writes:

Shouldn't you have a warning somewhere early that VMX is still quite
flakey and in development and also that guests won't perform well due
to poor driver models?

> +{\scriptsize {\tt \# losetup /dev/loop0 hd.img\\
> +\# fdisk -b 512 -C 4096 -H 16 -S 32 /dev/loop0\\
> +press 'n' to add new partition\\
> +press 'p' to choose primary partition\\
> +press '1' to set partition number\\
> +press "Enter" keys to choose default value of "First Cylinder" parameter.\\
> +press "Enter" keys to choose default value of "Last Cylinder" parameter.\\
> +press 'w' to write partition table and exit\\
> +\# losetup -d /dev/loop0}}
> +
> +\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.

-Andi

_______________________________________________
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®.