LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-11-2012, 02:13 PM   #1
anirvana
Member
 
Registered: Mar 2007
Posts: 30

Rep: Reputation: 15
Updated Kernel not being picked up after reboot - Ubuntu 8.10


Hello all,
I am trying to update the kernel on a VPS I inherited. The system runs Ubuntu 8.10, and we cannot upgrade the entire distr. (for some reason), hencewe are trying to upgrade at least the kernel.

This is what I did :
- download the linux headers and images for a newer kernel
- install using dpkg -i
- reboot the server

The problem:
- system does not boot with new kernel
- I cannot locate any grub/lilo config files! so that I can try to modify them and force boot with new kernel

What I need:
- Any advice/pointers about what am I doing wrong, or any suggestions about how to locate bootloader and modify it will be great!

Commands I ran:
Code:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38-natty/linux-headers-2.6.38-020638_2.6.38-020638.201103151303_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38-natty/linux-headers-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.38-natty/linux-image-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
sudo dpkg -i linux-headers-2.6.38-020638_2.6.38-020638.201103151303_all.deb
sudo dpkg -i linux-headers-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
wget http://mirror.anl.gov/pub/ubuntu//pool/main/w/wireless-crda/wireless-crda_1.12_amd64.deb
sudo dpkg -i wireless-crda_1.12_amd64.deb
(the first time round it complained about this wireless-crda package so I installed it and redid the process)
sudo dpkg -i linux-image-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
sudo reboot
What I see after reboot:
- kernel 2.6.24 is in use
- when I look in /boot/ I can see the 2.6.38 kernel present, same for when I use dpkg --list | grep linux-images, I see the new kernel
- there is no /boot/grub/menu.lst file
- there is /sbin/grub-install
- there is grub on my system
Code:
$whereis grub
grub: /usr/sbin/grub /etc/grub.d /usr/lib/grub /usr/share/man/man8/grub.8.gz
I used the steps I listed below on another local virtual machine that I installed from a 8.10 CD and followed the steps. Kernel got upgraded easily, no problems. So the process works! However, it did not work on the vps.

Any insight is very appreciated.

Last edited by anirvana; 03-11-2012 at 02:44 PM. Reason: adding more info
 
Old 03-11-2012, 03:18 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,653

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
What kind of VPS? You are probably booting the provider's kernel. You may not be able to boot your own.
 
Old 03-11-2012, 04:07 PM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,899

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
Ubuntu 8.10 is not supported anymore, that is why you cannot update the entire distro. Unless you compile a kernel on the machine you are using I doubt anyone else would provide a kernel for Ubuntu 8.10 anymore. I know the liquorix kernel wont work in anything that old and I don't know of any others that target unsupported releases.

The best thing you can do is download 10.04 and install it and then about June or July download 12.04 and install it.
 
Old 03-12-2012, 12:23 AM   #4
anirvana
Member
 
Registered: Mar 2007
Posts: 30

Original Poster
Rep: Reputation: 15
@AlucardZero - you are absolutely right. I am using Rackspace, and I have to let them install pv-grub on my system to let me boot in with a new kernel..
 
  


Reply

Tags
kernel, ubuntu, upgrade


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
LXer: Nautilus Elementary is Back! PPAs for Ubuntu 11.04 Natty, Ubuntu 10.10 Maverick Updated LXer Syndicated Linux News 0 03-23-2011 10:41 PM
LXer: Installing Kernel Updates Without Reboot With Ksplice Uptrack On Ubuntu 9.10 LXer Syndicated Linux News 0 02-14-2010 02:00 PM
I've updated my toshiba a40 laptop from ubuntu jackalop3 to ubuntu 9.10 (karmic) slefave Linux - Newbie 1 12-20-2009 07:33 PM
if you never reboot, how do you take advantage of updated kernels? DJOtaku Linux - General 13 08-13-2005 09:41 PM
kernel-update, a success... BUT... couldn't boot from the updated-kernel Pisces107 Red Hat 7 12-17-2003 03:27 PM


All times are GMT -5. The time now is 06:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration