kexec(8) kexec(8) (NAME) kexec - (SYNOPSIS) /sbin/kexec [-v (--version)] [-f (--force)] [-x (--no-ifdown)] [-y (--no-sync)] [-l (--load)] [-p (--load-panic)] [-u (--unload)] [-e (--exec)] [-t (--type)] [--mem-min=addr] [--mem-max=addr] (DESCRIPTION) kexec . kexec . kexec BIOS ( ) kexec . . CONFIG_KEXEC=y . CONFIG_KEXEC kexec . (USAGE) kexec : () () . : kexec -l kernel-image --append=command-line-options --initrd=initrd-image kernel-image . command-line-options . /proc/cmdline command-line-options . initrd-image initrd . kexec . kexec shutdown(8) . kexec kexec -e . . (EXAMPLE) /boot/vmlinux /proc/cmdline root=/dev/hda1 initrd /boot/initrd : kexec -l /boot/vmlinux --append=root=/dev/hda1 --initrd=/boot/initrd kexec : reboot shutdown(8) : kexec -e (OPTIONS) -d (--debug) . -S (--status) ( crash) 1 0 . -l -p . . -e (--exec) . shutdown(8) . -f (--force) kexec shutdown(8) ( ). -l -e . -h (--help) kexec. --hotplug kexec / / . kexec / / kdump . -i (--no-checks) . -l (--load) kernel kernel . -p (--load-panic) panic ( ). -t (--type=type) type () . -s (--kexec-file-syscall) KEXEC_FILE_LOAD . XEN . -c (--kexec-syscall) KEXEC_LOAD . -a (--kexec-syscall-auto) KEXEC_FILE_LOAD KEXEC_LOAD . . KEXEC_FILE_LOAD . KEXEC_LOAD . KEXEC_LOAD KEXEC_FILE_LOAD . -u (--unload) kexec . capture -p -u . -v (--version) . -x (--no-ifdown) . -y (--no-sync) . --mem-min=addr addr . --mem-max=addr addr . --entry=addr (jump back). ( 0 ). --load-preserve-context (context) kexec. --load-jump-back-helper . --reuseinitrd initrd . --print-ckr-size (crash kernel) . (SUPPORTED KERNEL FILE TYPES AND OPTIONS) Beoboot-x86 --args-elf ELF. --args-linux . --real-mode (real mode) . elf-x86 --append=string string . --command-line=string string. --reuse-cmdline . panic crashkernel . BOOT_IMAGE . --initrd=file file ramdisk . --ramdisk=file file ramdisk . bzImage-x86 --append=string string . --command-line=string string. --reuse-cmdline . panic crashkernel . BOOT_IMAGE . --initrd=file file ramdisk . --ramdisk=file file ramdisk . --real-mode (real-mode). multiboot-x86 --command-line=string string. --reuse-cmdline . panic crashkernel . BOOT_IMAGE . --module=mod arg1 arg2 ... mod arg1 arg2 ... . multiboot2-x86 --command-line=string string. --reuse-cmdline . panic crashkernel . BOOT_IMAGE . --module=mod arg1 arg2 ... mod arg1 arg2 ... . elf-ppc64 --reuse-cmdline . --command-line=string string. --append=string string. --ramdisk=file file (initial RAM disk). --initrd=file file . --devicetreeblob=file blob (device tree blob file). --kexec-file-syscall . --dtb=file blob . --kexec-file-syscall . (ARCHITECTURE OPTIONS) --console-serial . --console-vga VGA. --elf32-core-headers (core headers) ELF32. --elf64-core-headers ELF64. --reset-vga (reset) VGA. --serial=port port . --serial-baud=baud_rate baud rate ( ) . --dt-no-old-root root= (flattened device tree). Linux April 2006 kexec(8)