<?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: lvmcreate_initrd file too large in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844505#M2870</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The correct syntax of ramdisk_size is this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;append = "ramdisk_size=8192"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;( note the double quotation is used )&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Nov 2002 04:49:23 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2002-11-14T04:49:23Z</dc:date>
    <item>
      <title>lvmcreate_initrd file too large</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844504#M2869</link>
      <description>Dear  all,&lt;BR /&gt;&lt;BR /&gt;I am converting a redhat 7.3 server to LVM. I successfully run the command lvmcreate_initrd. &lt;BR /&gt;&lt;BR /&gt;I edit  /etc/lilo.conf as per the lvm howto:&lt;BR /&gt;image   = /boot/KERNEL_IMAGE_NAME&lt;BR /&gt;label   = lvm&lt;BR /&gt;root    = /dev/vg00/lv_root&lt;BR /&gt;initrd  = /boot/INITRD_IMAGE_NAME&lt;BR /&gt;ramdisk = 8192&lt;BR /&gt;&lt;BR /&gt;But when I run lilo, I get the error message:&lt;BR /&gt;&lt;BR /&gt;boot =/dev/hda, map = /boot/map.0301&lt;BR /&gt;Fatal: Kernel /boot/initrd-lvm-2.4.18-3.gz is too big&lt;BR /&gt;&lt;BR /&gt;From the lvmcreate_initrd man page it says the modifications should be in the form of:&lt;BR /&gt;&lt;BR /&gt;image = /boot/vmlinuz&lt;BR /&gt;initrd = /boot/initrd-lvm-KernelVersion.gz&lt;BR /&gt;root = /dev/YourVG/YourRootLV&lt;BR /&gt;label = rootonlv&lt;BR /&gt;append = 'ramdisk_size=8192'&lt;BR /&gt;&lt;BR /&gt;When run with this config an error is returned:&lt;BR /&gt;&lt;BR /&gt;sysntax error on line 15 - the append line.&lt;BR /&gt;&lt;BR /&gt;Anyone done this successfully?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Damo&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 04:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844504#M2869</guid>
      <dc:creator>support_5</dc:creator>
      <dc:date>2002-11-14T04:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: lvmcreate_initrd file too large</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844505#M2870</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The correct syntax of ramdisk_size is this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;append = "ramdisk_size=8192"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;( note the double quotation is used )&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 04:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844505#M2870</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-11-14T04:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvmcreate_initrd file too large</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844506#M2871</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The error means that your ramdisk size is too&lt;BR /&gt;big.&lt;BR /&gt;&lt;BR /&gt;So try to reduce the size in /etc/lilo.conf to this line&lt;BR /&gt;&lt;BR /&gt;append = "ramdisk_size=4096" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        ( OR )&lt;BR /&gt;&lt;BR /&gt;ramdisk = 4096&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 05:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844506#M2871</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-11-14T05:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvmcreate_initrd file too large</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844507#M2872</link>
      <description>If you're compiling your own kernels, you can set the size of the rd devices in the kernel config.  The default for linus kernels is 4096.  I believe that RedHat uses twice that.  The quick way to set it higher is to edit your kernel .config file and change CONFIG_BLK_DEV_RAM_SIZE.&lt;BR /&gt;&lt;BR /&gt;Also, the newer mkinitrd from RH 8 (grab kernel-tools rpm) automagically adds LVM stuff if necessary.  Personally, I keep my root disk on a real partition and compile LVM directly into the kernel instead of a module.  This removes the need for any initrd.  Also, if your root is on a real partition, you can edit /etc/rc.sysinit and add a "modprobe lvm-mod" toward the top to make it load LVM before doing the vgscan.  Also, in this case, you will not need LVM in your initrd.</description>
      <pubDate>Thu, 14 Nov 2002 17:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lvmcreate-initrd-file-too-large/m-p/2844507#M2872</guid>
      <dc:creator>Albert P Tobey</dc:creator>
      <dc:date>2002-11-14T17:57:09Z</dc:date>
    </item>
  </channel>
</rss>

