Hi all, I successfully installed new kernel but as new kernel is going to boot, I receive this error: FATAL:could not load /lib/modules/2.6.32.43kerneltest/modules.dep : No such file or directory I checked /lib/modules/2.6.32.43kerneltest directory, and modules.dep exists! Any guidance how can I solve the problem? Thanks in advance, -- Amirali Shambayati Bachelor Student Computer Engineering Department Sharif University of Technology Tehran, Iran
Hi, I got this problem ( compiled kernel from scratch ) Your problem is that the modules is not competible with your ramfs(the initial OS before loading the real Kernel) file. ( this file is /boot/initrd.img.2-6...... ) I have to create the ramfs via mkinitramfs command also you have to update the grub to point to the new ramfs file. Eduard Sinelnikov. 2011/8/8 Amirali Shambayati <amirali.shambayati@gmail.com>:
Hi all, I successfully installed new kernel but as new kernel is going to boot, I receive this error: FATAL:could not load /lib/modules/2.6.32.43kerneltest/modules.dep : No such file or directory
I checked /lib/modules/2.6.32.43kerneltest directory, and modules.dep exists! Any guidance how can I solve the problem?
Thanks in advance, -- Amirali Shambayati Bachelor Student Computer Engineering Department Sharif University of Technology Tehran, Iran
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hello Amirali, * On Mon, Aug 08, 2011 at 12:31:09PM +0430 Amirali Shambayati wrote:
I successfully installed new kernel but as new kernel is going to boot, I receive this error: FATAL:could not load /lib/modules/2.6.32.43kerneltest/modules.dep : No such file or directory
I checked /lib/modules/2.6.32.43kerneltest directory, and modules.dep exists! Any guidance how can I solve the problem?
as you specifically used make-kpkg (in another mail), I assume you are running on Debian or a derived distribution (like Ubuntu). In this case, # update-initramfs -k 2.6.32.43kerneltest -c should generate the requirered initrd, and # update-grub should make it known to grub. AFAIR, it is a known limitation/problem of make-kpkg that the initrd is not automatically built when you install a kernel compiled with that. AFAIK, make-kpkg is not the official way to generate kernel packages (at least, not anymore). HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/
Thanks, Spiro, according to what you said, my problem was solved. On Mon, Aug 8, 2011 at 11:20 PM, Spiro Trikaliotis <ml-kernelnewbies@spiro.trikaliotis.net> wrote:
Hello Amirali,
* On Mon, Aug 08, 2011 at 12:31:09PM +0430 Amirali Shambayati wrote:
I successfully installed new kernel but as new kernel is going to boot, I receive this error: FATAL:could not load /lib/modules/2.6.32.43kerneltest/modules.dep : No such file or directory
I checked /lib/modules/2.6.32.43kerneltest directory, and modules.dep exists! Any guidance how can I solve the problem?
as you specifically used make-kpkg (in another mail), I assume you are running on Debian or a derived distribution (like Ubuntu).
In this case,
# update-initramfs -k 2.6.32.43kerneltest -c
should generate the requirered initrd, and
# update-grub
should make it known to grub.
AFAIR, it is a known limitation/problem of make-kpkg that the initrd is not automatically built when you install a kernel compiled with that. AFAIK, make-kpkg is not the official way to generate kernel packages (at least, not anymore).
HTH, Spiro.
-- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Amirali Shambayati Bachelor Student Computer Engineering Department Sharif University of Technology Tehran, Iran
participants (3)
-
Amirali Shambayati -
Eduard Sinelnikov -
Spiro Trikaliotis