summaryrefslogtreecommitdiff
path: root/kexec/kexec.8
blob: daac8b035069f65074cd6a1a31770be8339954e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH KEXEC 8 "October 13, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
kexec \- Tool to load a kernel for warm reboot and initiate a warm reboot
.SH SYNOPSIS
.B kexec
.RI [ options ] " files" ...
.SH DESCRIPTION
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
.\" respectively.
\fBkexec\fP allows one to load another kernel from the currently running
Linux kernel. Normally one would load a kernel, and possibly an initial
ramdisk, into the currently running kernel using kexec and then initiate
a warm reboot by executing kexec again with appropriate option.
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-v, \-\-version
Show version of program.
.TP
.B \-f, \-\-force
Force an immediate kexec without calling shutdown.
.TP
.B \-x, \-\-no-ifdown
Don't bring down network interfaces. (if used, must be last option specified)
.TP
.B \-l, \-\-load
Load the new kernel into the current kernel.
.TP
.B \-p, \-\-load-panic
Load the new kernel for use on panic.
.TP
.B \-u, \-\-unload
Unload the current kexec target kernel.
.TP
.B \-e, \-\-exec
Execute a currently loaded kernel.
.TP
.B \-t, \-\-type=TYPE
Specify the new kernel is of this type.
.TP
.B \-\-mem\-min=<addr>
Specify the lowest memory addres to load code into.
.TP
.B \-\-mem\-max=<addr>
Specify the highest memory addres to load code into.
.TP
There may be additional options supported on individual architectures.  Use --help option to see those options.
.SH AUTHOR
kexec was written by Eric Biederman.
.PP
This manual page was written by Khalid Aziz <khalid.aziz@hp.com>,
for the Debian project (but may be used by others).