Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make modules-install error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
toliver
n00b
n00b


Joined: 18 May 2006
Posts: 2

PostPosted: Thu May 18, 2006 11:06 pm    Post subject: make modules-install error Reply with quote

I am new to Gentoo and Linux in general. I have installed the Base CD and Stage 3 tarball without fault up to the following point in the handbook.

Code:

Code Listing 14: Compiling the kernel

(For 2.6 kernel)
# make && make modules_install


However, I have just made a typo as its getting late.

I mistakingly typed

# make && make modules-install

instead of

# make && make modules_install
(dash instead of underscore).

An error was generated after some time compiling

make: *** No rule to make target 'modules-install'. Stop

I tried the correct command again with the underscore and the system stopped with

if [ -r System.map -a -x /sbin/depmod ] : then /sbin/depmod -ae -F System.map 2.6.16-gentoo-r7; fi

Having spend all evening to get this far I really don't want to trash the install.

Can anyone please advise how to rescue the situation please :cry:
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4726
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 18, 2006 11:48 pm    Post subject: Reply with quote

Hi and welcome to the forums.

After getting the error, you just needed to do make modules_install. You see, the && tells bash to execute the second command only if the first succeeds.
That last message is to be expected. That means that you've finished installing the modules. All you have to do now is to copy your kernel into /boot and to configure your boot loader.
If you have any questions about that, just post them.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
toliver
n00b
n00b


Joined: 18 May 2006
Posts: 2

PostPosted: Fri May 19, 2006 12:09 am    Post subject: Thanks Reply with quote

Thanks very much for the quick response.

My main reason for choosing Gentoo was that I have been told what a great support community the forums are.

Your response to my first post fully supports what i've been told.

Thanks very much, I am looking forwards to this new OS.
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Sat May 20, 2006 12:33 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Answered before here: https://forums.gentoo.org/viewtopic-t-177618-highlight-system+map+sbin+depmod.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum