How to Use a New Kernel to Compile in Ubuntu

104 25
    • 1). Click "Dash," "More Apps," "Accessories" and "Terminal" to open a terminal in Ubuntu.

    • 2). Type "sudo apt-get install qt3-dev-tools libqt3-mt-dev" to download and install all the packages you will need for the custom-kernel build. Navigate to Kernel.org and download the Linux kernel of your choice.

    • 3). Extract the kernel by typing "tar -xjf linux-source-(version number).tar.bz2" into the terminal. Type "cd linux*" to move into the folder for the Linux kernel. Type "make xconfig" to configure the kernel to the specific needs of your system.

    • 4). Type "make-kpkg clean" to clean the source tree and reset the parameters for the kernel package. Type "fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image" to compile the kernel.

    • 5). Type "sudo dpkg -i ../linux-image-(version number)-subarchitecture_custom.1.0_(architecture type).deb" to install the newly compiled kernel and supporting files. Reboot your system once installation is complete and boot into the new kernel.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.