<?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 How to mannually update initrd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706333#M42590</link>
    <description>Hi,&lt;BR /&gt;We have a failed Linux blade that will not boot due to a possible incorrect qlogic driver for our EVA4100 SAN, caused by a firmware update for iLO.&lt;BR /&gt;&lt;BR /&gt;At the present time the system is booted into rescue mode, where the existing Linux installation is mounted to /mnt/sysimage.  Unknowingly, the /boot partion is not mounted to /boot directory when in rescue mode.&lt;BR /&gt;&lt;BR /&gt;We need to update the Qlogic to a newer version, so I performed 'rpm -e --root=/mnt/sysimage /mnt/sysimage/root/qlogic/hp_qla2x00-2007-10-05b/hp_qla2x00src-8.01.07.25.02-1.linux.rpm' to erase the old rpm.  The command seemed to execute well, except the last messeage displayed was 'Your initrd has not been updated. You will need to do that manually'.&lt;BR /&gt;&lt;BR /&gt;I am assuming this message is because the /boot directory was not mounted and rpm could find it.&lt;BR /&gt;&lt;BR /&gt;So, how do I update initrd manually, to finish the rpm erase?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Randy</description>
    <pubDate>Thu, 28 Oct 2010 14:32:00 GMT</pubDate>
    <dc:creator>Randy Hagedorn</dc:creator>
    <dc:date>2010-10-28T14:32:00Z</dc:date>
    <item>
      <title>How to mannually update initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706333#M42590</link>
      <description>Hi,&lt;BR /&gt;We have a failed Linux blade that will not boot due to a possible incorrect qlogic driver for our EVA4100 SAN, caused by a firmware update for iLO.&lt;BR /&gt;&lt;BR /&gt;At the present time the system is booted into rescue mode, where the existing Linux installation is mounted to /mnt/sysimage.  Unknowingly, the /boot partion is not mounted to /boot directory when in rescue mode.&lt;BR /&gt;&lt;BR /&gt;We need to update the Qlogic to a newer version, so I performed 'rpm -e --root=/mnt/sysimage /mnt/sysimage/root/qlogic/hp_qla2x00-2007-10-05b/hp_qla2x00src-8.01.07.25.02-1.linux.rpm' to erase the old rpm.  The command seemed to execute well, except the last messeage displayed was 'Your initrd has not been updated. You will need to do that manually'.&lt;BR /&gt;&lt;BR /&gt;I am assuming this message is because the /boot directory was not mounted and rpm could find it.&lt;BR /&gt;&lt;BR /&gt;So, how do I update initrd manually, to finish the rpm erase?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Randy</description>
      <pubDate>Thu, 28 Oct 2010 14:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706333#M42590</guid>
      <dc:creator>Randy Hagedorn</dc:creator>
      <dc:date>2010-10-28T14:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to mannually update initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706334#M42591</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Number of good docs on this topic:&lt;BR /&gt;&lt;A href="http://www.ibm.com/developerworks/linux/library/l-initrd.html" target="_blank"&gt;http://www.ibm.com/developerworks/linux/library/l-initrd.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.opennet.ru/docs/HOWTO/Kernel-HOWTO-11.html" target="_blank"&gt;http://www.opennet.ru/docs/HOWTO/Kernel-HOWTO-11.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ha.redhat.com/docs/manuals/linux/RHL-7-Manual/ref-guide/s1-sysadmin-build-kernel.html" target="_blank"&gt;http://ha.redhat.com/docs/manuals/linux/RHL-7-Manual/ref-guide/s1-sysadmin-build-kernel.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 28 Oct 2010 16:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706334#M42591</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-10-28T16:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to mannually update initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706335#M42592</link>
      <description>Initrd creation is a process that is specific to your Linux distribution: different distributions use different scripts and tools for the job.&lt;BR /&gt;&lt;BR /&gt;I'm taking a wild guess and assuming you're using RedHat Enterprise Linux, or CentOS.&lt;BR /&gt;&lt;BR /&gt;As you're in rescue mode:&lt;BR /&gt;&lt;BR /&gt;chroot /mnt/sysimage /bin/bash&lt;BR /&gt;... and suddenly it'll look much more like a normal running system.&lt;BR /&gt;&lt;BR /&gt;Make sure /proc, /sys and /boot are mounted; if they aren't, mount them now. Be aware that files like /etc/mtab will probably have stale data from the last time the system was running normally, so check for mounts with "cat /proc/mounts" instead of using "mount" with no options.&lt;BR /&gt;&lt;BR /&gt;Go to /boot directory: you'll see one or more kernel files, and their corresponding initrds. Identify the kernel version (or versions) whose initrd you'll want to modify.&lt;BR /&gt;&lt;BR /&gt;RedHat's initrd creation command is "mkinitrd". It won't overwrite an existing initrd file, so rename the existing initrd file for your chosen kernel. Remember the name: if something goes wrong, you can edit the boot configuration in the bootloader and substitute the old initrd in place of the standard name.&lt;BR /&gt;&lt;BR /&gt;Then run:&lt;BR /&gt;mkinitrd /boot/initrd-&lt;KERNEL-VERSION&gt;.img &lt;KERNEL-VERSION&gt;&lt;BR /&gt;&lt;BR /&gt;MK&lt;/KERNEL-VERSION&gt;&lt;/KERNEL-VERSION&gt;</description>
      <pubDate>Fri, 29 Oct 2010 06:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-mannually-update-initrd/m-p/4706335#M42592</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-10-29T06:27:40Z</dc:date>
    </item>
  </channel>
</rss>

