Find the answer to your Linux question:
Results 1 to 8 of 8
When you cd /usr/src/linux then make menuconfig, make one or a dozen changes, and click SAVE, after closing. What are the consequences of not doing anything else other than saving, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Aug 2009
    Posts
    156

    Saving make menuconfig only does what?


    When you cd /usr/src/linux then make menuconfig, make one or a dozen changes, and click SAVE, after closing. What are the consequences of not doing anything else other than saving, the config?

    I other posts I have seen some make the distinction between modifying an existing kernel and compiling a different version.

    Will the changes made do anything, or any good, or any damage or harm? If not followed up with another action? Frank

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    From what I understand, making changes to the menuconfig does nothing until you do make and make install.
    Changes to that file actually have to be implemented before they will affect the running kernel.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Linux Newbie
    Join Date
    Aug 2009
    Posts
    156
    Quote Originally Posted by jayd512 View Post
    From what I understand, making changes to the menuconfig does nothing until you do make and make install.
    Changes to that file actually have to be implemented before they will affect the running kernel.
    Thanks Jay. Is there any other actions needed after make and makeinstall? I take it one has the option of doing either, the option you mention, or make && make modules_install.

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Correct you are
    I forgot the part about the module install

    You, yeah. Those are the only steps needed.
    But thinking back, I have a simpler command if you would prefer:
    Code:
    make all && make modules_install
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    Linux Newbie
    Join Date
    Aug 2009
    Posts
    156
    I had one more question. I know just after you configure a new kernel, one is asked to cp /arch/i386/boot/bzImage, but do we need to do that after every make && make modules_install ?

  7. #6
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    The short answer... I believe so. I always did.
    The bzImage contains boot sector info, setup config info, and a few other important things.
    I don't know all of the technical details involved, but I'm pretty sure that copying all of that over to (normally) /boot/vmlinuz allows the system to locate all of that on startup.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  8. #7
    Linux Newbie
    Join Date
    Aug 2009
    Posts
    156
    Quote Originally Posted by jayd512 View Post
    The short answer... I believe so. I always did.
    The bzImage contains boot sector info, setup config info, and a few other important things.
    I don't know all of the technical details involved, but I'm pretty sure that copying all of that over to (normally) /boot/vmlinuz allows the system to locate all of that on startup.
    I have run into error messages after the first cp command, like cannot stat, file not found, or something like that. I wonder why that happens, more after the first cp command.

  9. #8
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Are these the commands that you mean? Or similar?
    Code:
    cp arch/i386/boot/bzImage /boot/vmlinuz
    cp System.map /boot
    I haven't needed to compile my own kernel recently, but my understanding is that after copying the bzImage, the System.map is required.
    Any errors after that can be attributed to a misconfiguration in your kernel, or perhaps to your boot-loader config.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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