Results 1 to 2 of 2

Thread: How do u patch a kernel?

Hybrid View

  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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99