|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] i have question about domain-U's full virtual install
On Tue, Oct 13, 2009 at 5:36 PM, ch huang <justlooks@xxxxxxxxx> wrote:
> I install my domain-U with virt-install
> virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f /dev/vg01/44root -f
> /dev/vg01/44swap -f /dev/vg01/44var -f /dev/vg01/44data -m 00:16:3e:61:63:63
> -b xenbr0 --nographics --accelerate --os-type=linux -l
> http://172.16.2.45/64/5.3 -x
> "ks=http://172.16.1.111/myinstall/new/newd1.ks.cfg"
(I haven't used virt-install for a while so my skills on that is
probably rusty).
I'm not sure HVM domU can load kernel and initrd from a http install
(it supports disk, cdrom, floppy, and PXE boot). What you MIGHT be
able to do for HVM:
- create a boot ISO containing kernel and initrd. For RHEL/Centos, you
can simply use CD1 and boot with "linux askmethod" later. Other
distros might have a special ISO for installing from network.
- create your domU with somthing like this (note I'm omitting some
args which might be unsupported, already the default, or unnecessary)
virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f
/dev/vg01/HVMdisk -l /path/to/your/cdrom-boot-image.iso
- boot with "linux askmethod" (or whatever method your distro needs to
specify http install source). You can also specify kickstart here if
needed.
Hope that helps.
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|