LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-27-2006, 09:10 AM   #1
Heeap
LQ Newbie
 
Registered: Dec 2006
Posts: 12

Rep: Reputation: 0
Problem with kernel after dist-upgrade


Hello.

I have a Debian Sarge system with kernel 2.4.27-3-686 on x86 and xfree86 and the nvidia driver.
Recently I made an 'apt-get dist-upgrade' mainly to get xorg easily but got some errors concerning
the kernel. the install failed. so i did an 'apt-get -f install' to fix the kernel but i got -

You are attempting to install a kernel image (version 2.4.27-3-686)
However, the directory /lib/modules/2.4.27-3-686 still exists. If this
directory belongs to a previous kernel-image-2.4.27-3-686 package, and if
you have deselected some modules, or installed standalone modules
packages, this could be bad. However, if this directory exists because
you are also installing some stand alone modules right now, and they
got unpacked before I did, then this is pretty benign. Unfortunately,
I can not tell the difference.

If /lib/modules/2.4.27-3-686 belongs to a old install of
kernel-image-2.4.27-3-686, then this is your last chance to abort the
installation of this kernel image (nothing has been changed yet).

If this directory is because of stand alone modules being installed
right now, or if it does belong to an older kernel-image-2.4.27-3-686
package but you know what you are doing, and if you feel that this
image should be installed despite this anomaly, Please answer n to the
question.

Otherwise, I suggest you move /lib/modules/2.4.27-3-686 out of the way,
perhaps to /lib/modules/2.4.27-3-686.old or something, and then try
re-installing this image.
Do you want to stop now? [Y/n]

so i told him to continue.... now the kernel panics whenever i try to boot it.

what can i do?

i would like to keep the current kernel because i have the nvidia driver already compiled to it and i always have problems compiling it.

and the ALSA sound server.

thanks, Heeap.
 
Old 12-28-2006, 02:22 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Well, you've completely crashed your kernel (their modules) with no backup (as you were advised).
Now you could only download your computer from live cd, and try to install new kernel set manually.
 
  


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
Dist-Upgrade = Kernel Panic carlosinfl Debian 4 10-18-2006 02:39 PM
apt-get dist upgrade kernel image removed gordonp Linux - Newbie 3 06-09-2006 10:47 AM
Does Apt-get dist-upgrade automatically update the kernel? adamb10 Ubuntu 2 07-10-2005 10:57 AM
Debian dist-upgrade problem m0llbuz_ Debian 3 11-10-2004 12:33 PM
problem after dist-upgrade replika Debian 2 09-16-2004 04:10 PM


All times are GMT -5. The time now is 07:01 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