LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2003, 08:23 PM   #1
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
boot image


I have read a few different ways in dealing with bzImage after compiling the kernel, some HOW-TO's have you make links to system.map and your linux kernel in '/boot' or just '/' and others just have you copy the bzImage to /boot and configure lilo to boot that way. I am confused at what each method has to offer and what some of you prefer. The correct kernel boots in my system but I dont really understand why I set it up the way I did and that bothers me.
 
Old 11-04-2003, 08:49 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
The first method you mention will conserve disk space by having only one copy of bzImage (with it's
companion /lib/modules), with a link in /boot to point to bzImage.
The second method offers more versatility, by allowing more than one version of the kernel (each
with it's own /lib/modules), but uses much more disk space because there will be more than
one copy of bzImage and more than copy of /lib/modules.
If you have plenty of hard disk, but not much ram, you may want to compile several copies of the
kernel, each with it's own set of capabilities (but much smaller) , and each with it's own /lib/modules,
for special purpose work, or different hardware setups. Or, you may want to try the latest and
greatest test kernel, along with a tried and true kernel, at the expense of hard disk real estate.
But that's it in a nutshell.
 
Old 11-04-2003, 10:07 PM   #3
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Original Poster
Rep: Reputation: 30
Thanks, that makes sense. Now onto my current conifg. ls -la will show links correct? When I execute that command in /boot it shows this:

system.map -> system.map
vmlinuz -> vmlinuz-2.4.2

lilo.conf shows:

map=/boot/map

image=/vmlinuz
label=Linux

in '/' there is:
vmlinuz

Now from what I can tell the links that I made are not being used but when I update my kernel the config chages I make do take effect. I must add that I am using "make bzlilo". But even if that does effect something this configuration makes no sense to me as I did it when I first installed the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
Adding boot image to Ultimate Boot CD ZaphyR Linux - General 7 01-20-2005 03:08 PM
Boot Image marsques Slackware 14 12-12-2004 02:33 PM
Setting X boot image, and loading image untwisted Linux - General 2 03-09-2004 07:40 PM
where is boot image? nothlit Linux - General 8 11-25-2001 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration