[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about patching my kernel



David Sanders wrote:

On Saturday 24 July 2004 07:46 am, Paul Akkermans wrote:
uname -a
Linux debian 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown

cat /etc/debian_version
3.0
The basic procedure.  Ask if you have any questions.
1. Download:
http://www.kernel.org/pub/linux/kernel/v2.6/http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.7.tar.bz2
2. Untar the archive
tar xjvf linux-2.6.7.tar.bz2
3. Change directories into the archive
cd linux-2.6.7
4. Configure the kernel
make menuconfig
Note: you will be presented with lots of options. Select the ones that match your computers hardware configuration.
5. Build the kernel
make
6. Become superuser and copy the relevent files to /boot
cp System.map /boot/System.map-2.6.7
cp .config /boot/config-2.6.7
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.7
7. Copy any modules you built to /lib/modules
make modules_install
8. Point your bootloader to the new kernel image
For lilo you need to edit /etc/lilo.conf and add a stanza like:
image=/boot/vmlinuz-2.6.7
       label=2.6.7
       alias=linux
9. Run lilo to update the boot record
lilo
10. Reboot and have fun


This results in a broken system. Broken in that it will probably not run with the 2.6 kernel, though the 2.2 kernel ought still work.


--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: