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] how to retrofit DomU installation initrd w/ xennet/xenbl

To: list-subscriber@xxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to retrofit DomU installation initrd w/ xennet/xenblk?
From: John Madden <jmadden@xxxxxxxxxxx>
Date: Tue, 28 Aug 2007 09:29:28 -0400
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Aug 2007 06:30:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46D3C290.40109@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46D3C290.40109@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> The Guest boots, anaconda kicks off and prompts for installation media.
> However, no network protocol (http, ftp, nfs) may be used for the
> installation on account of the fact that the installer cannot locate any
> networking modules (xennet?).
> 
> How do I retrofit the xen initrd available on the CentOS installation
> media to include the appropriate network modules? I need to support
> interactive, network based DomU installs.

It took me some time to get kickstarts working too, but here's what
finally did it for me: 

kernel = "/boot/rhel5-amd64-ks-kernel.img"
ramdisk = "/boot/rhel5-amd64-ks-initrd.img"
extra = "selinux=0 ip=10.10.7.7 gateway=10.10.7.1 netmask=255.255.255.0
dns=dns,servers ks=http://path/to/kickstartfile ksdevice=eth0"
name = "hostnamehere"
memory = "512"
disk = [ 'tap:aio:/var/lib/xen/images/test2.img,hda,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'

Those kernel and initrd images come right out of the directories you're
talking about (although RHEL for me, the CentOS images work the same).
If you aren't hosting your ks over HTTP, I'm not sure how you'd do this
exactly, but you could always do so and set it up with the "interactive"
flag turned on, which should allow you to specify installation media. 

John



-- 
John Madden
Sr. UNIX Systems Engineer
Ivy Tech Community College of Indiana
jmadden@xxxxxxxxxxx


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

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