Results 1 to 5 of 5

Thread: Linux Kernel Installation

  1. #1
    Join Date
    Jan 2013
    Beans
    3

    Question Linux Kernel Installation

    Hi !!

    I am facing issues with linux kernel development. Actually I am new comer to linux kernel development and the tutorial guided me to install Linux kernel.

    I don't know whether the installation of linux kernel is same like installing an OS or like an software.

    what i meant that whether i should install this on separate Virtual machine or i should install it on my system which is already running an ubuntu, so if i install this on my ubuntu system will it cause anykind of issues.

  2. #2
    Join Date
    Jul 2006
    Location
    Castrum, Germania Secunda
    Beans
    1,071

    Re: Linux Kernel Installation

    Quote Originally Posted by Man OS View Post
    if i install this on my ubuntu system will it cause anykind of issues.
    Yes. That's not a good idea: expect frequent breakage and many unsolvable bugs, when using a kernel that's not a default part of a stable Ubuntu release.

    In a sense, the kernel *is* the operating system. The rest is "just" a layer around it. This layer needs to be finely tuned and adjusted to the kernel, otherwise all kinds of things may go horribly wrong.

    So I'd definitely use the Virtual Machine.
    Tips, tweaks and how-to's for Ubuntu and Mint:
    http://sites.google.com/site/easylinuxtipsproject
    In for a pleasant surprise? Give Xubuntu a try:
    http://sites.google.com/site/easylin...roject/xubuntu

  3. #3
    Join Date
    Jan 2013
    Beans
    3

    Re: Linux Kernel Installation

    so how i should install it on a Virtual machine. Actually i want to write some kernel modules.

    Can you please show me some website or can tell me some steps by which i can install this new linux kernel on Virtual Machine.

  4. #4
    Join Date
    Apr 2012
    Beans
    6,421

    Re: Linux Kernel Installation

    If you just want to build kernel modules for the currently installed kernel, it should be sufficient to install the appropriate kernel headers package

    Code:
    sudo apt-get install linux-headers-$(uname -r)
    plus appropriate build tools of course - at least gcc and make - or the build-essential meta package

    See http://www.tldp.org/LDP/lkmpg/2.6/html/lkmpg.html for simple examples you can try out

  5. #5
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    9,661
    Distro
    Ubuntu Development Release

    Re: Linux Kernel Installation

    Have you seen this, by the way?

    http://www.kernel.org/faq/

    My guess on this would be to install Ubuntu into a virtual machine or on a separate partition or even a separate machine and then install the development kernels into it.

    Then if things break beyond repair you can just re-install and start again. I do not think it wise to install one of these development kernel on our only Ubuntu OS.

    Some of us like to test development branches of Ubuntu. Some put in new Linux kernels as soon as they become available. They do the same with other parts of the distribution. But I think we are all agreed that we try this stuff out on an OS installation we can afford to break.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •