Newbies question about recompiling kernel

Discussion in 'HOWTO-Related Questions' started by aakk, Nov 5, 2005.

  1. aakk

    aakk New Member

    OK I compiled my first kernel using Falko's guide, it was OK.

    Now I have to recompile my existing kernel (2.6.14) and I'm wandering whitch commands to execute after 'make menuconfig', changing device drivers etc and exiting 'Linux Kernel Configuration'?
    I use Sarge.
    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  3. aakk

    aakk New Member

    It's same kernel version, I just want to change sound configuration (new sound adapter).
    Do I need to start with 'fakeroot....' after changing configuration?
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    You have to start with
    Code:
    make clean
    and then
    Code:
    make menuconfig
     
  5. aakk

    aakk New Member

    Yes I know that but I'm not sure after that and changing configuration.
    Should I run:

    make-kpkg clean
    fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image

    dpkg -i kernel-image-2.6.11.7_custom.1.x_i386.deb

    or somethin else?
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Code:
    make-kpkg clean
    fakeroot make-kpkg --initrd --revision=custom.1.1 kernel_image
    cd ../
    dpkg -i kernel-image-2.6.11.7_custom.1.1_i386.deb
    So you increase the revision number. It's not necessary, but makes sense. :)
     
  7. aakk

    aakk New Member

    OK, thaught so. Thank You VEEERY much.
    I tried to configure my Creative SB Live 24 but nothinh happened.
    I'll try again. Have you suggestions?
     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Not really...
     

Share This Page