LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2002, 02:55 PM   #1
phatchop
LQ Newbie
 
Registered: Jun 2002
Location: San Diego
Distribution: Suse email server 2
Posts: 5

Rep: Reputation: 0
kernel file


I am installing a software product. It is now telling me to make
a copy or link from my kernel file to /boot/vmlinuz-2.2.16-smp.

How do I do that ???
 
Old 09-06-2002, 03:06 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Your kernel file is usually the one pointed by /boot/vmlinuz. I don't know if you use X or console... Using console:
cd /boot
ls -l
There will be something like vmlinuz -> vmlinux-2.2.20. You need to make a symlink to teh kernel you use, so it may be a symlink to vmlinuz. To make a symlink use
ln -s vmlinux vmlinuz-2.2.16-smp
The link is ready.

NOTE: *-smp kernels are usually for machines with many processors. I'm not sure if it's important in your case, but just to let you know...
 
Old 09-06-2002, 03:11 PM   #3
phatchop
LQ Newbie
 
Registered: Jun 2002
Location: San Diego
Distribution: Suse email server 2
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much. I was actually in Warsaw last year on vacation...
 
Old 09-06-2002, 04:09 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Hey, in the case pointed by Mara you'll have a nested symlink (symlink to symlink, ...) if there is already an entry vmlinuz->vmlinuz-some.version, by creating the symlink prescribed above you'll get
vmlinuz-2.2.16-smp->vmlinuz
vmlinuz->vmlinuz-2.2.20
hence you are making another symlink to 2.2.20 which you name 2.2.16-smp, you need to reverse it if you have new kernel and you want vmlinuz to point to your new kernel
ln -sf /boot/vmlinuz-2.2.16-smp /boot/vmlinuz
assuming after kernel compilation you put /usr/src/linux-kernel.version/arch/i386/boot/bzImage (or zImage) to /boot and renamed it to vmlinuz-2.2.16-smp
Confused?
P.S. And you can ignore everything I just said - I am sluppy on reading stuff , go with Mara's suggestion

Last edited by neo77777; 09-06-2002 at 04:11 PM.
 
Old 09-06-2002, 04:19 PM   #5
phatchop
LQ Newbie
 
Registered: Jun 2002
Location: San Diego
Distribution: Suse email server 2
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, you kind of confused me, but thats not hard sometimes.
I went with Maras suggestion and it is working great....

Thank you, though.
 
Old 09-07-2002, 03:07 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I told to make a symlink to symlink because it'll be automatically changed when the kernel is changed. It will be always a symlink to your current kernel.
NOTE: This may not work in case you change your kernel to 2.4.x. But with 2.2.x it should be OK.

Last edited by Mara; 09-07-2002 at 03:09 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving file in Kernel nox9colt45 Linux - Newbie 11 03-20-2005 06:16 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 09:31 AM
Looking for Kernel Parameter File plexi100 Linux - Newbie 2 10-24-2003 06:08 PM
Can I use the configure file from the last kernel on the new kernel? Pcghost Linux - General 6 07-15-2003 05:15 PM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:21 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