Last active
August 29, 2015 14:13
-
-
Save danish-rehman/35ed50be268863fa738b to your computer and use it in GitHub Desktop.
Compile a kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download the kernel | |
>> cd /mnt/local | |
>> wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.16.tar.gz | |
>> sudo apt-get install libncurses5-dev libncurses5 | |
>> tar -xvf linux-3.2.63.tar.gz | |
>> cd linux-3.2.63 | |
>> make menuconfig | |
# Build the kernel | |
>> make && make modules && make modules_install && make install | |
>> sudo reboot | |
# Check kernel version | |
>> uname -r | |
# Image to be stored | |
>> ls /mnt/local/linux-3.16/arch/x86/boot/bzImage | |
# System map file to be stored | |
>> ls /mnt/local/linux-3.16/System.map | |
# Config file to be stored | |
>> ls /boot/config-3.16.0 | |
# Modules list to be stored | |
>> ls /lib/modules/3.16.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment