LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

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

Rep: Reputation: Disabled

Happy

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

What I did is the following:

[1] Download latest kernel tarball from linux.org kernel-3.2.11.tar.bz2 .
[2] Untar it in /usr/src/kernels where I do have my latest 2.6.35.6 headers used.
[3] Recompiled there, created in /usr/src/kernel/3.2.11 System.map and copied it to /boot/System.map-3.2.11 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 2.6.35.6-45?!
[6] Then in boot I relinked System.map -> /boot/System.map-2.3.11 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
#boot=/dev/sda
default=1
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
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 (2.6.35.6)
root (hd0,0)
kernel /vmlinuz-2.6.35.6 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, 07:21 AM   #242
sakthi7689
LQ Newbie
 
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
how do i reduce the kernel size
 
Old 06-15-2012, 12:22 PM   #243
barnac1e
Member
 
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?
 
  


Reply


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 11:00 PM
recompile kernel laurentwahl Linux - Software 5 06-02-2005 03:27 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 01:49 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
should i recompile after kernel upgrade? doralsoral Linux - Software 1 03-27-2004 12:50 AM


All times are GMT -5. The time now is 07:00 PM.

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