Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-11-2004, 02:16 PM
|
#1
|
|
Member
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548
Rep:
|
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
Last edited by citrus; 02-11-2004 at 10:34 PM.
|
|
|
|
02-11-2004, 11:29 PM
|
#2
|
|
Member
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548
Original Poster
Rep:
|
any help???
|
|
|
|
02-12-2004, 12:52 AM
|
#3
|
|
Member
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
|
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
|
|
|
|
02-12-2004, 01:44 AM
|
#4
|
|
Member
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548
Original Poster
Rep:
|
well i get an error 1 when i do a make install soo......
|
|
|
|
02-12-2004, 07:35 AM
|
#5
|
|
Member
Registered: Aug 2003
Location: Arlington Heights, IL USA
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.
I find this easier but YMMV.
rberry88
|
|
|
|
02-12-2004, 12:22 PM
|
#6
|
|
Member
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50
Rep:
|
Quote:
Originally posted by citrus
any help???
|
Goto your 2.6.2 source tree, cd to init directory and execute the script.
Hope it helps !!
|
|
|
|
02-12-2004, 06:42 PM
|
#7
|
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
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.
Last edited by /bin/bash; 02-12-2004 at 06:45 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|