LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2004, 09:24 PM   #1
letdoit
Member
 
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
Explain me bzImage, /vmlinuz to build kernel


Here is what I read from slackware.com

Quote:
To use a kernel, copy the System.map and config files to your /boot directory and copy the kernel image to /vmlinuz. Run /sbin/lilo(8) to install LILO for the new kernel, and then reboot your system. That's all there is to installing a new kernel.
I try to find dir /vmlinuz in / but I can't locate it elsewhere in /. So, is it unreal dir?

As far as I know this phrase, after we copy bzImage to /vmlinuze, we run /sbin/lilo--->then we will boot into new kernel. Do you know why?
 
Old 05-23-2004, 09:33 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
it's /boot/vmlinuz, a link to the actual kernel, for example /boot/vmlinuz-ide-2.4.26 on slackware 9.1...

Last edited by win32sux; 05-23-2004 at 09:35 PM.
 
Old 05-23-2004, 09:33 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
the file is
/boot/vmlinuz

You probably want to use a different name like
/boot/vmlinuz-custom
to avoid overwriting the old one in case the new one doesn't work. /etc/lilo.conf has to be edited accordingly.
 
Old 05-23-2004, 09:38 PM   #4
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
I recommend either using a custom name as was suggested above, or copying the old one to vmlinuz-old before you replacing that and including a vmlinuz-old entry in your lilo.conf so you can boot if there are issues
 
  


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
difference between make bzImage and make vmlinuz? veritas Linux - Newbie 3 11-23-2011 04:45 AM
patched kernel (vmlinuz-2.4.20-8-ide) carlosnarsisa Linux - Hardware 2 01-07-2006 08:12 AM
Taking Kernel from Kernel.org to vmlinuz hobbes567 Linux - Newbie 2 06-17-2004 04:47 PM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM
Interface problems with the vmlinuz-2.4.18-17.7.x kernel jmeile Linux - Newbie 3 11-02-2002 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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