LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-18-2002, 03:54 PM   #1
thanko
Member
 
Registered: Feb 2002
Location: MI
Distribution: Slackware 9.1
Posts: 83

Rep: Reputation: 15
kernel naming


What are the restrictions on names for the kernel file. I know I can use zImage and bzImage. What else is available?
 
Old 04-18-2002, 04:13 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Hmm... of the 14 or so kernels on my Athlon box, there are:

ILikeDoughnuts
IWantSound
IHopeThisWorks
WhoopsForgotDosFS
IHate2-5-6
CoffeeIsGood

I think there may be a character limitation, but there is no naming restriction, just convention.

Cheers,

Finegan
 
Old 04-19-2002, 07:07 AM   #3
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
You can also use bzlilo or none of the above, creating a straight non-compressed vmlinuz file. -mk
 
Old 04-25-2002, 09:00 AM   #4
thanko
Member
 
Registered: Feb 2002
Location: MI
Distribution: Slackware 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Do I have to compile the kernel and then rename it? or what?

Thanks.
 
Old 04-25-2002, 02:59 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
RedHat 7.2, you're probably booting with grub. I use Lilo, but most of basics are the same. I'm a bit confused as to the question now, so here's what I do:

cd /usr/src/linux

(compile the kernel. To do this, read the README in the /usr/src/linux directory, or the HOW-TO over at linux docs)

cd /usr/src/linux/arch/i386/boot (where the compressed kernel Image is after you've compiled it.
cp bzImage /boot/ILikeCheese (Copies the image to the boot directory and re-names it)

Then edit your grub.conf file, which I think is in /boot, and add information for your new kernel. It will be the same info as whatever other entry is in there, just with a different name... oh, and you'll have to give it a different label.

Also, if you want to compile the kernel, grab a new one. I've got 7.2 running with 2.4.15,16,17,18 and 2.5.7,8 so its no big deal. The easiest way NOT to make a mess of your machine is to experiment entirely with a different kernel source than the one you have now, so you can always safely boot into your current kernel. Snag 2.4.18 from www.kernel.org and have fun.

Cheers,

Finegan
 
  


Reply



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
fedora kernel naming kpachopoulos Fedora 2 07-24-2005 10:00 PM
Song Naming Boffy Linux - Software 4 09-28-2004 03:18 PM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM
Naming conventions ??? bigjohn Linux - Newbie 1 12-07-2003 10:25 AM
XFS modules kernel naming bug fisher99 Slackware 1 04-01-2003 06:45 PM

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

All times are GMT -5. The time now is 01:03 PM.

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