What to copy in /lib/module while installing new kernel?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu What to copy in /lib/module while installing new kernel?
# 1  
Old 04-05-2013
Ubuntu What to copy in /lib/module while installing new kernel?

I was trying to install new kernel in my backtrack which was having kernel 3.2.6. i tried installing 3.8.5.

I refered to book linux kernel in nutshell i followed every step. after i rebooted (i had set new kernel in default as my backtrack doesn't display options to select while booting) it gave me fatal error

FATAL ERROR can't load /lib/module/3.8.5/<some-file>

please tell me what does reside here and when do we copy it?
# 2  
Old 04-05-2013
Depends what <some file> is, why it needs it, and what instructions you followed.

Can you still boot your old kernel?
# 3  
Old 04-05-2013
No. i can't as i already mentioned my back track doesn't offer choosing kernel. it was my mistake i should have check for that option.

Aditionally i checked there's no directory for new kernel's version is there in /lib/modules
it only contains directory for previous version.

I'm unable to access /boot (its not avaiable) otherwise i would have restored the previous grub.cfg
# 4  
Old 04-09-2013
Boot a rescue CD such as SysRescueCD. You will be able to access your /boot partition that way, though you may have to mount it manually.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Cannot open module /usr/lib/security

Dear All After powering on my Netra120 Solaris server and waiting for all of the installed processes to be started , when trying for login I am getting : "can not open module /usr/lib/security/pam_authtok_get.so.1" Can you please let me know what has happened to my server and how can I reach... (3 Replies)
Discussion started by: hadimotamedi
3 Replies

2. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies

3. UNIX for Advanced & Expert Users

Kernel Module Debugging

Question may seem illogical but I still need clarification. Can we debug kernel modules loaded on my target system using kdb / kgdb without using any other system or remote debugging? In other words my question is can we use kdb/kgdb to debug kernel modules running on same system? (2 Replies)
Discussion started by: rupeshkp728
2 Replies

4. Linux

Howto compile my own module into the kernel

Hi there, I'm currently writing a program/module which makes use of the Linux Security Modules (LSM), which provide hooks for some security . The bad thing about it is: The function to set the hook to the LSM is not exported. That means, I can't just write a loadable kernel module, but have to... (3 Replies)
Discussion started by: disaster
3 Replies

5. Linux

kernel module parameters

Hi, if I install a module with specific parameter, will this parameters applied next time system boots? for exampe, I want to disable InterruptThrottleRate modprobe e1000e InterruptThrottleRate=0 Is this parameter apllied only for this run, or this module will always use this parameter when... (2 Replies)
Discussion started by: Shedon
2 Replies

6. Solaris

messages error can not open module /usr/lib/security/pam_unix_session.so.1

Hi, I always receive the following intermittent error on the /var/adm/messages, can someone help me please on what to do and what to check for these errors to disappear? What can be the problem with my ftp? Please see details of solaris below. Thanks in advance! SunOS 5.10 Generic_127111-08... (4 Replies)
Discussion started by: ayhanne
4 Replies

7. IP Networking

kernel module

Hi All, I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat. Somebody know if I can do this using netfilter?? Thanks. (2 Replies)
Discussion started by: lagigliaivan
2 Replies

8. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

9. Linux

Kernel sources/module building

Hi All, I've seen people build modules against a certain kernel source (eg in /usr/src/kernels/my_source/) and some people build against the sources in /lib/modules/my_source/build/ What is the difference and are there any benefits to using the /lib/modules source? Regards, Brendan (0 Replies)
Discussion started by: Brendan Kennedy
0 Replies

10. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
Login or Register to Ask a Question