NEW-KERNEL-PKG(8) System Manager's Manual NEW-KERNEL-PKG(8)NAME
new-kernel-pkg - tool to script kernel installation
SYNOPSIS
new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] [--dracut]
[--initrdfile=initrd-image [--depmod] [--rmmoddep]
[--kernel-args=args] [--remove-args=args]
[--banner=banner] [--multiboot=multiboot]
[--mbargs=mbargs] [--make-default] [--add-dracut-args]
[--add-plymouth-initrd] [--host-only]
<--install | --remove | --update | --rpmposttrans> <kernel-version>
DESCRIPTION
new-kernel-pkg is a tool used in packaging to automate the installation of a new kernel, including the creation of an initial ram filesys-
tem image, updating of bootloader configuration, and other associated tasks.
OPTIONS -v Be verbose.
--mkinitrd
Create a new initial ram filesystem image.
--rminitrd
Remove an initial ram filesystem image.
--dracut
When creating a new initial ram filesystem image, use dracut(8) rather than mkinitrd(8). Used in conjunction with --mkinitrd .
--initrdfile=initrd-image
Use the specified file as the initial ram filesystem image.
--depmod
Create modules.dep and related files.
--rmmoddep
Remove modules.dep and related files.
--kernel-args=args
Use args as the boot command line for this kernel.
--remove-args=args
Remove specified kernel arguments for this kernel.
--banner=banner
Display banner as the banner text in the bootloader.
--multiboot=multiboot-image
Use multiboot-image as a multiboot image.
--mbargs=mbargs
Use mbargs as arguments to the multiboot image.
--make-default
Make this kernel the default boot option.
--add-dracut-args
Automatically generate dracut options and add them to the kernel command line.
--add-plymouth-initrd
Automatically add plymouth to the initial ram filesystem image.
--host-only
Make an initial ram filesystem image that is specific to the running system.
--install kernel-version
Install a new kernel.
--remove kernel-version
Remove an installed kernel.
--update kernel-version
Update the specified kernel.
--rpmposttrans kernel-version
Run the rpmposttrans for the specified kernel.
SEE ALSO grubby(8)installkernel(8)AUTHORS
Erik Troan
Jeremy Katz
Peter Jones
Wed Apr 14 2010 NEW-KERNEL-PKG(8)
Check Out this Related Man Page
UPDATE-BOOTLOADER(1) User Contributed Perl Documentation UPDATE-BOOTLOADER(1)NAME
update-bootloader - update/change bootloader configuration using
Bootloader::Tools perl module
SYNOPSIS
update-bootloader [operation] [options]
operation is one of --add, --remove or --refresh.
valid options are --help, --man, --image <file>, --initrd <file>, --xen-kernel <file>, --xen, --default, --previous, --name <string>,
--force, --force-default.
DESCRIPTION
update-bootloader will let you modify your bootloader configuration using Bootloader::Tools perl module.
OPERATIONS --add add an new image section. Needs a call to --refresh to take effect.
--remove
remove the specified image section. Needs a call to --refresh to take effect.
--refresh
activate the new config e.g. write boot loader to disk
PARAMETER --help Print a brief help message and exits.
--man Prints the manual page and exits.
--image file
specify path to kernel image
--initrd file
specify path to initrd file
--xen specify that you what to add a xen and not a regular image section
--xen-kernel file
specify that you what to add a xen section with a specific image. Implies --xen option.
--default
let the new section to be added be the default section if appropriate. Only allowed together with --add operation
--previous
set some usuable defaults for image, initrd and name when
--name string
specify the name of the section to be added/removed
--force dont complain, just do the right thing
--force-default
force the new section to be added to be the default section. Only allowed together with --add operation
perl v5.12.1 2010-04-22 UPDATE-BOOTLOADER(1)