On Thu, Jun 14, 2012 at 4:37 AM, beyond.hack <beyond.hack@gmail.com> 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@gmail.com> wrote:
On Wed, Jun 13, 2012 at 5:33 PM, beyond.hack <beyond.hack@gmail.com> 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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Peter Senna Tschudin peter.senna@gmail.com gpg id: 48274C36