LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernal options in lilo (https://www.linuxquestions.org/questions/linux-newbie-8/kernal-options-in-lilo-62890/)

alloydog 05-31-2003 01:18 PM

kernal options in lilo
 
I have just started using Vector Linux 3.2.

When lilo kicks in, I get the choice of three kernels:
vmlinuz (vmlinuz)
2.4.20 (vmlinuz-ide-2.4.20)
Linux_Compiled (bzImage)

Currently, I use the default vmlinuz.
But what are the other two & why would I want/need to use them ?

emetib 05-31-2003 05:37 PM

did you compile a kernel yourself?

kernel images-
vmlinux- straight kernel image, no compression
vmlinuz- kernel image with gzip compression
bzimage- kernel image with bz2 compression

the one with -ide-2.4.20 is just stating that that's the kernel version, basically the same as vmlinuz.

if you need to put one on a floppy for a emergency image, i would use the bzimage since it'll be the smaller of the three. you could ls -l /boot and take a look at their sizes also.

cheers.

alloydog 06-01-2003 03:37 AM

"did you compile a kernel yourself?"

Oooooh noooo !!!
I've been into Linux for less than two weeks !!
I thought about installing a real basic system, then building up by adding HW drivers, GUI, applications etc etc (OpenOffice, GIMP, evolution...) but I chose the lazy way...

It took two weeks & six distributions to get somthing working (discovered the 'joys' of lilo).

So, I for the moment I could just edit out the other two options.

thanks

MasterC 06-01-2003 03:50 AM

Yes, if you don't use them. But use comments instead of completely deleting. So the entries might look like:
Code:

image = /boot/bzImage
root = /dev/hda1
label = Linux_Compiled
read-only

So just place comments (#) in front of each line, then rerun lilo to save the changes. I prefer the -v option to see what's going on:
/sbin/lilo -v

Cool

alloydog 06-02-2003 12:03 AM

thanks, I was just about to ask how to comment out lines !


All times are GMT -5. The time now is 06:47 AM.