kernel-install(8)


NAME

   kernel-install - Add and remove kernel and initramfs images to and from
   /boot

SYNOPSIS

   kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE]

DESCRIPTION

   kernel-install is used to install and remove kernel and initramfs
   images to and from /boot.

   kernel-install will execute the files located in the directory
   /usr/lib/kernel/install.d/ and the local administration directory
   /etc/kernel/install.d/. All files are collectively sorted and executed
   in lexical order, regardless of the directory in which they live.
   However, files with identical filenames replace each other. Files in
   /etc/kernel/install.d/ take precedence over files with the same name in
   /usr/lib/kernel/install.d/. This can be used to override a
   system-supplied executables with a local file if needed; a symbolic
   link in /etc/kernel/install.d/ with the same name as an executable in
   /usr/lib/kernel/install.d/, pointing to /dev/null, disables the
   executable entirely. Executables must have the extension ".install";
   other extensions are ignored.

   An executable should return 0 on success. It may also return 77 to
   cause the whole operation to terminate (executables later in lexical
   order will be skipped).

COMMANDS

   The following commands are understood:

   add KERNEL-VERSION KERNEL-IMAGE
       kernel-install creates the directory
       /boot/MACHINE-ID/KERNEL-VERSION/ and calls every executable
       /usr/lib/kernel/install.d/*.install and
       /etc/kernel/install.d/*.install with the arguments

           add KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/

       The kernel-install plugin 50-depmod.install runs depmod for the
       KERNEL-VERSION.

       The kernel-install plugin 90-loaderentry.install copies
       KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also
       creates a boot loader entry according to the boot loader
       specification in
       /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of
       the entry is the PRETTY_NAME parameter specified in /etc/os-release
       or /usr/lib/os-release (if the former is missing), or "Linux
       KERNEL-VERSION", if unset. If the file initrd is found next to the
       linux file, the initrd will be added to the configuration.

   remove KERNEL-VERSION
       Calls every executable /usr/lib/kernel/install.d/*.install and
       /etc/kernel/install.d/*.install with the arguments

           remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/

       kernel-install removes the entire directory
       /boot/MACHINE-ID/KERNEL-VERSION/ afterwards.

       The kernel-install plugin 90-loaderentry.install removes the file
       /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf.

EXIT STATUS

   If every executable returns with 0, 0 is returned, a non-zero failure
   code otherwise.

FILES

   /usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install
       Drop-in files which are executed by kernel-install.

   /etc/kernel/cmdline /proc/cmdline
       The content of the file /etc/kernel/cmdline specifies the kernel
       command line to use. If that file does not exist, /proc/cmdline is
       used.

   /etc/machine-id
       The content of the file specifies the machine identification
       MACHINE-ID.

   /etc/os-release /usr/lib/os-release
       The content of the file specifies the operating system title
       PRETTY_NAME.

SEE ALSO

   machine-id(5), os-release(5), Boot loader specification[1]

NOTES

    1. Boot loader specification
       http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.