Upgrading kernel used in PXE boot

Jeroen van Meeuwen kanarip at kanarip.com
Fri Feb 8 10:21:26 UTC 2008


Joel Andres Granados wrote:
> Jeroen van Meeuwen wrote:
>> Eric Smith wrote:
>>> I'm installing FC6 using kickstart from PXE.  It works great, and 
>>> I've used this (and a similar setup with FC2) for years.
>>>
>>> Now, I want to use a new kernel during the installation.  FC6 comes 
>>> with  2.6.18-1.2798.fc6, and I want the boot to use some version of 
>>> 2.6.20 or greater.
>>>
>>> What I've been doing is installing with the default kernel, then 
>>> upgrading to 2.6.20-1.2962.fc6 after the installation is complete.  
>>> But now I have a need to run 2.6.20 during installation, because of 
>>> some hardware that's supported in 2.6.20 but not in 2.6.18.
>>>
>>> So my question is:  How do I create a new initrd.img and vmlinuz 
>>> (that came in the isolinux directory) to be a new kernel?  It's 
>>> apparently not as simple as copying these files from a running system.
>>>
>>> I've spent hours googling.  I've seen all sorts of info on adding 
>>> drivers to initrd.img, but no info on updating the kernel.
>>>
>>> Any info would be great!
>>>
>>
>> Hi Eric,
>>
>> -mandatory note about Fedora Core 6 being End Of Life, you should 
>> upgrade or use some Enterprise Linux (derivative)-
>>
>> you might want to take a look at Revisor. We've been doing successful 
>> Fedora Core 6 spins in the past although it really started off with 
>> Fedora 7... To indicate what is successful, here's the test matrix 
>> that we commonly use (a Fedora 8 version of it):
>>
>> http://spins.fedoraunity.org/Members/kanarip/fedora-8-test-matrix-template 
>>
>>
>> Revisor you can find in the Fedora repositories (if you run Fedora 7 
>> or 8), and there's a package built for EL5 as well.
>>
>> See: http://revisor.fedoraunity.org and it's mailing list at 
>> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
>>
>> Kind regards,
>>
>> Jeroen van Meeuwen
>> -kanarip
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
> +
> Just wanted to mention the different tools
> 
> 1. revisor by Jeroen Meeuwen
> 2. pungi by Jessy Keating 3. buildinstall by anaconda team
> 
> AFAK they are in that order. (revisor uses pung and pungi uses 
> buildinstall).  I think if you want an easy way to do this your best bet 
> is revisor,  If you want to get into the core of things you might want 
> to give buildinstall a try.  It a very scarry shell script :)
> 
> Hope it helps.
> 

I don't think pungi did anything for Fedora 7, nor from before Fedora 7.

Also, Revisor does not use pungi.

Kind regards,

Jeroen van Meeuwen
-kanarip




More information about the Kickstart-list mailing list