- Before you do any kind of such work, have a backup of everything.
- Obtain the kernel you wish to compile: ftp://ftp.kernel.org/pub/linux/kernel/ for me this was 2.6.21.4 this was key for getting my 965GM video card working correctly.
- Edit your lilo.conf config, make the following changes:
- Next open up
- Then cd back to where you downloaded the new kernel too and
- Next we create a symlink to linux from the new kernel:
- It’s a good idea to use the configuration of your current working kernel as a basis for your new kernel. You will be editing it in a second if you nee to change anything before the install, do it then. So we copy the existing configuration to /usr/src/linux:
- Now we run:
- The kernel configuration menu will pop up, proceed to the bottom where it says:
- If you happen to have the same chipset I do, this next step is imperative. Navigate to:
- Exit out of everything when you’re done and it will ask if you’d like to save your changes, select Yes.
- Now that we have everything configured let’s go ahead and start to build the kernel:
- When all is said and done check to make sure it installed the bzImage to you /boot directory and that lilo.conf was altered to reflect the new kernel compilation.
- Reboot and enjoy your new kernel. If something goes wrong, you can always boot back to you’re old kernel and see what happened.
# cd to /usr/src # wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.XX.XX.tar.gz
image = /boot/vmlinuz.old label = OldKernel
/usr/src/linux/Makefile Uncomment the line... #export INSTALL_PATH=/boot
# tar zxf linux-2.6.XX.XX.tar.gz
# ln -s linux-2.6.21.3 linux # cd /usr/src/linux
# make clean && make mrproper # cp /boot/config-`uname -r` ./.config
# make menuconfig
Load an Alternate Configuration File Type:
.config
Device Driver -> Character Devices -> Scroll down to /dev/agpgart Press space to build this module into the kernel. It should show up as a (*) to the left of it.
# make bzImage # make # make install # make modules # make modules_install
This could take a while if you have a slow computer.
Author :
remote-exploits.blogspot.com
Mei 11, 2008 pukul 11:30 am
aku sangat suka backtrack2,dah beberapa hari ini aku mencoba menginstalnya,tapi eroorr mulu.labtopku acer aspire 4520,tolong dong beri pencerahan,hampir putus asa ne,mohon bantuannya(krmim tutorialnya ke email aku)
Juni 3, 2008 pukul 3:57 am
om ini udah di coba blom?
Agustus 28, 2008 pukul 2:25 am
hi i was wondering if you could tell me why i can not compile a new kernel to my backtrack, it keep getting error like no command found or permission denied, or no such a file in directory, also i been trying to sort my sound out i got lenovo 3000 n200, i been searching every website try most command in a shell still not sound
September 11, 2008 pukul 6:47 pm
@denis
coba kernelnya dipake kernel 2.6.23 keatas.. disaya sudah jalan dengan baik. tapi untuk BT3
November 11, 2008 pukul 3:04 pm
This is great info to know.
Juli 4, 2009 pukul 2:37 pm
saya sudah coba BT3 tp ttp tidak bisa untuk di install ke acer aspire 4520 dari live cd. saya coba option acpi=off noapic live cdnya bisa jalan tp gak bisa diinstall. tolong pencerahannya. thank’s