Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-08-2012, 05:21 AM   #241
LQ Newbie
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled


I decided to attempt to upgrade existing kernel with latest stable version of kernel 3.2.11 .

What I did is the following:

[1] Download latest kernel tarball from kernel-3.2.11.tar.bz2 .
[2] Untar it in /usr/src/kernels where I do have my latest headers used.
[3] Recompiled there, created in /usr/src/kernel/3.2.11 and copied it to /boot/ file, and in arch/x86/boot/bzImage which I copied to /boot/ as vmlinux-3.2.11 .
[4] executed as root make module_install, and created /lib/modules/3.2.11 directory as such.
[5] Tried to use from /usr/src/kernel/3.2.11 as root:
[root@localhost 3.2.11]# mkinitrd -f /boot/initramfs-3.2.11.img 3.2.11
ERROR: modinfo: could not find module vmhgfs
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmware_balloon
ERROR: modinfo: could not find module vmci
[root@localhost 3.2.11]#
Still, the initramfs-3.2.11.img was created. Not sure should I play with make menuconfig. And not sure how this image was created, as my current kernel is!
[6] Then in boot I relinked -> /boot/ and vmlinuz -> /boot/vmlinuz-3.2.11 (as referring to step [3]).

[7] go to /boot/grub/ and changed grub.conf such as added linux (3.2.11) section as shown:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-[generic-]version.img
title Linux (3.2.11)
root (hd0,0)
kernel /vmlinuz-3.2.11 ro root=/dev/sda2 quiet
initrd /initramfs-3.2.11.img
title Fedora (
root (hd0,0)
kernel /vmlinuz- ro root=UUID=51ae460d-02df-4140-b620-a5cf80b3cc52 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
Old 05-31-2012, 06:21 AM   #242
LQ Newbie
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
how do i reduce the kernel size
Old 06-15-2012, 11:22 AM   #243
Registered: Jan 2012
Location: Moorhead, Minnesota, USA (birthplace of Slackware, ironically)
Distribution: openSuSE 13.1 - KDE
Posts: 234
Blog Entries: 1

Rep: Reputation: 9
Is there an amd64 version of this kernel?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile drivers after upgrade? Tons of Fun Debian 4 09-11-2005 10:00 PM
recompile kernel laurentwahl Linux - Software 5 06-02-2005 02:27 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 12:49 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
should i recompile after kernel upgrade? doralsoral Linux - Software 1 03-26-2004 11:50 PM

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration