Skip to content
October 12, 2012 / alancads

Compiling Kernel 3.6.6 Stable in Linux

# wget -c

# tar -jxvf linux-3.6.6.tar.bz2

# mv linux-3.6.6 /usr/src/linux-3.6.6-alan

# cd /usr/src/linux-3.6.6-alan

# make mrproper

# zcat /proc/config.gz > .config

# make oldconfig

Local version
If you are compiling a kernel using your current config file, do not forget to rename your kernel version, or you may replace your existing one by mistake.

# make menuconfig

General setup —>
(-ARCH) Local version – append to kernel release ‘3.n.n-RCn’

# make -j2

# make modules_install
# cp -v arch/x86/boot/bzImage /boot/vmlinuz-3.6.6-alan
# mkinitcpio -k 3.6.6-alan -g /boot/initramfs-3.6.6-alan.img
# mkinitcpio -k 3.6.6-alan -g /boot/initramfs-3.6.6-alan-fallback.img

# grub-mkconfig -o /boot/grub/grub.cfg

# reboot


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: