View previous topic :: View next topic |
Author |
Message |
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Wed May 17, 2017 12:47 pm Post subject: [solved]/lib/modules does not exist |
|
|
I just got done compiling the kernel and when I run:
Code: | root #find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less
|
I get:
Code: | /lib/modules/vmlinuz-4.9.16/: no such file or directory |
Also,
I get Code: | no such file or directory |
I did compile modules in the kernel, so did I do something horribly wrong somewhere? I'm a total newb at this.
Thanks
Last edited by EugeneTheJeep on Sun May 21, 2017 9:51 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Wed May 17, 2017 1:15 pm Post subject: |
|
|
Yes I called
Code: | make && make modules install |
then
|
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Wed May 17, 2017 1:17 pm Post subject: |
|
|
Oh crap I forgot the underscore! Do I need to undo anything or can I just re input those commands? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Wed May 17, 2017 1:31 pm Post subject: |
|
|
I just reran Code: | make && make modules_install |
and
but still can't find |
|
Back to top |
|
|
EugeneTheJeep Tux's lil' helper
Joined: 17 May 2017 Posts: 101
|
Posted: Wed May 17, 2017 1:35 pm Post subject: |
|
|
I got it:
I initially ran:
instead of the correct:
So of course it didn't find anything.
So the correct kernel name is
not
making the correct call:
Code: | find /lib/modules/4.0.16-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less |
so i now found the modules.
Sorry for my newbness |
|
Back to top |
|
|
|