Giter Site home page Giter Site logo

omv-kernel-release's Introduction

Hello OpenMandriva, Mandriva, Mandrake, MagOS, Mageia, and Rosa Linux Users,

linux-userspace-headers contains the headers for the source code of
Linux kernel. All source code necessary to compile a new kernel is
included in two packages linux-userspace-headers, and kernel-source.
You will need to install both linux-userspace-headers (needed for
general Linux compilation), and kernel-source in order to compile
a new kernel.

The kernel is the central process of your Linux machine, the mediator
between the hardware and your programs. It is responsible for memory
allocations, process managing, device access...

Although modern kernels are very flexible thanks to dynamic modules, you
may need to compile your own kernel for various reasons: your found a
new module which need a more recent kernel, you need a feature of a new
kernel, etc...

Here is a short sum-up of what you can find in the Kernel-HOWTO. Consult
it in case of a problem or if the shortcut here provided does not meet
your needs. You should also consult the README of kernel-sources.



1. Configure your new kernel

You should never build a kernel as root, so as a normal user:
Copy the source in /usr/src/linux/ to ~/kernel/
Change to ~/kernel/ and clean-up previous compilations, by issuing 
"make mrproper",
In console mode, run "make menuconfig",
Under X11, run "make xconfig".

Then configure all sections of your kernel making each feature you need
available constantly or as a module. Note that you should compile most
features as a module, as it consume less memory, taking into account
that some of them cannot be modules as you may need them at boot time,
before dynamic modules be loaded...



2. Compile it

Just issue "make" to create a compressed kernel image and the modules you 
configured.



3. install your new kernel

Now you need root privilegies, so:
Issue "su" and enter root password.
Issue "make modules_install"

This will copy your modules and needed files to /lib/modules/

Issue "make install"

This will copy your new kernel and system.map to boot dir (/boot/) with
correct names including version, and change respective links.

It finally runs lilo to take into account your new kernel.



4. Modify Lilo to allow your booting on old kernel

* This step is optional, although recommended *
See lilo.conf man page.
Your are encouraged during this step to create a new section in your
lilo.conf file, in order to enable you to boot on your both kernels, the
old and the new one.
You need to run lilo then to take your changes into account.
You may also use linuxconf to do all that with a nice GUI.



5. Reboot your machine...

And pray.
Anyway if something goes wrong, you just need to reboot and choose your
old kernel with lilo.

Enjoy!


========================================================================
(c) 1999-2006 Mandriva, Camille B�gnis <[email protected]>
(c) 2006 Thomas Backlund <[email protected]> 
(c) 2011 Thomas Backlund <[email protected]> 
(c) 2011 Nicolò Costanza <[email protected]>

omv-kernel-release's People

Contributors

abucodonosor avatar anssih avatar avburmashev avatar berolinux avatar cris-b avatar fedya avatar itchka avatar pterjan avatar tpgxyz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.