mkinitrd isn't working when compilaing a new kernel
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.