unrecognized initrd file with grub-mkconfig (Arch linux).
Hi,
i am currently learninig for my LPIC-2, and one of the objects is about compile a kernel.
so i have a dediceted netbook to practice on it, i have installed on it Arch linux (kernel ver is: 3.0).
part of the practice that i have did, is to compile a new kernel, so i have successfully compiled the 3.0.4 kernel.
at the end of the compiling proccess (i am doing that manually, as less automation as possible), i have created an initrd* image file with the mkinitcpio program, but my problem arise when i am running the program of Grub2 in order to create an grub.cfg file, it not recognize the initrd file that i have created, although it recognize the kernel.
in order to check if the problem is with my initrd file itself, i have added it manually to the grub.cfg file (with 40_custom), and i was able to boot to the system with the new self-compiled kernel.
so i think that my problem is, how to make grub-mkconfig to recognize my initrd file and add it to the grub.cfg file that it creates.
i know that the above solution is working, but i wanna know if i did something wrong. after all i am preparing to a test.
*initrd == any convention that you wanna call that kind of file.
Edit: my kernel name is: vmlinuz-3.0.4-Hanan
my initrd name is: initramfs-linux-3.0.4-Hanan.img
i have tried change the initrd name to other variation but no joy.
Thanks in advanced.
Last edited by hen770; 09-06-2011 at 02:31 PM.
|