Results 1 to 2 of 2

Thread: what is the best way to compile a kernel?

  1. #1
    Join Date
    Nov 2010
    Beans
    19

    what is the best way to compile a kernel?

    I tried to compile the Kernel 2.6.37.1 and use it but I have not done that properly. I guess there are two ways to do that:
    1. Use "make" commands and mkinitrd command to create initrd file.
    2. use such commands:
    p -vi /boot/config-`uname -r` .config

    make localmodconfig

    fakeroot make-kpkg --initrd --append-to-version=okan kernel-image kernel-headers

    sudo dpkg -i linux-ubuntu-modules-2.6.24-16-generic_2.6.24-16.23_i386.deb
    sudo dpkg -i linux-headers-lum-2.6.24-16-generic_2.6.24-16.23_i386.deb

    cd /boot
    sudo update-initramfs -c -k 2.6.37+QD

    sudo update-grub2
    reboot

    which one is the prober one or is there any way to do that?

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

Tags for this Thread

Bookmarks

Posting Permissions

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