<?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 errors after editing lilo..conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/errors-after-editing-lilo-conf/m-p/2666015#M79675</link>
    <description>Can someone tell me what the &lt;BR /&gt;below error messages mean from running "lilo" after making &lt;BR /&gt;modifications to the /etc/lilo.conf file? I have included the entries made to /etc/lilo.conf here. I made each entry singularly, then  &lt;BR /&gt;ran /sbin/lilo on each line.&lt;BR /&gt;I have installed RH Linux 7.0, and RH Linux 7.2 on the respective partitions listed in /etc/lilo.conf and &lt;BR /&gt;can boot from both partitions&lt;BR /&gt;using its bootable floppy disks created after installing&lt;BR /&gt;Os'es. Here's the lilo.conf file here:&lt;BR /&gt;&lt;BR /&gt;prompt&lt;BR /&gt;timeout=50&lt;BR /&gt;default=linux7_2&lt;BR /&gt;boot=/dev/hda&lt;BR /&gt;map=/boot/map&lt;BR /&gt;install=/boot/boot.b&lt;BR /&gt;message=/boot/message&lt;BR /&gt;linear&lt;BR /&gt;&lt;BR /&gt;image=/boot/vmlinuz-2.4.7-10&lt;BR /&gt;        label=linux7_2&lt;BR /&gt;        initrd=/boot/initrd-2.4.7-10.img&lt;BR /&gt;        read-only&lt;BR /&gt;        root=/dev/hda7&lt;BR /&gt;&lt;BR /&gt;#First entry made, then lilo is run. 1st entry was&lt;BR /&gt;#commented out before second entry is made and lilo&lt;BR /&gt;#ran.&lt;BR /&gt;#Fatal: First sector of /dev/hda1 doesn't have a valid boot signature&lt;BR /&gt;&lt;BR /&gt;#other=/dev/hda1&lt;BR /&gt;#label=linux7_0&lt;BR /&gt;&lt;BR /&gt;#Second entry made.&lt;BR /&gt;&lt;BR /&gt;#Fatal: open /boot/vmlinuz-2.2.16-22: No such file or directory&lt;BR /&gt;&lt;BR /&gt;#image=/boot/vmlinuz-2.2.16-22&lt;BR /&gt;        #label=linux7_0&lt;BR /&gt;        #initrd=/boot/initrd-2.2.16-22.img&lt;BR /&gt;        #read-only&lt;BR /&gt;        #root=/dev/hda1</description>
    <pubDate>Fri, 15 Feb 2002 23:51:13 GMT</pubDate>
    <dc:creator>Gerald Penyweit</dc:creator>
    <dc:date>2002-02-15T23:51:13Z</dc:date>
    <item>
      <title>errors after editing lilo..conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/errors-after-editing-lilo-conf/m-p/2666015#M79675</link>
      <description>Can someone tell me what the &lt;BR /&gt;below error messages mean from running "lilo" after making &lt;BR /&gt;modifications to the /etc/lilo.conf file? I have included the entries made to /etc/lilo.conf here. I made each entry singularly, then  &lt;BR /&gt;ran /sbin/lilo on each line.&lt;BR /&gt;I have installed RH Linux 7.0, and RH Linux 7.2 on the respective partitions listed in /etc/lilo.conf and &lt;BR /&gt;can boot from both partitions&lt;BR /&gt;using its bootable floppy disks created after installing&lt;BR /&gt;Os'es. Here's the lilo.conf file here:&lt;BR /&gt;&lt;BR /&gt;prompt&lt;BR /&gt;timeout=50&lt;BR /&gt;default=linux7_2&lt;BR /&gt;boot=/dev/hda&lt;BR /&gt;map=/boot/map&lt;BR /&gt;install=/boot/boot.b&lt;BR /&gt;message=/boot/message&lt;BR /&gt;linear&lt;BR /&gt;&lt;BR /&gt;image=/boot/vmlinuz-2.4.7-10&lt;BR /&gt;        label=linux7_2&lt;BR /&gt;        initrd=/boot/initrd-2.4.7-10.img&lt;BR /&gt;        read-only&lt;BR /&gt;        root=/dev/hda7&lt;BR /&gt;&lt;BR /&gt;#First entry made, then lilo is run. 1st entry was&lt;BR /&gt;#commented out before second entry is made and lilo&lt;BR /&gt;#ran.&lt;BR /&gt;#Fatal: First sector of /dev/hda1 doesn't have a valid boot signature&lt;BR /&gt;&lt;BR /&gt;#other=/dev/hda1&lt;BR /&gt;#label=linux7_0&lt;BR /&gt;&lt;BR /&gt;#Second entry made.&lt;BR /&gt;&lt;BR /&gt;#Fatal: open /boot/vmlinuz-2.2.16-22: No such file or directory&lt;BR /&gt;&lt;BR /&gt;#image=/boot/vmlinuz-2.2.16-22&lt;BR /&gt;        #label=linux7_0&lt;BR /&gt;        #initrd=/boot/initrd-2.2.16-22.img&lt;BR /&gt;        #read-only&lt;BR /&gt;        #root=/dev/hda1</description>
      <pubDate>Fri, 15 Feb 2002 23:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/errors-after-editing-lilo-conf/m-p/2666015#M79675</guid>
      <dc:creator>Gerald Penyweit</dc:creator>
      <dc:date>2002-02-15T23:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: errors after editing lilo..conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/errors-after-editing-lilo-conf/m-p/2666016#M79676</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;The problem here is very simple : let's suppose you are currently running RedHat 7.2. Of course, your /boot is available for lilo to find the kernel, the initrd, the map file, and other information needed to build a boot sector.&lt;BR /&gt;&lt;BR /&gt;However, the /boot you are using does not contain anything related to RedHat 7.0, because as you may have noticed, the partitions are not the same.&lt;BR /&gt;&lt;BR /&gt;Now, let's find a way to solve this problem.&lt;BR /&gt;&lt;BR /&gt;1. The bad way&lt;BR /&gt;&lt;BR /&gt;Manually mount the /boot from RedHat 7.0, then copy the files needed by lilo to take the kernel 2.2.16 into account.&lt;BR /&gt;&lt;BR /&gt;Why is it bad ? When booted on RedHat 7.0, imagine that you have to change something in the kernel or lilo configuration : you will have to do the same thing (mount the /boot from RedHat 7.2, etc...).&lt;BR /&gt;&lt;BR /&gt;2. The good way&lt;BR /&gt;&lt;BR /&gt;Boot on RedHat 7.0 and upgrade LILO program (from RedHat 7.2 cdroms) to make sure you have the same version of lilo on both versions.&lt;BR /&gt;&lt;BR /&gt;Manually mount the /boot partition from RedHat 7.2, then copy the kernel and System.map-2.2.16... from 7.0 to 7.2's /boot directory.&lt;BR /&gt;&lt;BR /&gt;Edit your /etc/fstab to make the /boot partition from 7.2 being your /boot on 7.0.&lt;BR /&gt;&lt;BR /&gt;Move /etc/lilo.conf into the newly mounted boot, and create a symbolic link from /etc/lilo.conf to /boot/lilo.conf.&lt;BR /&gt;&lt;BR /&gt;Edit your /boot/lilo.conf and make it boot both 7.0 and 7.2.&lt;BR /&gt;Use /sbin/lilo to refresh bootable sectors on the disk.&lt;BR /&gt;&lt;BR /&gt;Reboot in 7.2, remove /etc/lilo.conf and make /etc/lilo.conf being a symlink to /boot/lilo.conf.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo</description>
      <pubDate>Sun, 17 Feb 2002 22:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/errors-after-editing-lilo-conf/m-p/2666016#M79676</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-02-17T22:20:50Z</dc:date>
    </item>
  </channel>
</rss>

