Difference between revisions of "Compile Ubuntu kernel"

From wikidb
Jump to: navigation, search
(Versions)
(Get Source)
Line 31: Line 31:
 
   tar xjvf /usr/src/linux-source-2.6.32.tar.bz2
 
   tar xjvf /usr/src/linux-source-2.6.32.tar.bz2
 
   cd linux-source-2.6.32/
 
   cd linux-source-2.6.32/
 +
 +
Copy the config-2.6.32-38-generic file
 +
  cp -vi /boot/config-`uname -r` .config

Revision as of 10:32, 2 January 2014

For FitPC2

Compile Kernel Used the Alternate Build Method: The Old-Fashioned Debian Way

Versions

Check version Update to 12.04 wouldn't boot

 date
 Mon Dec 30 15:27:20 PST 2013
 lsb_release -a
 No LSB modules are available.
 Distributor ID:	Ubuntu
 Description:	Ubuntu 10.04.4 LTS
 Release:	10.04
 Codename:	lucid
 cat /proc/version
 Linux version 2.6.32-41-generic (buildd@vernadsky) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) ) #89-Ubuntu SMP Fri Apr 27 22:22:09 UTC 2012
 uname -r
 2.6.32-38-generic

Get Source

 sudo apt-get install linux-source 
 cd
 mkdir scr
 cd scr/
 tar xjvf /usr/src/linux-source-2.6.32.tar.bz2
 cd linux-source-2.6.32/

Copy the config-2.6.32-38-generic file

 cp -vi /boot/config-`uname -r` .config