LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 02-11-2004, 02:16 PM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
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.
 
Old 02-11-2004, 11:29 PM   #2
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
any help???
 
Old 02-12-2004, 12:52 AM   #3
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
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
 
Old 02-12-2004, 01:44 AM   #4
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
well i get an error 1 when i do a make install soo......
 
Old 02-12-2004, 07:35 AM   #5
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
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
 
Old 02-12-2004, 12:22 PM   #6
glennardo
Member
 
Registered: Oct 2003
Location: Jakarta, Indonesia
Distribution: Slackware 13.37
Posts: 50

Rep: Reputation: 15
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 !!
 
Old 02-12-2004, 06:42 PM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mkinitrd for Kernel 2.6.11.6 (when compiling) LordOfer Linux - Newbie 3 04-02-2005 11:20 AM
Why 'mkinitrd' not working? chandrakanta Linux - Software 1 09-08-2004 10:54 AM
Use mkinitrd to include module in kernel Travers Linux - Newbie 1 07-23-2004 02:35 PM
kernel 2.6.6 mkinitrd problem ziox Linux - Software 0 07-13-2004 07:48 PM
mkinitrd kernel-related question Tino27 Slackware 1 03-26-2004 11:14 PM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration