Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-26-2004, 09:00 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
kernel 2.6.1 compiling problem

when i ran make install,here are error outputs:

[root@localhost linux]# make install
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.1/arch/i386/boot/ 2.6.1 arch/i386/boot/bzImage ""
WARNING: Couldn't open directory /lib/modules/2.6.1: No such file or directory
FATAL: Could not open /lib/modules/2.6.1/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.1 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

how to solve?thx very much!
Old 01-26-2004, 09:08 AM   #2
Registered: Aug 2003
Location: Aarhus, Denmark
Distribution: Slackware, Ubuntu
Posts: 122

Rep: Reputation: 15
Did you compile your modules?..

make modules
make modules_install

--or something like that?

Old 01-26-2004, 09:10 AM   #3
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
you could always manually cp your bzImage and to /boot
and then do make Modules_install
Old 01-27-2004, 05:28 AM   #4
LQ Newbie
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thx,trouble solved


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compiling problem. Jakalx Debian 5 08-20-2005 11:42 AM
problem compiling kernel. Rarrum Debian 3 03-21-2005 08:57 PM
problem compiling kernel :( djh Slackware 13 11-14-2004 08:45 PM
problem for compiling kernel bush Linux - General 3 05-16-2003 08:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 01:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 AM.

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