M a r k   C r o s b i e

You are in: Linux kernel configuration  Home  Resume  Linux  LEGO  Electronics  Movies  Mac OS X 


Details
Basic Install Kernel Network Power Management Dual Booting X Configuration Dock/Undock
Contact Mark at mark@mastincrosbie.com

Linux kernel configuration

While the default installation wil work fine for most situations, your Omnibook will work better if you fine tune the kernel configuration. For example, you will not need any SCSI drivers or ISDN drivers compiled in by default, so you can deselect those options. You will want to enable parallel port printer support if you wish to print to a local printer.

My kernel 2.4.6 configuration file available. Save this file as /usr/src/linux/.config and then change into the /usr/src/linux directory and run make xconfig. You can see and change the settings I have.

Pay particular attention to the power management and networking settings.

To recompile a kernel, take the following steps:
  1. su - root
  2. cd /usr/src/linux
  3. make xconfig (or make menuconfig) to adjust kernel settings.
  4. make dep; make clean to make the dependency information.
  5. make bzImage will compile the kernel itself.
  6. cp arch/i386/boot/bzImage /boot/mykernel to copy the newly compiled kernel into the boot directory.
  7. Edit the /etc/lilo.conf file to add your kernel into the list of bootable images:
    image=/boot/mykernel
            label=mykernel
            root=/dev/hda5   <-- change to your root disk setting!!
            read-only
    
  8. make modules; make modules_install to compile any kernel modules required.
  9. If you are running Windows 2k then create a new c:inux.bin file. See my Windows 2000 page for details.
  10. reboot to reboot the machine with the new kernel!



© 2002-2004 Mark Crosbie   shareright © 2002 Phlash