LinuxQuestions.org
Visit Jeremy's Blog.
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, 05: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, 06: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, 11:22 AM   #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?
 
Old 08-25-2015, 04:42 PM   #244
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 166

Rep: Reputation: 20
A lot has changed since the last post and since this is a Sticky don't you think it needs to be updated..how about kernel 4.1.0?
 
Old 08-26-2015, 09:28 PM   #245
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,200

Original Poster
Rep: Reputation: 60
I am the original poster. I agree that it is time for this sticky to be unstuck.
 
Old 08-27-2015, 03:47 AM   #246
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 166

Rep: Reputation: 20
By unstuck i hope you meant "to update" and not to remove it. We do need a reference like that applied to newer versions and kernels.
 
Old 08-27-2015, 12:59 PM   #247
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,200

Original Poster
Rep: Reputation: 60
Quote:
Originally Posted by mzsade View Post
By unstuck i hope you meant "to update" and not to remove it. We do need a reference like that applied to newer versions and kernels.
I just sent a message to unspawn (one of the moderators) and he un-stickied it. He also asked about updating it. I'll try to post a revised version soon as a new thread. I have an old PC sitting in my office that I can play around with. I'll just do a clean install of Jessie on it, then compile a custom kernel while writing down everything I do. It has been years since I compiled a kernel, so hopefully not too much has changed. If I run into trouble, I'll just post my questions here at LQ. Last night when I was looking at this thread, I was kind of shocked to see it has almost 250,000 views. I'm far from being a Linux guru, so it is amazing to see that the thread has been used by so many people.
 
Old 08-27-2015, 01:13 PM   #248
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,641

Rep: Reputation: 211Reputation: 211Reputation: 211
The grub section is most likely the part that is the most out dated, grub2 is the default now, not grub-legacy
 
Old 08-27-2015, 01:14 PM   #249
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 166

Rep: Reputation: 20
Quote:
Originally Posted by m_yates View Post
I just sent a message to unspawn (one of the moderators) and he un-stickied it. He also asked about updating it. I'll try to post a revised version soon as a new thread. I have an old PC sitting in my office that I can play around with. I'll just do a clean install of Jessie on it, then compile a custom kernel while writing down everything I do...
Thanks a lot, i am sure that will be greatly appreciated by an equal, if not greater number of recent Debian converts like me who have begun their journey with Jessie and systemd and have no real acquaintance with what came before it.

---------- Post added 2015-08-27 at 11:44 PM ----------

Last edited by mzsade; 08-28-2015 at 01:17 AM.
 
  


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 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 12:09 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration