![]() |
||
|
Compile 2.6.7, 2.6.8, 2.6.8.1, 2.6.9, 2.6.10, 2.6.11.6 Kernel w/module-init-tools Compiling the kernel Lets Begin! cd /usr/src ( i prefer this method rather then just "make" ) If you get alot of errors about .ko modules when you run make modules_install you need to update your modutils package with module-init-tools, see below. Now to copy the files over for the kernel itself. cp .config /boot/config-2.6.7 You may experience an error such as this: /dev/mapper/control: open failed: No such file or directory if you receive that error run the following commands: rm -rf /boot/initrd-2.6.7.img Now to add it to the grub / lilo configuration. Your config will look something like this. Please note you need to follow the format for your current config. title Red Hat Linux (2.6.7) Add your new entry to the top of the kernel list. Set the default to your working kernel. NOTE: the first kernel in the list is "0". (ex. default=1) Now exit. Type "grub" at the bash prompt. savedefault --default=0 --once issue that at the grub prompt then use quit to exit. Once your reboot you need to go back in and set the default to the 2.6 kernel by setting default=0 Your config will look something like this. Please note you need to follow the format for your current config. image=/boot/vmlinuz-2.6.7 Leave the default as is. /sbin/lilo -v -v Once it reboots and comes back online you can change the default to be 2.6.7 and /sbin/lilo -v -v The above tells you how to enable failsafe in your kernels. SO that if the box panics the dc tech does not have to console in he just has to reboot the box. cd /usr/src dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB one of them will kick back something like: root@linux [~]# dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB which means its using grub. Similar Articles : Compile 2.6.7, 2.6.8, 2.6.8.1, 2.6.9, 2.6.10, 2.6.11.6 Kernel w/module-init-tools, Rkhunter Installation, Detect and Clean a hacked server T0rnkit Tutorial, How to install KISS Firewall, How to Disable Telnet, How to install mod_security for Apache, How to install BFD (Brute Force Detection), How to install APF (Advanced Policy Firewall), E-mail Alert on Root SSH Login, Mask Your Web Server for Enhanced Security, Guide to Chkrootkit - checking for intruders, Creating a Welcome message for SSH logins, Disable Direct Root Login, RootCheck - Root Check, Changing APF log for TDP/UDP drop's |
||
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters © Copyright 2003-2007 ABN 97 125 618 662 |
||