[lkml]   [2001]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: newly compiled kernel no .img file
    rohit prasad wrote:
    > Hi,
    > I have recompiled the linux 2.4.7-10 kernel to get ntfs readonly support.
    > this is what I entered in the lilo.conf in the fllowing order,
    > image=/boot/wmlinux-2.4.7-10
    > label=xunil
    > read-only
    > root=/dev/hda2
    > image=/boot/vmlinuz-2.4.7-10old
    > label=linux
    > initrd=/boot/initrd-2.4.7-10.img
    > read-only
    > root=/dev/hda2
    > other=/dev/hda1
    > optional
    > label=windows
    > If you notice the first declaration of image the
    > "initrd=/boot/initrd-2.4.7-10.img" is not present . Of course I removed it so that there would be no kernel panic and I am able to boot into the new kernel (xunil).
    > What I want to know is what is this .img file why is it required in the original kernel compilation and not in the newer .

    Your distribution put that there so that it can use modules for drivers
    that are required to mount the root filesystem (ie. SCSI, fs driver,
    etc.). If you build your own kernel, those drivers should be built
    non-modular, therefore you won't need an initrd.


    Brian Gerst
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:13    [W:0.024 / U:16.180 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site