LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-07-2016, 04:19 PM   #1
tpalmerstudios
LQ Newbie
 
Registered: Feb 2016
Location: Dallas, Texas
Distribution: ElementaryOS on Lenovo Z50-70
Posts: 22
Blog Entries: 2

Rep: Reputation: 10
Question Find name of my compiled kernel


I just compiled a kernel with a patch for wacom tablet access. I need to make an initial ram disk. Don't worry I don't even know what that is. In the ArchWiki it says to do this command
Code:
mkinitcpio -k FullKernelName -c /etc/mkinitcpio.conf -g /boot/initramfs-YourKernelName.img
The problem is, I don't know the name of my kernel. Any ideas...?
 
Old 02-07-2016, 04:28 PM   #2
tpalmerstudios
LQ Newbie
 
Registered: Feb 2016
Location: Dallas, Texas
Distribution: ElementaryOS on Lenovo Z50-70
Posts: 22

Original Poster
Blog Entries: 2

Rep: Reputation: 10
Code:
ls /lib/modules
will list out all kernels. Solution: figure out which one is yours. There should only be two for a normal user. (And remember in the config next time... name it something memorable.)
 
  


Reply

Tags
compilekernel, initial ramdisk, kernel, patch, source code



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
Application to find which modules have been compiled into a kernel image irfanhab Linux - General 3 11-24-2006 10:59 AM
Re-compiled kernel, now it can't find /dev/mouse igor@44 Linux - General 6 05-26-2006 03:12 PM
how to find out if a module has been compiled in my kernel? kpachopoulos Linux - General 2 09-17-2005 04:58 PM
couldn't find the kernel version the module was compiled for darai Linux - Newbie 1 09-12-2004 04:47 PM
Couldn't find the kernel version the module was compiled for iannou Linux - General 2 06-27-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration