<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Upgrading RHAS 2.1 Kernel in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151410#M8772</link>
    <description>First at all, I recommend you to buy support contract from RH, so you'll be able to update your kernel to the latest one [ 2.4.9-e.30] just in "one click" (using up2date).&lt;BR /&gt;&lt;BR /&gt;But if you anyway want to install kernel from the source:&lt;BR /&gt;&lt;BR /&gt; rpm -ihv kernel-x.y.z.src.rpm &lt;BR /&gt;cd to /usr/src/redhat/SPECS &lt;BR /&gt;Type: rpm -bb kernel-x.y.z.spec &lt;BR /&gt;&lt;BR /&gt;But again - I don't sure if you'll receive the same binary kernel as RH provides.&lt;BR /&gt;&lt;BR /&gt;BTW, there are few projects which are trying to build binary RHEL from RH sources:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="http://whiteboxlinux.org/howto.html" target="_blank"&gt;http://whiteboxlinux.org/howto.html&lt;/A&gt; &lt;BR /&gt;- &lt;A href="http://caosity.org/" target="_blank"&gt;http://caosity.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  -&lt;A href="http://www2.uibk.ac.at/zid/software/unix/linux/" target="_blank"&gt;http://www2.uibk.ac.at/zid/software/unix/linux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
    <pubDate>Tue, 23 Dec 2003 03:08:09 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2003-12-23T03:08:09Z</dc:date>
    <item>
      <title>Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151407#M8769</link>
      <description>Currently I'm using RHAS 2.1 with 2.4.9-e.3 kernel and I want to upgrade to 2.4.9-e.24. I've downloaded the e.24 source code (kernel-2.4.9-e.24.src.rpm) from &lt;A href="ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS." target="_blank"&gt;ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After installing the rpm, there seems to be a lot of files in /usr/src/redhat/SOURCES like .patch and .diff files. How do I proceed from there ? There's a file called linux-2.4.9.tar.bz2, is it the e.24 source code ?&lt;BR /&gt;&lt;BR /&gt;Please help... Thanks.</description>
      <pubDate>Tue, 23 Dec 2003 00:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151407#M8769</guid>
      <dc:creator>Philip Lo</dc:creator>
      <dc:date>2003-12-23T00:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151408#M8770</link>
      <description>this is compressed tar file&lt;BR /&gt;first uncompress and untar it to /usr/src/ directory &lt;BR /&gt;then cd to linux-2.4.9 directory &lt;BR /&gt;and start the regular procedure (i. e. &lt;BR /&gt;1. edit the Makefile to change the EXTRAVERSION  &lt;BR /&gt;2.make mrproper&lt;BR /&gt;3.make xconfig &lt;BR /&gt;4.make dep&lt;BR /&gt;5. make bzImage&lt;BR /&gt;6. make modules&lt;BR /&gt;7. make modules_install&lt;BR /&gt;then cop the bzImage file to boot directory and edit the boot manager apropriately. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Tue, 23 Dec 2003 02:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151408#M8770</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-12-23T02:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151409#M8771</link>
      <description>I don't do manual upgrades of kernels. That's cause I'm lazy and haven't had to do an Oracle install on Linux in a while.&lt;BR /&gt;&lt;BR /&gt;Its a lot easier using the Red Hat Update utility to handle the upgrade. It does all the files, changes the grub.conf, everything.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 23 Dec 2003 02:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151409#M8771</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-23T02:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151410#M8772</link>
      <description>First at all, I recommend you to buy support contract from RH, so you'll be able to update your kernel to the latest one [ 2.4.9-e.30] just in "one click" (using up2date).&lt;BR /&gt;&lt;BR /&gt;But if you anyway want to install kernel from the source:&lt;BR /&gt;&lt;BR /&gt; rpm -ihv kernel-x.y.z.src.rpm &lt;BR /&gt;cd to /usr/src/redhat/SPECS &lt;BR /&gt;Type: rpm -bb kernel-x.y.z.spec &lt;BR /&gt;&lt;BR /&gt;But again - I don't sure if you'll receive the same binary kernel as RH provides.&lt;BR /&gt;&lt;BR /&gt;BTW, there are few projects which are trying to build binary RHEL from RH sources:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="http://whiteboxlinux.org/howto.html" target="_blank"&gt;http://whiteboxlinux.org/howto.html&lt;/A&gt; &lt;BR /&gt;- &lt;A href="http://caosity.org/" target="_blank"&gt;http://caosity.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  -&lt;A href="http://www2.uibk.ac.at/zid/software/unix/linux/" target="_blank"&gt;http://www2.uibk.ac.at/zid/software/unix/linux/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Vitaly</description>
      <pubDate>Tue, 23 Dec 2003 03:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151410#M8772</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-12-23T03:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151411#M8773</link>
      <description>Thanks for the reply and Merry Christmas to all of you. I'm aware of the update utility but that gives me the pre-compiled kernel which I can't customize. It seems quite troublesome in upgrading RHAS kernel comparing normal linux kernel.</description>
      <pubDate>Fri, 26 Dec 2003 04:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151411#M8773</guid>
      <dc:creator>Philip Lo</dc:creator>
      <dc:date>2003-12-26T04:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading RHAS 2.1 Kernel</title>
      <link>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151412#M8774</link>
      <description>For what you want, you have to:&lt;BR /&gt;install the package &lt;BR /&gt;kernel-source-xxx.rpm&lt;BR /&gt;this will install the kernel tree source under /usr/src/linux-2.4 on which official &lt;BR /&gt;rh kernel is based&lt;BR /&gt;&lt;BR /&gt;PS: the kernel is GPL, so RH MUST provide EXACT source tree under which their production kernels run! if different, notify to linux kernel mailing list maintainers! &lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;- cd /usr/src/linux-2.4&lt;BR /&gt;&lt;BR /&gt;- edit Makefile and at the beginning you &lt;BR /&gt;will find a line like&lt;BR /&gt;&lt;BR /&gt;EXTRAVERSION = -custom&lt;BR /&gt;&lt;BR /&gt;change it to what you want, something like&lt;BR /&gt;&lt;BR /&gt;EXTRAVERSION = -test&lt;BR /&gt;&lt;BR /&gt;This determines the name of the modules' directory under /lib/modules, so the extraversion is useful for having multiple &lt;BR /&gt;modules directories. Keep in mind, otherwise you are going to risk to overwrite default modules directory created by installation process and not be able to boot&lt;BR /&gt;&lt;BR /&gt;BTW if you want to replicate an official RH kernel, for example i686-smp one you have to cut off the "-custom" and leave only "EXTRAVERSION =" at this line&lt;BR /&gt;You can also replicate the installation kernel, using the kernel config flagged &lt;BR /&gt;&lt;BR /&gt;kernel-xxx.BOOT.config&lt;BR /&gt;&lt;BR /&gt;- make mrproper&lt;BR /&gt;&lt;BR /&gt;- cp configs/kernel-2.4.xxx.config .config&lt;BR /&gt;&lt;BR /&gt;for example if you want to customize your kernel starting from the i686-smp rh kernel &lt;BR /&gt;copy the kernel-2.4.xxx-i686-smp.config &lt;BR /&gt;file renaming it .config&lt;BR /&gt;&lt;BR /&gt;- make menuconfig&lt;BR /&gt;and change eventually the parameters you like&lt;BR /&gt;or leave unchanged if you want to replicate&lt;BR /&gt;official RH kernel.&lt;BR /&gt;PS: the make menuconfig step IS necessary&lt;BR /&gt;even if you plan to do nothing. It has to do some steps: in this last case it is faster&lt;BR /&gt;to simply run "make oldconfig" that parses &lt;BR /&gt;your .config file and makes the necessary config steps&lt;BR /&gt;&lt;BR /&gt;- make dep&lt;BR /&gt;&lt;BR /&gt;- make bzImage&lt;BR /&gt;&lt;BR /&gt;- make modules&lt;BR /&gt;&lt;BR /&gt;- make modules_install&lt;BR /&gt; &lt;BR /&gt;- cp arch/i386/boot/bzImage /boot/my_kernel&lt;BR /&gt;- cp System.map /boot/System.map.my_kernel&lt;BR /&gt;- eventually run mkinitrd &lt;BR /&gt;mkinitrd /boot/initrd_my_kernel.img 2.4.xxxx&lt;BR /&gt;(the name of your modules dir under /lib/modules created by make modules_install command)&lt;BR /&gt;- edit accordingly lilo.conf and run lilo or edit grub.conf to have your settings saved&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HIH,&lt;BR /&gt;Gianluca&lt;BR /&gt;&lt;BR /&gt;PS: sorry for the pedantic answer...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2003 06:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/upgrading-rhas-2-1-kernel/m-p/3151412#M8774</guid>
      <dc:creator>Gianluca Cecchi</dc:creator>
      <dc:date>2003-12-30T06:10:48Z</dc:date>
    </item>
  </channel>
</rss>

