]> git.proxmox.com Git - systemd.git/blame - man/bootctl.1
Imported Upstream version 220
[systemd.git] / man / bootctl.1
CommitLineData
60f067b4 1'\" t
e3bff60a 2.TH "BOOTCTL" "1" "" "systemd 220" "bootctl"
60f067b4
JS
3.\" -----------------------------------------------------------------
4.\" * Define some portability stuff
5.\" -----------------------------------------------------------------
6.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7.\" http://bugs.debian.org/507673
8.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.ie \n(.g .ds Aq \(aq
11.el .ds Aq '
12.\" -----------------------------------------------------------------
13.\" * set default formatting
14.\" -----------------------------------------------------------------
15.\" disable hyphenation
16.nh
17.\" disable justification (adjust text to left margin only)
18.ad l
19.\" -----------------------------------------------------------------
20.\" * MAIN CONTENT STARTS HERE *
21.\" -----------------------------------------------------------------
22.SH "NAME"
23bootctl \- Control the firmware and boot manager settings
24.SH "SYNOPSIS"
e3bff60a
MP
25.HP \w'\fBbootctl\ \fR\fB[OPTIONS...]\fR\fBstatus\fR\ 'u
26\fBbootctl \fR\fB[OPTIONS...]\fR\fBstatus\fR
27.HP \w'\fBbootctl\ \fR\fB[OPTIONS...]\fR\fBupdate\fR\ 'u
28\fBbootctl \fR\fB[OPTIONS...]\fR\fBupdate\fR
29.HP \w'\fBbootctl\ \fR\fB[OPTIONS...]\fR\fBinstall\fR\ 'u
30\fBbootctl \fR\fB[OPTIONS...]\fR\fBinstall\fR
31.HP \w'\fBbootctl\ \fR\fB[OPTIONS...]\fR\fBremove\fR\ 'u
32\fBbootctl \fR\fB[OPTIONS...]\fR\fBremove\fR
60f067b4
JS
33.SH "DESCRIPTION"
34.PP
35\fBbootctl\fR
e3bff60a 36checks, updates, installs or removes the boot loader from the current system\&.
60f067b4 37.PP
e3bff60a
MP
38\fBbootctl status\fR
39checks and prints the currently installed versions of the boot loader binaries and the all current EFI boot variables\&.
60f067b4 40.PP
e3bff60a
MP
41\fBbootctl update\fR
42updates all installed versions of systemd\-boot, if the current version is newer than the version installed in the EFI system partition\&. This also includes the EFI default/fallback loader at /EFI/Boot/boot*\&.efi\&. A systemd\-boot entry in the EFI boot variables is created, if there is no current entry\&. The created entry will be added to the end of the boot order list\&.
43.PP
44\fBbootctl install\fR
45installs systemd\-boot into the EFI system partition\&. A copy of systemd\-boot will be stored as the EFI default/fallback loader at /EFI/Boot/boot*\&.efi\&. A systemd\-boot entry in the EFI boot variables is created and added to the top of the boot order list\&.
46.PP
47\fBbootctl remove\fR
48removes all installed versions of systemd\-boot from the EFI system partition, and removes systemd\-boot from the EFI boot variables\&.
49.PP
50If no command is passed
51\fBstatus\fR
52is implied\&.
60f067b4
JS
53.SH "OPTIONS"
54.PP
55The following options are understood:
56.PP
57\fB\-h\fR, \fB\-\-help\fR
58.RS 4
59Print a short help text and exit\&.
60.RE
61.PP
62\fB\-\-version\fR
63.RS 4
64Print a short version string and exit\&.
65.RE
66.PP
e3bff60a
MP
67\fB\-\-path\fR
68.RS 4
69Path to the EFI system partition\&. The default is /boot\&.
70.RE
60f067b4 71.PP
e3bff60a 72\fB\-\-no\-variables\fR
60f067b4 73.RS 4
e3bff60a 74Do not touch the EFI boot variables\&.
60f067b4
JS
75.RE
76.SH "EXIT STATUS"
77.PP
e3bff60a 78On success 0 is returned, a non\-zero failure code otherwise\&.
60f067b4
JS
79.SH "SEE ALSO"
80.PP
e3bff60a 81\m[blue]\fBBoot loader specification\fR\m[]\&\s-2\u[1]\d\s+2\m[blue]\fBSystemd boot loader interface\fR\m[]\&\s-2\u[2]\d\s+2
60f067b4
JS
82.SH "NOTES"
83.IP " 1." 4
60f067b4
JS
84Boot loader specification
85.RS 4
86\%http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
87.RE
e3bff60a
MP
88.IP " 2." 4
89Systemd boot loader interface
60f067b4 90.RS 4
e3bff60a 91\%http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
60f067b4 92.RE