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

Notices


Reply
  Search this Thread
Old 11-24-2005, 12:32 AM   #1
Kamikazee
Member
 
Registered: May 2005
Location: Aus
Distribution: SimplyMEPIS 3.3
Posts: 107

Rep: Reputation: 15
Upgrading Kernel


Im currently running the 2.6 kernel originally shipped with simplymepis 3.3 , so the kernel version is 2.6.10. Im looking into compiling the new 2.6.14 kernel.

now ive never done this before so...

What are the steps I have to take to do this? (precise steps please ) ...

Is it possible once ive compiled and installed the new kernel, if anything goes wrong, can i just switch back to using my current kernel (a switch in grub?).
 
Old 11-24-2005, 02:28 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
if you're a newbie, I suggest getting a binary kernel package (like rpm for Fedora) that you can install by running it / double-clicking / something like that. I don't know what package manager (if any) Mepis uses, but use it if you can.

If you really want or need to compile the new kernel from source, go to kernel.org and read the docs...it's really a simple thing, but you need to know a few things first and make sure you have the dependencies (like gcc). After getting and extracting the source, it's really a matter of few commands to get the new kernel.

And in Linux, you can compile several kernels and put them in your boot partition side by side and choose which one to boot from - if the newly compiled kernel doesn't work, just reboot and select the old.

So, first see if you can use somekind of package manager (how you usually install programs in Mepis?) to install the kernel. Only if you cannot use that, then go to www.kernel.org and download the sources for a kernel you want (some couple dozen megabytes). With the kernel source code you get a README-file which tells you what you need to compile it and how (normally: make menuconfig - make all - make modules-install - copy files to your boot partition, or something like that...it's all in the README).

EDIT: just to remind - a kernel is also a file in your disk. So as long as you do not remove your old kernel or replace it, but only add the new kernel (copy it) with a different name (the version number makes the name different) to your boot partition, and edit grub's config file and add there the new kernel by copying the lines of the old and pasting them and editing a bit, you have 1) two kernels, the old and the new and 2) two entries in Grub for the two kernels so 3) you can select either one of the two to boot

Last edited by b0uncer; 11-24-2005 at 02:30 AM.
 
Old 11-24-2005, 11:31 AM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
For Mepis, you can type in a console window, as su,

apt-get update
apt-cache search kernel-image, it will show all the latest kernels that Mepis has as binary.
 
Old 11-25-2005, 08:16 AM   #4
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
But Warren says kernel-related packages from debian are incompatible, so watch out.

Compiling is OK, just watch what you're doing, don't leave out drivers and stuff you need and make sure to get the new kernel into grub config, lilo or whatever
 
Old 11-25-2005, 02:38 PM   #5
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
mepislovers.org has some kernels in thier downloads section you can get
 
  


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
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 07:21 PM
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 08:00 AM
Upgrading Kernel katvis Linux - Newbie 1 10-13-2004 02:57 PM
Upgrading kernel 2.4 to 2.6 corbis_demon Linux - Newbie 9 07-02-2004 03:36 PM
Upgrading kernel from 2.4.18-3 to 18-4 snowdog12 Linux - Newbie 3 02-20-2003 04:46 PM

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

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