Can't mkinitrd for Kernel 2.6.11.6 (when compiling)
This is the first time I compile a kernel. I did everything tutorials say (configured, make dep, clean, modules, modules_install, bzImage...).
I am using grub as a boot loader, so I needed to create an .img file like this: mkinitrd /boot/initrd-2.6.11.6.img 2.6.11.6 (and there realy is a "2.6.11.6" directory in /lib/modules). But I get the error: "No dep file found for kernel 2.6.11.6" and no .img file is created. Why do I get this error, and how do I solve it? Is it possible that it happence because I didn't configure things properly, and included some essential things as models? Is there any other way to create the neede .img file? thanks for your help :) :study: :) |
You need to run:
depmod -a 2.6.11.6 before you run mkinitrd. |
Also, if you compile all the stuff your kernel needs to boot directly in (i.e. not as a module) you don't need to bother with an initrd. This is always what I do because it makes the process simpler.
|
Thanks for you help guys
it helped a lot :)
|
All times are GMT -5. The time now is 01:10 AM. |