Fiber Hosting

Affordable Professional Dedicated and Co-Location Services

Documentation and Tutorials by Fiber-Hosting LLC

Created for the novice server administrator of unix and linux powered servers.

 

How to recompile a Linux Kernel

  • Getting the Kernel Sources

The most recent releases of the kernel sources are available on ftp.kernel.org. You will want to wget the file to /usr/src or use FTP to upload it.

  • Configuring For a Build
  1. If /usr/src/linux is not found you can cd /usr/src;mkdir linux;ln -s linux-2.* linux
  2. cd /usr/src/linux
  3. make menuconfig or make oldconfig to carry over your old settings
  • Make the kernel
  1. make bzImage
  2. make modules
  3. make modules_install
  4. make install

To save time you can use make bzImage;make modules;make modules_install;make install

  • Setting Kernel to Boot

One Time boot

  1. Type grub in command prompt
  2. Then type savedefault default=0 once
  3. Type quit
  4. Reboot

For full time

  1. vi /etc/grub.conf
  2. Change default=# to the number of the new kernel
  3. Reboot
Share this guide with a friend. These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Technorati

Comments are closed.


Warning: include(/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php) [function.include]: failed to open stream: No such file or directory in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3

Warning: include() [function.include]: Failed opening '/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3


Entries (RSS) and Comments (RSS).