Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by mingdao

  1. How do I capture kernel customization flags, visualize them and post on line as it appears in the "kernel" snippet in this page:




    In other words, I made some changes previously to say /usr/src/linux/.config. How do I show ONLY these changes via, say, "make menuconfig", and copy the text with markings?


    I don't use Docker, so can't answer concerning it.


    When you run "make menuconfig", when you save and close, it moves .config to .config.old. So just run:

    diff /usr/src/linux/.config /usr/src/linux/.config.old

    You can't show changes with menuconfig, and copy the text with markings (whatever markings are).

  2. Hey artemeciagreen,


    Go to your kernel source directory and run "make && make modules_install install" and you will get the bzImage into /boot as vmlinuz-$VERSION, as well as config-$VERSION and System.map-$VERSION

    NB: after the first make add -j and the number of CPU cores +1 found when you issue "nproc", such as "make -j9"


    Now edit /etc/boot.conf to make sure you have at least one stanza where it looks for:

    kernel vmlinuz[-v]

    Here's one of mine:

    boot {
            generate grub
            default "Funtoo Linux genkernel"
            timeout 3
    "Funtoo Linux" {
            kernel vmlinuz[-v]
    "Funtoo Linux genkernel" {
            kernel kernel[-v]
            initrd initramfs[-v]
            params += real_root=auto rootfstype=auto
  • Create New...