Results 1 to 2 of 2

Thread: Problem in kernel Source Installation

  1. #1
    Join Date
    Jun 2013

    Problem in kernel Source Installation

    I want to install kernel source in Ubuntu 12.04 which is not installed. I have checked the same using the following command :

    dpkg -s kernel

    Output is Kernel is not installed no information available

    Hence I have followed the following steps to install the same:

    1.Installed the Dependencies by the following command:

    $ sudo apt-get install gcc libncurses5-dev git-core kernel-package fakeroot build-essential
    $ sudo apt-get update && sudo apt-get upgrade

    2. Download kernel source by the following command:
    $ wget
    $ tar -xvf linux-3.5.tar.bz2
    $ cd linux-3.5/

    3.Compiled the source code to generate the .deb packages by the following command

    $ make-kpkg clean
    $ fakeroot make-kpkg --initrd --append-to-version=-spica kernel_image kernel_headers

    4. Install the .deb packages (two .deb packages generated, one is to install the kernel headers, another one is to install the kernel image) by the following command

    $ sudo dpkg -i linux-*.deb

    But after reboot it seems kernel is not installed (checked by dpkg -s kernel). Pls tell where I am wrong.
    Also, In step 3, I guess i am installing a new kernel (named spica kernel_image) but during the boot up this new kernel is not showing as option. Pls help me

  2. #2
    Join Date
    Apr 2008
    Ubuntu Development Release

    Re: Problem in kernel Source Installation

    Try updating grub...
    sudo update-grub
    You can also look in the /boot directory to see if your new kernel has been installed properly.

Tags for this Thread


Posting Permissions

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