LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-12-2003, 09:32 PM   #1
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Rep: Reputation: 15
Kernel


Hi all,

I am a newbie to Linux and Mandrake who is learning quickly!!!!

Can anyone tell me how to uninstall a kernel after you have installed one??? (That I decided I don't want)

Thanks for the help!

Peppercorn
 
Old 09-12-2003, 09:44 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
it should be located in /boot.

its usually called something like "vmlinuz".

But WARNING (WARNING), thats pretty dangerous. Make sure you know what your doing.
 
Old 09-12-2003, 09:53 PM   #3
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Yea OK.

There are a few there and it is'nt clear which one to delete. I know enough to know not to delete one of these unless I know what I'm doing which I don't yet.

Is there a command that I can type via a teminal which will delete it???

Thanks again
 
Old 09-13-2003, 05:09 AM   #4
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
yes but do you have a new kernel in place and working yet?
 
Old 09-13-2003, 05:18 AM   #5
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Yes I have a Kernel working.

But I want to delete a kernel that is'nt compatable with my system. But I don't know how!!
 
Old 09-13-2003, 05:26 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
maybe if you explained what's actually happening in a suitable amount of detail, we'd feel more confident telling you how to remove kernels... It currently sounds like you're about to destroy your system....
 
Old 09-13-2003, 07:10 AM   #7
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
OK then,

I installed a multimedia kernel from Mandrakes site. I am running Mandrake 9.1
Upon reboot into the new kernel I cannot get into the Xserver. I can through the original one though.
That's my problem!
Alternatively, I need answers as to WHY the X Server won't boot up with the new Multimedia Kernel. I am using Nvidia open GL drivers as well which I thought worth mentioning because I d/l another multimedia kernel that was'nt specifically designed to work with those drivers.
But this new kernel didn't give any reason why it would'nt or could'nt start X. Just that X could'nt start.
can you give me an answer to ANY of my probs???

Thanks in advance,

Peppercorn
 
Old 09-13-2003, 11:52 AM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
When you say it can't start x - does it boot into console mode?
 
Old 09-13-2003, 11:58 AM   #9
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
boot with your new kernel that doesn't get X then run the NVidia installer. after that finishes you should be able to reboot and get X.

Since you say you can already boot the new kernel then the instructions for removing the old kernel would be.

rm /boot/vmlinux-x.x.xx (replace this with the kernel you wish to remove)

you may also want to remove other files in /boot the match the kernel's version number (ex. System.map-x.x.xx) but it's not a bad idea to leave the config-x.x.xx file since you may want to use it later

then you could also remove the lilo or grub entry. If I remember right mandrake has a gui tool you can do that with.
 
Old 09-13-2003, 09:55 PM   #10
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
OK

This site is better for help than the Mandrake official site allow me to say!!

Thanks for the help and effort!

I will try and install the Nvidia driver with the other kernels first and see how I go, then. I'll get back to you.

Thanks again.
 
Old 09-13-2003, 10:29 PM   #11
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Hey I booted into the new kernel and the GUI didn't start as usual and gave me a bash prompt. ( Is that what you call it?)

I tried to install the Nvidia driver and it gave me this message.
"Unable to find the kernel header files for the currently run kernel"

Any ideas?????

Thanks
 
Old 09-13-2003, 10:38 PM   #12
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
install that kernels source. to compile drivers for a kernel you need to have that kernel's source installed

Last edited by grym; 09-13-2003 at 10:39 PM.
 
Old 09-13-2003, 10:40 PM   #13
Peppercorn
Member
 
Registered: Sep 2003
Posts: 53

Original Poster
Rep: Reputation: 15
I'm sorry, but I don't know how to do that!
 
Old 09-13-2003, 10:56 PM   #14
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
go back to the mandrake site and get the kernel source rpm for your kernel the name would be start something like kernel-source- then your kernel's version number after your download that run rpm -ivh kernel-source- your version number. the rpm switches are just of the top of my head so you may wish to check them
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

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