<?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: Linux initrd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234586#M52001</link>
    <description>As mentioned above.</description>
    <pubDate>Thu, 02 Sep 2010 06:25:02 GMT</pubDate>
    <dc:creator>admin1979</dc:creator>
    <dc:date>2010-09-02T06:25:02Z</dc:date>
    <item>
      <title>Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234580#M51995</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;We have been using SLES 10 Linux Customised OS so far. Recently our system could not detect one of the fibre cards. &lt;BR /&gt; Now we have downloaded the required drivers that should make the card recognised by the system. &lt;BR /&gt;What we need to do so that when we install the OS from scratch the system automatically loads the drivers in the sense post installation the card is ready to be used?&lt;BR /&gt;I have heard about initird. Does it help here or kernel compilation ??&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;admin</description>
      <pubDate>Mon, 12 Apr 2010 05:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234580#M51995</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-04-12T05:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234581#M51996</link>
      <description>Hi admin1979,&lt;BR /&gt;&lt;BR /&gt;though I'm really not into SLES at all (we use RHEL),&lt;BR /&gt;I guess that in this respect an answer wouldn't be that distro specific.&lt;BR /&gt;To my knowledge, in your initial ram disk you only require those drivers that are essential to boot the kernel and mount your rootfs.&lt;BR /&gt;So I would guess that if you don't intend to boot your kernel from one of your SAN disks or need to mount one such device in the initial boot stage that you then don't need to modify your initrd image file.&lt;BR /&gt;If you are curious to see what drivers/modules are contained in your initrd then you could unzip the image and dump the contained cpio archive to some temporary filesystem (at least the following should work under RHEL, and their relatively dated kernels)&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;# mkdir /tmp/initrd &amp;amp;&amp;amp; cd /tmp/initrd&lt;BR /&gt;# gzip -dc /boot/initrd-$(uname -r).img | cpio -id&lt;BR /&gt;&lt;BR /&gt;then you could look for the modules contained under /tmp/initrd/lib or have a look at the init script /tmp/initrd/init to find out which modules get loaded&lt;BR /&gt;e.g.&lt;BR /&gt;# egrep insmod\|modprobe /tmp/initrd/init&lt;BR /&gt;&lt;BR /&gt;If you really think that you need to create a new or customize your initrd you could theoretically just modify the extracted cpio archive by adding some required module and editing init and finally cpio-ing it out (i.e. -o...), gziping it and copying it back into /boot.&lt;BR /&gt;However, the recommended way would be to use some tool (script) like mkinitrd (under RHEL, which also has a manpage).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Apr 2010 05:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234581#M51996</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2010-04-12T05:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234582#M51997</link>
      <description>Thanks you are spot on in first place.&lt;BR /&gt;We dont need to recognise this Fibre card in the initial phase of booting. &lt;BR /&gt;So initird option is not mandatory.&lt;BR /&gt;But then the question is , if not through initrd then whats the other option?&lt;BR /&gt;Please clarify that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;admin</description>
      <pubDate>Mon, 12 Apr 2010 05:58:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234582#M51997</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-04-12T05:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234583#M51998</link>
      <description>Use /etc/modprobe.conf or the conf files under /etc/modprobe.d/ (depending on the distro) to define what modules should be loaded on boot.&lt;BR /&gt;&lt;BR /&gt;If I remember corrently you can also use yast, going to system -&amp;gt; sysconf editor -&amp;gt; System -&amp;gt; kernel -&amp;gt; MODULES_LOADED_ON_BOOT -&amp;gt; add your module (driver) name there.</description>
      <pubDate>Mon, 12 Apr 2010 06:30:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234583#M51998</guid>
      <dc:creator>J. Maestre</dc:creator>
      <dc:date>2010-04-12T06:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234584#M51999</link>
      <description>Ok thanks but what next? Suppose I mention the required driver name and boot the system and find that the required module is loaded correctly. So then how do I import it into our customised OS ?&lt;BR /&gt;So that it is avialable after every installations.&lt;BR /&gt;&lt;BR /&gt;Thanx,&lt;BR /&gt;admin</description>
      <pubDate>Mon, 12 Apr 2010 06:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234584#M51999</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-04-12T06:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234585#M52000</link>
      <description>The sysconf editor in YaST mostly makes changes into files in the /etc/sysconfig directory. In this case, the file is /etc/sysconfig/kernel. In that file, there's a variable MODULES_LOADED_ON_BOOT. This is what tells the /etc/rc.d/boot.loadmodules script which modules to load at system boot time.&lt;BR /&gt;&lt;BR /&gt;If your post-install customization sets the correct value to the MODULES_LOADED_ON_BOOT variable in this file, the script will automatically load the module(s) at system boot time.&lt;BR /&gt;&lt;BR /&gt;If the module requires any options, your post-install customization should also drop a file with the appropriate "options &lt;MODULENAME&gt; &lt;OPTIONS&gt;" line into /etc/modprobe.d directory. You are free to choose the name of the file: all the files in this directory are read by modprobe when it loads modules.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/OPTIONS&gt;&lt;/MODULENAME&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234585#M52000</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-04-12T07:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linux initrd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234586#M52001</link>
      <description>As mentioned above.</description>
      <pubDate>Thu, 02 Sep 2010 06:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-initrd/m-p/5234586#M52001</guid>
      <dc:creator>admin1979</dc:creator>
      <dc:date>2010-09-02T06:25:02Z</dc:date>
    </item>
  </channel>
</rss>

