Professional Web Applications Themes

kernel compilation question - Debian

Now that I'm fully moved over to Debian :-), I'm looking at start tinkering with kernel compilation. I would "assume" I'd need the kernel-source package of my choice? But it are there any other package(s) I'd need to download to get started? Thanks -- Rodney D. Myers <rdmyerspe.net> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/JI60RzSENXJW+i8RAmbJAJ95YgNTXaslFbbuM5jH0Y7xZiUgkg Cfa41Q Rno15Ew71/zLZuEAF02e+F0= =oLtm -----END PGP SIGNATURE-----...

  1. #1

    Default kernel compilation question

    Now that I'm fully moved over to Debian :-), I'm looking at start
    tinkering with kernel compilation.

    I would "assume" I'd need the kernel-source package of my choice? But it
    are there any other package(s) I'd need to download to get started?

    Thanks

    --
    Rodney D. Myers <rdmyerspe.net> Registered Linux User #96112
    ICQ#: AIM#: YAHOO:
    18002350 mailman452 mailman42_5

    They that can give up essential liberty to obtain a
    little temporary safety deserve neither liberty nor safety.
    Ben Franklin - 1759

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/JI60RzSENXJW+i8RAmbJAJ95YgNTXaslFbbuM5jH0Y7xZiUgkg Cfa41Q
    Rno15Ew71/zLZuEAF02e+F0=
    =oLtm
    -----END PGP SIGNATURE-----

    Rodney D. Myers Guest

  2. #2

    Default Re: kernel compilation question

    On Sunday 27 July 2003 9:47 pm, Rodney D. Myers wrote:
    > Now that I'm fully moved over to Debian :-), I'm looking at start
    > tinkering with kernel compilation.
    >
    > I would "assume" I'd need the kernel-source package of my choice? But it
    > are there any other package(s) I'd need to download to get started?
    >
    > Thanks
    I am not trying to say RTFM but read Debian Reference
    ([url]http://www.debian.org/doc/[/url]). There is a chapter about compiling the
    kernel... Really, you need to read this.

    Once said that, I do not use Debians packages to compile the kernel... they do
    everything for you... I feel that if you are going to compile your own kernel
    you should be aware of every step, but that's just me... and it is really
    easy either way (Debians way or the manual way).

    So the only package I need is the kernel per se, and gcc (2.95 or 3.2, I
    always have problems with 3.3, and I seem to remember that this is a known
    issue).

    Also, not relying on Debian packagest allows you to use really up to date
    versions of the kernel. For example I am running with a 2.6.0-test2 kernel,
    released just a few hours!!

    In Debian Reference there is an explanation for compiling the kernel "the
    debian way" and for compiling it manually... and to be honest, I think both
    ways are very easy... the "hard" part is not the compilation per se, or
    making the proper changes so your system boots OK (ALWAYS REMEMBER TO UPDATE
    LILO OR GRUB), but to configure the kernel (make menuconfig or however you do
    it) properly... but this, like everything, is a trial an error thing... and
    very instructive about the innards of the kernel.


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Marino Fernandez Guest

  3. #3

    Default Re: kernel compilation question

    Hi,


    * Rodney D. Myers <rdmyerspe.net> [030728 11:48]:
    > Now that I'm fully moved over to Debian :-), I'm looking at start
    > tinkering with kernel compilation.
    >
    > I would "assume" I'd need the kernel-source package of my choice?
    "Need" is not strictly true since you could just get the source from
    kernel.org. However I would recommend using the Debian kernel-source
    packages which have a had a few security patched applied.
    > But it are there any other package(s) I'd need to download to get
    > started?
    Anything that is "needed" will be in the "Depends" field for the
    kernel-source package, so it will be installed automatically if you
    apt-get install your kernel source.

    Look at the "Suggests" and "Recommends" of the kernel-source.
    eg apt-cache show kernel-source-2.4.21.

    You will need gcc, make and libc-dev to compile the kernel.
    Additionally you may want libncurses-dev to use menuconfig and I
    highly recommend using make-kpkg from the kernel-package package when
    doing the compilation. Have a look in /usr/share/doc/kernel-package,
    and I believe there is a good Debian kernel howto at newbiedoc on the
    web (sorry not exactly sure where).

    Good luck,

    Nick.



    --
    Debian testing/unstable
    Linux twofish 2.6.0-test1-looxt93c6 #1 Thu Jul 17 16:49:12 JST 2003


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Nick Hastings Guest

  4. #4

    Default Re: kernel compilation question

    Marino Fernandez wrote:
    > On Sunday 27 July 2003 9:47 pm, Rodney D. Myers wrote:
    >
    >>Now that I'm fully moved over to Debian :-), I'm looking at start
    >>tinkering with kernel compilation.
    >>
    >>I would "assume" I'd need the kernel-source package of my choice? But it
    >>are there any other package(s) I'd need to download to get started?
    >>
    >>Thanks
    >
    [...]
    >
    > In Debian Reference there is an explanation for compiling the kernel "the
    > debian way" and for compiling it manually... and to be honest, I think both
    > ways are very easy... the "hard" part is not the compilation per se, or
    > making the proper changes so your system boots OK (ALWAYS REMEMBER TO UPDATE
    > LILO OR GRUB), but to configure the kernel (make menuconfig or however you do
    > it) properly... but this, like everything, is a trial an error thing... and
    > very instructive about the innards of the kernel.
    >
    >
    The nice thing about GRUB is you don't need to update it for a new
    kernel, you can set it to boot /vmlinuz, and you only need to change the
    symlink /vmlinuz to point to the new kernel. GRUB reads the filesystem,
    so it can follow the symlink


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Andrew McGuinness Guest

  5. #5

    Default Re: kernel compilation question

    Thanks to all that answered. More than enough info to get me started,
    and completed.
    --
    Rodney D. Myers <rdmyerspe.net> Registered Linux User #96112
    ICQ#: AIM#: YAHOO:
    18002350 mailman452 mailman42_5

    They that can give up essential liberty to obtain a
    little temporary safety deserve neither liberty nor safety.
    Ben Franklin - 1759

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/JVyIRzSENXJW+i8RAkR8AJ9LnIiVZKWPRc0EsuhSIxwnvCDc5Q CfZNpt
    hWu8USVpY105iyLE1dioWxY=
    =j580
    -----END PGP SIGNATURE-----

    Rodney D. Myers Guest

Similar Threads

  1. compilation with kernel 2.6
    By Mauro Sacchetto in forum MySQL
    Replies: 0
    Last Post: December 9th, 05:04 PM
  2. Linux Kernel Version and Perl Compilation
    By Wiggins D'Anconia in forum PERL Beginners
    Replies: 3
    Last Post: September 12th, 06:56 PM
  3. No video after kernel compilation
    By Anthony in forum Linux Setup, Configuration & Administration
    Replies: 7
    Last Post: September 12th, 09:37 AM
  4. kernel.sem question
    By Jennifer in forum Debian
    Replies: 1
    Last Post: July 16th, 05:40 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139