Re: modules in Initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 14, 2012 at 4:37 AM, beyond.hack <beyond.hack@xxxxxxxxx> wrote:
> thanks for your sir,
> but one more thing i like to know is that if all the modules needed by the
> kernel are in `initramfs` image then what is the need of the
> /lib/modules/<kernel version>?? won`t it be redundant??
Modules at initramfs are used for booting the system. If you use LVM,
Software RAID, encryption or a disk controller that is not supported
without a module, all those features require modules that need to be
loaded before mounting the root partition. Those modules are in the
initramfs.

Modules at /lib/modules/<kernel version> can be loaded when you plug
new hardware like a webcam or a pendrive.



>
>
>
>
> On Wed, Jun 13, 2012 at 11:18 PM, Mulyadi Santosa
> <mulyadi.santosa@xxxxxxxxx> wrote:
>>
>> On Wed, Jun 13, 2012 at 5:33 PM, beyond.hack <beyond.hack@xxxxxxxxx>
>> wrote:
>> > hello experts,,
>> > I am on Fedora 16 and My current kernel is as per the uname -r output
>> > is 3.1.0-7.fc16.i686.PAE
>> >
>> > I am compiling a kernel 3.4.1 and after the compilation the bzimage and
>> > initramfs are successfully generated..
>> > then doing a
>> > #make install
>> > is giving error like this::
>> >
>> > sh-4.2# make install
>> > sh /usr/local/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1
>> > arch/x86/boot/bzImage \
>> > System.map "/boot"
>> > WARNING: Couldn't open directory /lib/modules/3.4.1: No such file or
>> > directory
>>
>> maybe you forgot to do "make modules" followed by "make
>> modules_install" after generating kernel image?
>>
>> --
>> regards,
>>
>> Mulyadi Santosa
>> Freelance Linux trainer and consultant
>>
>> blog: the-hydra.blogspot.com
>> training: mulyaditraining.blogspot.com
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Peter Senna Tschudin
peter.senna@xxxxxxxxx
gpg id: 48274C36

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux