<?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 question regarding lilo.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-lilo-conf/m-p/2426280#M70</link>
    <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Making plans to rebuild a kernel on RH 6.0 to add an Adaptec 2940 UW SCSI card for backup. Presently, no SCSI devices on the system.&lt;BR /&gt;&lt;BR /&gt;The question I have is that this is a production mail gateway. I have another RH6.0 system with something different in the lilo.conf. The production lilo.conf file does not have the initrd=/boot/initrd-2.2.5-15.img entry. Wanting to have a backup kernel to boot from if things do not go well.&lt;BR /&gt;&lt;BR /&gt;Plans I have so far are:&lt;BR /&gt;(Sorry for the length)&lt;BR /&gt;&lt;BR /&gt;To create and install automatically:&lt;BR /&gt; freshly generated kernel under /usr/src/linux/arch/i386/boot/zImage&lt;BR /&gt;&lt;BR /&gt; make dep clean bzlilo modules modules_install&lt;BR /&gt;&lt;BR /&gt;+ Perform dependency file generation&lt;BR /&gt;+ Clean sources&lt;BR /&gt;+ Create compressed kernel image&lt;BR /&gt;+ Copy /vmlinuz to vmlinuz.old and copy new zImage kernel into place&lt;BR /&gt;+ Build all modules and install them in /lib/modules/2.2.5-15&lt;BR /&gt;&lt;BR /&gt;1&amp;gt;          Backup new kernel source tree &lt;BR /&gt;+ cp /usr/src/linux /usr/src/linux.sav&lt;BR /&gt;2. backup kernel itself&lt;BR /&gt;+ cp /boot/vmlinuz-2.2.5-15 /boot/vmlinuz-2.2.5-15.sav&lt;BR /&gt;3. modify /etc/lilo.conf&lt;BR /&gt;boot=/dev/hda&lt;BR /&gt;map=/boot/map&lt;BR /&gt;install=/boot/boot.p&lt;BR /&gt;prompt&lt;BR /&gt;timeout=50&lt;BR /&gt;image=/boot/vmlinuz-2.2.5-15&lt;BR /&gt; label=linux&lt;BR /&gt; root=/dev/hda1&lt;BR /&gt; read-only&lt;BR /&gt;&lt;BR /&gt;CHANGE TO:&lt;BR /&gt;image=/boot/vmlinuz-2.2.5-15.sav&lt;BR /&gt; label=linux.sav&lt;BR /&gt; root=/dev/hda1&lt;BR /&gt; read-only&lt;BR /&gt;&lt;BR /&gt;run lilo to update &lt;BR /&gt;&lt;BR /&gt;uname -v&lt;BR /&gt; tells you if the new kernel is in effect&lt;BR /&gt;&lt;BR /&gt;use  "xconfig" to do the initial configuration&lt;BR /&gt;&lt;BR /&gt;linux kernel module commands&lt;BR /&gt; lsmod insmod rmmod depmod modprobe&lt;BR /&gt;&lt;BR /&gt; to add a module:&lt;BR /&gt;  insmod -v -o -k aic7xxx /lib/modules/2.2.5-15/scsi/aic7xxx.o&lt;BR /&gt;&lt;BR /&gt;Do the above plans look good? Do I have a kernel saved in case I need to boot from it?&lt;BR /&gt;&lt;BR /&gt;Many thanks to all! The help is greatly appreaciated!&lt;BR /&gt;Rick</description>
    <pubDate>Wed, 14 Jun 2000 14:49:06 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2000-06-14T14:49:06Z</dc:date>
    <item>
      <title>question regarding lilo.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-lilo-conf/m-p/2426280#M70</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Making plans to rebuild a kernel on RH 6.0 to add an Adaptec 2940 UW SCSI card for backup. Presently, no SCSI devices on the system.&lt;BR /&gt;&lt;BR /&gt;The question I have is that this is a production mail gateway. I have another RH6.0 system with something different in the lilo.conf. The production lilo.conf file does not have the initrd=/boot/initrd-2.2.5-15.img entry. Wanting to have a backup kernel to boot from if things do not go well.&lt;BR /&gt;&lt;BR /&gt;Plans I have so far are:&lt;BR /&gt;(Sorry for the length)&lt;BR /&gt;&lt;BR /&gt;To create and install automatically:&lt;BR /&gt; freshly generated kernel under /usr/src/linux/arch/i386/boot/zImage&lt;BR /&gt;&lt;BR /&gt; make dep clean bzlilo modules modules_install&lt;BR /&gt;&lt;BR /&gt;+ Perform dependency file generation&lt;BR /&gt;+ Clean sources&lt;BR /&gt;+ Create compressed kernel image&lt;BR /&gt;+ Copy /vmlinuz to vmlinuz.old and copy new zImage kernel into place&lt;BR /&gt;+ Build all modules and install them in /lib/modules/2.2.5-15&lt;BR /&gt;&lt;BR /&gt;1&amp;gt;          Backup new kernel source tree &lt;BR /&gt;+ cp /usr/src/linux /usr/src/linux.sav&lt;BR /&gt;2. backup kernel itself&lt;BR /&gt;+ cp /boot/vmlinuz-2.2.5-15 /boot/vmlinuz-2.2.5-15.sav&lt;BR /&gt;3. modify /etc/lilo.conf&lt;BR /&gt;boot=/dev/hda&lt;BR /&gt;map=/boot/map&lt;BR /&gt;install=/boot/boot.p&lt;BR /&gt;prompt&lt;BR /&gt;timeout=50&lt;BR /&gt;image=/boot/vmlinuz-2.2.5-15&lt;BR /&gt; label=linux&lt;BR /&gt; root=/dev/hda1&lt;BR /&gt; read-only&lt;BR /&gt;&lt;BR /&gt;CHANGE TO:&lt;BR /&gt;image=/boot/vmlinuz-2.2.5-15.sav&lt;BR /&gt; label=linux.sav&lt;BR /&gt; root=/dev/hda1&lt;BR /&gt; read-only&lt;BR /&gt;&lt;BR /&gt;run lilo to update &lt;BR /&gt;&lt;BR /&gt;uname -v&lt;BR /&gt; tells you if the new kernel is in effect&lt;BR /&gt;&lt;BR /&gt;use  "xconfig" to do the initial configuration&lt;BR /&gt;&lt;BR /&gt;linux kernel module commands&lt;BR /&gt; lsmod insmod rmmod depmod modprobe&lt;BR /&gt;&lt;BR /&gt; to add a module:&lt;BR /&gt;  insmod -v -o -k aic7xxx /lib/modules/2.2.5-15/scsi/aic7xxx.o&lt;BR /&gt;&lt;BR /&gt;Do the above plans look good? Do I have a kernel saved in case I need to boot from it?&lt;BR /&gt;&lt;BR /&gt;Many thanks to all! The help is greatly appreaciated!&lt;BR /&gt;Rick</description>
      <pubDate>Wed, 14 Jun 2000 14:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-lilo-conf/m-p/2426280#M70</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-14T14:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: question regarding lilo.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/question-regarding-lilo-conf/m-p/2426281#M71</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;I've built many a Kernel ... let's keep this Simple.&lt;BR /&gt;&lt;BR /&gt;1. edit the /etc/lilo.conf and duplicate the structure currently in existence for the New Kernel.  Make the new entry&lt;BR /&gt;name=linux-scsi&lt;BR /&gt;image=linuz-2.2.15.scsi  &lt;BR /&gt;&lt;BR /&gt;This will keep the current linux OS the default, until you are confident that this new kernel works ok.&lt;BR /&gt;&lt;BR /&gt;2. make xconfig  Add the Adaptec Controller to the kernel (don't make it a module, this will slow it's use down considerably)&lt;BR /&gt;&lt;BR /&gt;3. make bzImage&lt;BR /&gt;4. make modules&lt;BR /&gt;5. make modules_install&lt;BR /&gt;6. Copy the New Kernel to the New Image location.&lt;BR /&gt;&lt;BR /&gt;7. lilo -v (verbose mode will report any errors)&lt;BR /&gt;&lt;BR /&gt;8. When all of the above works without an error you can reboot, and select the New OS you just compiled and verify that the Adaptec Controller is recognized (dmesg works really well for this).&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jun 2000 17:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/question-regarding-lilo-conf/m-p/2426281#M71</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-06-14T17:29:15Z</dc:date>
    </item>
  </channel>
</rss>

