Skip to Content
Linux® Routing
book

Linux® Routing

by Joe Brockmeier, Dee-Ann LeBlanc, Ron McCarty
October 2001
Intermediate to advanced
350 pages
8h 42m
English
Sams
Content preview from Linux® Routing

Building the Linux Kernel

Now that we’ve covered the “Whys,” it’s time to roll up our sleeves and actually compile a kernel. If you haven’t done this before, it’s best to do it on a test machine or make a backup of your old kernel just in case. If you use LILO to boot your Linux machine, make a copy of the Linux kernel before compiling a new kernel and make a new entry in your /etc/lilo.conf for the old kernel. It should look something like this:

root=/dev/hda2 
boot=/dev/hda 
install=/boot/boot.b 
map=/boot/map 
vga=normal 
timeout=300 
prompt 
default=Linux 
lba32 

image=/vmlinuz 
      label=Linux 
      read-only 
      initrd=/boot/root.bin 
      root=/dev/hda2 

image=/vmlinuz.old 
        label=Old_Kernel 
        read-only 
        optional 
        root=/dev/hda2 

Then simply run lilo and you’ll have a working ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Make: Technology on Your Time Volume 10

Make: Technology on Your Time Volume 10

Mark Frauenfelder
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 1578702674Purchase book