[CentOS] Install CentOS as KVM guest

Thu Apr 28 18:29:15 UTC 2011
Jim Wildman <jim at rossberry.com>

On Thu, 28 Apr 2011, Jussi Hirvi wrote:

> BTW, can guests be installed on raw (unformatted or formatted)
> partitions (not images)? Can virt-install do that? I tried it and had no
> luck.
> - Jussi

You can install them to logical volumes...

Season to taste 
virt-install -p -n test_phys -r 512 --arch=x86_64 --os-type=linux
--os-variant=rhel5 -l -x
ks= -f /dev/vg_tosh/lv_phys -b virbr0

Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.net
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine