WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] i have question about domain-U's full virtual install

To: ch huang <justlooks@xxxxxxxxx>
Subject: Re: [Xen-users] i have question about domain-U's full virtual install
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 13 Oct 2009 19:21:49 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Oct 2009 05:23:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <875e40390910130336s5e1509dbl4e11c43d4e03af47@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <875e40390910130336s5e1509dbl4e11c43d4e03af47@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>