<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Re: custom kernel for Centos 5 kickstart?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I added a failover enabled qlogic fiberchannel driver to our custom kickstart CD, the initrd is just a loop file you can pull apart and recreate<BR>
<BR>
<BR>
<BR>
================================<BR>
Sent from my wireless handheld device.<BR>
<BR>
Tom Callahan   <BR>
<BR>
-----Original Message-----<BR>
From: kickstart-list-bounces@redhat.com <kickstart-list-bounces@redhat.com><BR>
To: Discussion list about Kickstart <kickstart-list@redhat.com>; centos@centos.org <centos@centos.org><BR>
Sent: Wed May 30 19:34:10 2007<BR>
Subject: RE: custom kernel for Centos 5 kickstart?<BR>
<BR>
Hi,<BR>
<BR>
 Thanks a lot for your great suggestions.<BR>
<BR>
 I've tried ksdevice options as well. It does work for some cases. But<BR>
the main problems. We have tens different network/harddrive<BR>
combinations. And so it turns a simple issue into a unmanageable<BR>
complex. Originally we use a custom booting kernel plus in-house<BR>
sysimager solution to handle it, custom kernel fix the detection<BR>
sequence problem and sysimager dumps a few tarball/images to hard<BR>
drives.<BR>
<BR>
 If we can find a way to use a custom kernel to replace default<BR>
Kickstart kernel+initrd.img. Then we can fix the problem very elegantly.<BR>
<BR>
 Any ideas on hacking Kickstart initrd.img?<BR>
<BR>
--Guolin<BR>
<BR>
-----Original Message-----<BR>
From: kickstart-list-bounces@redhat.com<BR>
[<A HREF="mailto:kickstart-list-bounces@redhat.com">mailto:kickstart-list-bounces@redhat.com</A>] On Behalf Of Byrne, Nicholas<BR>
Sent: Wednesday, May 30, 2007 3:40 PM<BR>
To: Discussion list about Kickstart; centos@centos.org<BR>
Subject: RE: custom kernel for Centos 5 kickstart?<BR>
<BR>
possibly "ksdevice=" which has a number of options that are useful but<BR>
it depends on what exactly he's trying to achieve. The other method i<BR>
thought of is to not setup network in main kickstart but instead do it<BR>
with netconfig in %post where you can use the --hwaddr switch (and<BR>
determine the target interface by it's mac address).<BR>
<BR>
Or perhaps, since anaconda does a good job of setting up interfaces for<BR>
you, so just configure them up as you would like ignoring the fact that<BR>
they may be pointing to the wrong NIC and then change /etc/modprobe.conf<BR>
and /etc/sysconfig/network-interfaces/ifcfg-ethX files in %post to suite<BR>
your needs (again determine the target via mac address)<BR>
<BR>
The first 3 bytes of the mac addresses are the manufacture code so you<BR>
should be able to work our a list for your hardware using<BR>
<A HREF="http://coffer.com/mac_find/">http://coffer.com/mac_find/</A><BR>
<BR>
<BR>
<BR>
________________________________<BR>
<BR>
From: kickstart-list-bounces@redhat.com on behalf of Callahan, Tom<BR>
Sent: Wed 30/05/2007 18:58<BR>
To: Discussion list about Kickstart; centos@centos.org<BR>
Subject: Re: custom kernel for Centos 5 kickstart?<BR>
<BR>
<BR>
I remember there being an option to define which MAC addr is defined as<BR>
eth0, etc. This was something you could define on the kickstart command<BR>
line.... Check out the documentation for anaconda.<BR>
<BR>
<BR>
On 5/30/07 1:49 PM, "Guolin Cheng" <guolin@alexa.com> wrote:<BR>
<BR>
<BR>
<BR>
        Hi,<BR>
       <BR>
        Has any one tried to merge a custom kernel into<BR>
vmlinuz/initrd.img for Centos 5 kickstart? Or similar Linux<BR>
distribution?<BR>
       <BR>
        I am rebuilding a custom kernel from stock kernel source to<BR>
build some hardware modules into static form, so that the hardware<BR>
detection sequence can be altered in a hard way. Quick examples are: tg3<BR>
drivers will be loaded before e1000, 3w-9xxx be loaded before 3w-9xxx,<BR>
etc.<BR>
       <BR>
         Please advice. If the object could be achieved through<BR>
adjustment to /etc/modules.conf or similar files, then it could be even<BR>
more fantastic.<BR>
       <BR>
        <BR>
       <BR>
       <BR>
________________________________<BR>
<BR>
        _______________________________________________<BR>
        Kickstart-list mailing list<BR>
        Kickstart-list@redhat.com<BR>
        <A HREF="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</A><BR>
       <BR>
<BR>
<BR>
<BR>
<BR>
-------------------------------<BR>
Tom Callahan<BR>
TDS Engineering<BR>
410-229-1361  Tel<BR>
410-588-7605  Mobile<BR>
410-229-1512  Fax<BR>
callahant@TESSCO.com<BR>
<BR>
TESSCO<BR>
Your Total Source for Wireless<BR>
<A HREF="http://www.tessco.com">http://www.tessco.com</A> <<A HREF="http://www.tessco.com/">http://www.tessco.com/</A>><BR>
<BR>
Network Infrastructure Equipment | Mobile Devices & Accessories |<BR>
Installation, Test, Equipment & Supplies<BR>
<BR>
<BR>
<BR>
This e-mail is the property of Quadriga Worldwide Ltd, intended for the<BR>
addressee only and confidential.  Any dissemination, copying or<BR>
distribution of this message or any attachments is strictly prohibited.<BR>
<BR>
If you have received this message in error, please notify us immediately<BR>
by replying to the message and deleting it from your computer.<BR>
<BR>
Messages sent to and from Quadriga may be monitored.<BR>
<BR>
Quadriga cannot guarantee any message delivery method is secure or<BR>
error-free.  Information could be intercepted, corrupted, lost,<BR>
destroyed, arrive late or incomplete, or contain viruses.<BR>
<BR>
We do not accept responsibility for any errors or omissions in this<BR>
message and/or attachment that arise as a result of transmission.<BR>
<BR>
You should carry out your own virus checks before opening any<BR>
attachment.<BR>
<BR>
Any views or opinions presented are solely those of the author and do<BR>
not necessarily represent those of Quadriga.<BR>
<BR>
_______________________________________________<BR>
Kickstart-list mailing list<BR>
Kickstart-list@redhat.com<BR>
<A HREF="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</A><BR>
<BR>
_______________________________________________<BR>
Kickstart-list mailing list<BR>
Kickstart-list@redhat.com<BR>
<A HREF="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>