LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-28-2006, 03:12 PM   #1
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Rep: Reputation: 15
Upgrade broke my previous kernel


I upgraded to dapper and everything is working great,
But when I choose my older kernel (2.6.12) from the grub menu,
I get a kernel panic:

[4294667.940000] Kernel Panic - not syncing: VFS:unable to mount root fs on unknown block(0,0)

[4294667.940000]


I need my previous kernel to work as I have software that relies on it.

Does anybody know why the upgrade to dapper would cause my previous kernel to break??

Thanks.
 
Old 06-28-2006, 03:16 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Go to /boot and see if your old kernel is there or not.

My gut feeling is that Ubuntu (like Debian) installs a metapackage like linux-image-686 that keeps track of the stock kernels. So when you dist-upgraded, it updated linux-image-686 to the newest kernel in the repositories, 2.6.15. Just glancing at the package repositories for dapper, it seems like there's nothing less than a 2.6.15 kernel in there at all.

You might have to rebuild it yourself or recompile your programs against the new kernel. Or maybe pin your repositories to breezy and reinstall the kernel. I've personally never had much luck with apt-pinning as it always wants to install really change my Debian Sarge install...

Last edited by pljvaldez; 06-28-2006 at 03:19 PM.
 
Old 06-28-2006, 03:18 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
It probably didn't break the old kernel, the upgrade probably revised (borked) your grub.conf (menu.lst) file. Post the contents of referenced file.
 
Old 06-29-2006, 10:41 AM   #4
endfx
Member
 
Registered: May 2003
Location: Canada
Distribution: Debian
Posts: 105

Original Poster
Rep: Reputation: 15
Ok, so I think I've figured out the problem.

I tried to reproduce the error on a test machine I have.
I noticed in the grub menu.lst that the kernel that I was having problems with didn't
have the following line:

initrd /boot/initrd.img....

So I took that line out of the the grub menu.lst on my test machine and I pretty much got the
same error.

My problem is that initrd.img-... for the kernel I need to get back running isn't in the /boot
directory. I don't know what happened to it.

Does anybody know how I would get the initrd.img-whatever back, either reproducing it or rebuilding it?

Thanks.
 
  


Reply



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
Upgrade to 2.6.10 broke /dev/cdrom samac Slackware 4 02-17-2005 08:36 AM
apps broke after 2.6.9 upgrade bobbyseatbelt Slackware 2 10-28-2004 03:34 AM
debian unstable upgrade broke mozilla misterflibble Linux - Software 9 03-12-2004 12:15 PM
9.0 to 9.1 upgrade broke cups but has easy fix vickp Slackware 0 10-05-2003 05:42 PM
sendmail broke after rh 9 upgrade heathpitts Linux - Newbie 16 06-18-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:35 AM.

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
Open Source Consulting | Domain Registration