Find the answer to your Linux question:
Results 1 to 6 of 6
Hi All, I just compiled and configured my base kernel image for kernel 2.6.27.7 I wish to make a backup of the kernel for future restores, which are the files ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    9

    Kernel Images

    Hi All,

    I just compiled and configured my base kernel image for kernel 2.6.27.7

    I wish to make a backup of the kernel for future restores, which are the files that I need to keep a backup of, from memory I believe there are 2.

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Post

    If understand your problem correctly,you have upgraded system 2.6.27.7 and now want to have backup of it?

    Then i believe backof
    Code:
    /boot/bZimage-KERNEL-VERSION 
    and /boot/System.map--KERNEL-VERSION
    file should be enough. Does that answer your question-or i misunderstood your problem?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    9
    Quote Originally Posted by Lakshmipathi View Post
    If understand your problem correctly,you have upgraded system 2.6.27.7 and now want to have backup of it?

    Then i believe backof
    Code:
    /boot/bZimage-KERNEL-VERSION 
    and /boot/System.map--KERNEL-VERSION
    file should be enough. Does that answer your question-or i misunderstood your problem?
    I think so, I was under the impression that the two files were /boot/vmlinuz-KERVELVERSION and /boot/initrd-KERNELVERSION.img

    Ive never heard of the system.map file though i have now ssh to one of the boxes and its definitely there.

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    I believe these two will provide more info abt it
    System.map - Wikipedia, the free encyclopedia
    Peter's Notes: System.map
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    The answer to your question really depends on what do you exactly mean.

    If you really mean to save the images, you only need -strictly speaking- the image itself (vmlinuz, bzimage or whatever you name them) and the initrd file (if you ever use one, I don't).

    If you just want to be able to recreate the same config or use it as reference for future compilations, you can just save the .config file, which can also be recovered from /proc/config.gz assuming that the feature is enabled at compile time.

    System map is just a symbol table, which will do you no good unless you are into kernel debugging. Some loggers and other programs might use it to produce more human readable logs though, by substituting offsets with symbol names.

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    9
    Quote Originally Posted by i92guboj View Post
    The answer to your question really depends on what do you exactly mean.

    If you really mean to save the images, you only need -strictly speaking- the image itself (vmlinuz, bzimage or whatever you name them) and the initrd file (if you ever use one, I don't).

    If you just want to be able to recreate the same config or use it as reference for future compilations, you can just save the .config file, which can also be recovered from /proc/config.gz assuming that the feature is enabled at compile time.

    System map is just a symbol table, which will do you no good unless you are into kernel debugging. Some loggers and other programs might use it to produce more human readable logs though, by substituting offsets with symbol names.
    Ah ok, great thanks.

Posting Permissions

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