Results 1 to 2 of 2

Thread: How do u patch a kernel?

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    9

    How do u patch a kernel?

    Hi I have a speedtouch dsl modem and I`d like to know how to patch a kernel(btw I am linux nooB). Also there`s a how to for Debian users(we are Debian users right??). It requires me to use apt-get install, how I am supposed to download the kernel if I can`t even connect through the internet??

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: How do u patch a kernel?

    Quote Originally Posted by Smoke187
    Hi I have a speedtouch dsl modem and I`d like to know how to patch a kernel(btw I am linux nooB). Also there`s a how to for Debian users(we are Debian users right??). It requires me to use apt-get install, how I am supposed to download the kernel if I can`t even connect through the internet??
    Your online now so you have access to the internet you use this access to go to www.kernel.org and get the kernel you want download to your current install then when you have booted to the HD install of knoppix you mount the partition that you have the kernel source on and copy it to /usr/src. Once there you would cd /usr/src then tar -xjvf linux-2.??.?? to extract the source next cd linux-2.??.?? change to the directory created during the extraction and patch -p1 < /path/to/patch/file patch the kernel source tree now cd .. change back to the /usr/src directory. Then you would use the standard Debian steps to configure and install a kernel.

    Code:
    cd /usr/src
    ln -s linux-2.??.?? linux      
    cd linux
    make {menu,x,g}config     
    fakeroot make-kpkg clean
    fakeroot make-kpkg kernel_image kernel_headers
    cd ..
    su
    password for root
    dpkg -i kernel_image.......deb kernel_headers.......deb
    reboot to the new kernel
    A more complete guide is here.

Similar Threads

  1. cloop kernel patch
    By Albert in forum Customising & Remastering
    Replies: 7
    Last Post: 10-26-2004, 05:26 PM
  2. how can I apply a kernel patch ?
    By mazaal in forum Customising & Remastering
    Replies: 3
    Last Post: 03-12-2004, 07:10 AM
  3. Would someone please patch the knoppix kernel with i2c?
    By arkaine23 in forum Customising & Remastering
    Replies: 3
    Last Post: 08-20-2003, 02:11 PM
  4. Knoppix-kernel.patch
    By ozfrog in forum Customising & Remastering
    Replies: 4
    Last Post: 06-21-2003, 04:30 PM
  5. Where's the KNOPPIX kernel patch
    By henriquegobbi in forum Customising & Remastering
    Replies: 0
    Last Post: 03-19-2003, 02:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99