mkinitrd isn't working when compilaing a new kernel
i am try to compile 2.6.2 and when i get down to this part it allways screws up
bash-2.05b# mkinitrd /boot/initrd-2.6.2 2.6.2 /sbin/mkinitrd: line 290: /sbin/nash: No such file or directory /sbin/mkinitrd: line 290: /sbin/nash: No such file or directory /sbin/mkinitrd: line 290: /sbin/nash: No such file or directory /sbin/mkinitrd: line 290: /sbin/nash: No such file or directory no temporary directory could be found i got a smilier error when i tried to compile it using makeinstall whats goin on here? thanks alot |
any help???
|
Why do you need an initrd?? Unless you have a specific need for it, it is not mandatory to have one with the newer kernels.
rberry88 |
well i get an error 1 when i do a make install soo......
|
With the 2.6.x kernels, after you have gone into menuconfig and tweaked the kernel to your liking, you can simply do "make all" and it will do "make dep && make clean bzImage modules modules_install" for you so you just need to worry about copying over the bzImage and maybe the system.map files to your boot directory when its done. When you are ready to do "make dep" you can type "make help" and it will show you what is included when you do make all.
I find this easier but YMMV. rberry88 |
Quote:
Hope it helps !! |
True, initrd is not mandatory for any kernel, but whether or not you need initrd is not affected by how new the kernel is but rather how you configure the kernel, i.e. what you put into the kernel.
You don't have a distribution listed so I can only say that /sbin/nash is part of the mkinitrd rpm in Mandrake. |
All times are GMT -5. The time now is 11:37 AM. |