VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-modifynvram.xml@ 93707

Last change on this file since 93707 was 93707, checked in by vboxsync, 3 years ago

doc/manual: Some metadata cleanup and a bit of consistency.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 9.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage modifynvram
4
5 Copyright (C) 2021 Oracle Corporation
6
7 This file is part of VirtualBox Open Source Edition (OSE), as
8 available from http://www.virtualbox.org. This file is free software;
9 you can redistribute it and/or modify it under the terms of the GNU
10 General Public License (GPL) as published by the Free Software
11 Foundation, in version 2 as it comes in the "COPYING" file of the
12 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14 -->
15<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
16 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
17<!ENTITY % all.entities SYSTEM "all-entities.ent">
18%all.entities;
19]>
20<refentry id="vboxmanage-modifynvram" lang="en">
21 <refentryinfo>
22 <pubdate>$Date: 2022-02-11 20:10:19 +0000 (Fri, 11 Feb 2022) $</pubdate>
23 <title>VBoxManage modifynvram</title>
24 </refentryinfo>
25
26 <refmeta>
27 <refentrytitle>VBoxManage-modifynvram</refentrytitle>
28 <manvolnum>1</manvolnum>
29 </refmeta>
30
31 <refnamediv>
32 <refname>VBoxManage-modifynvram</refname>
33 <refpurpose>List and modify the NVRAM content of a virtual machine</refpurpose>
34 <refclass>&product-name;</refclass>
35 </refnamediv>
36
37 <refsynopsisdiv>
38 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-inituefivarstore">
39 <command>VBoxManage modifynvram</command>
40 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
41 <arg choice="plain">inituefivarstore</arg>
42 </cmdsynopsis>
43 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollmssignatures">
44 <command>VBoxManage modifynvram</command>
45 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
46 <arg choice="plain">enrollmssignatures</arg>
47 </cmdsynopsis>
48 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollorclpk">
49 <command>VBoxManage modifynvram</command>
50 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
51 <arg choice="plain">enrollorclpk</arg>
52 </cmdsynopsis>
53 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollpk">
54 <command>VBoxManage modifynvram</command>
55 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
56 <arg choice="plain">enrollpk</arg>
57 <arg>--platform-key=<replaceable>filename</replaceable></arg>
58 <arg>--owner-uuid=<replaceable>uuid</replaceable></arg>
59 </cmdsynopsis>
60 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-listvars">
61 <command>VBoxManage modifynvram</command>
62 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
63 <arg choice="plain">listvars</arg>
64 </cmdsynopsis>
65 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-queryvar">
66 <command>VBoxManage modifynvram</command>
67 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
68 <arg choice="plain">queryvar</arg>
69 <arg>--name=<replaceable>name</replaceable></arg>
70 <arg>--filename=<replaceable>filename</replaceable></arg>
71 </cmdsynopsis>
72 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-deletevar">
73 <command>VBoxManage modifynvram</command>
74 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
75 <arg choice="plain">deletevar</arg>
76 <arg>--name=<replaceable>name</replaceable></arg>
77 <arg>--owner-uuid=<replaceable>uuid</replaceable></arg>
78 </cmdsynopsis>
79 <cmdsynopsis id="synopsis-vboxmanage-modifynvram-changevar">
80 <command>VBoxManage modifynvram</command>
81 <arg choice="req"><replaceable>uuid|vmname</replaceable></arg>
82 <arg choice="plain">changevar</arg>
83 <arg>--name=<replaceable>name</replaceable></arg>
84 <arg>--filename=<replaceable>filename</replaceable></arg>
85 </cmdsynopsis>
86 </refsynopsisdiv>
87
88 <refsect1>
89 <title>Description</title>
90
91 <para>The "modifynvram" commands are for experts who want to inspect and modify the
92 UEFI variable store of a virtual machine. Any mistakes done here can bring the virtual
93 machine in a non working state.</para>
94
95 <refsect2 id="vboxmanage-modifynvram-common-options">
96 <title>Common options</title>
97 <remark role="help-scope" condition="GLOBAL"/>
98 <para>The subcommands of <command>modifynvram</command> all operate on a running virtual
99 machine:</para>
100 <variablelist>
101 <varlistentry>
102 <term><replaceable>uuid|vmname</replaceable></term>
103 <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
104 </varlistentry>
105 </variablelist>
106 </refsect2>
107
108 <refsect2 id="vboxmanage-modifynvram-inituefivarstore">
109 <title>modifynvram inituefivarstore</title>
110 <remark role="help-copy-synopsis"/>
111 <para>
112 Iniitalizes the UEFI variable store to a default state. Any previous existing variable
113 store is deleted. Use with extreme caution!
114 </para>
115 </refsect2>
116
117 <refsect2 id="vboxmanage-modifynvram-enrollmssignatures">
118 <title>modifynvram enrollmssignatures</title>
119 <remark role="help-copy-synopsis"/>
120 <para>
121 Enrolls the default Microsoft KEK and DB signatures required for UEFI secure boot.
122 </para>
123 </refsect2>
124
125 <refsect2 id="vboxmanage-modifynvram-enrollorclpk">
126 <title>modifynvram enrollorclpk</title>
127 <remark role="help-copy-synopsis"/>
128 <para>
129 Enrolls the default platform key provided by Oracle required for UEFI secure boot.
130 </para>
131 </refsect2>
132
133 <refsect2 id="vboxmanage-modifynvram-enrollpk">
134 <title>modifynvram enrollpk</title>
135 <remark role="help-copy-synopsis"/>
136 <para>
137 Enrolls a custom platform key provided by the user required for UEFI secure boot.
138 The following commands use openssl to generate a new platform key:
139 </para>
140<screen>$ openssl req -new -x509 -newkey rsa:2048 -keyout PK.key -out PK.crt</screen>
141<screen>$ openssl x509 -in PK.crt -out PK.cer -outform DER</screen>
142 <variablelist>
143 <varlistentry>
144 <term><option>--platform-key=<replaceable>filename</replaceable></option></term>
145 <listitem><para>The platform key provided as a DER encoded X.509 signature.</para>
146 </listitem>
147 </varlistentry>
148 <varlistentry>
149 <term><option>--owner-uuid=<replaceable>uuid</replaceable></option></term>
150 <listitem><para>The UUID identifying the owner of the platform key.</para>
151 </listitem>
152 </varlistentry>
153 </variablelist>
154 </refsect2>
155
156 <refsect2 id="vboxmanage-modifynvram-listvars">
157 <title>modifynvram listvars</title>
158 <remark role="help-copy-synopsis"/>
159 <para>
160 Lists all UEFI variables in the virtual machines's store along with their owner UUID.
161 </para>
162 </refsect2>
163
164 <refsect2 id="vboxmanage-modifynvram-queryvar">
165 <title>modifynvram queryvar</title>
166 <remark role="help-copy-synopsis"/>
167 <para>
168 Queries the content of a given UEFI variable identified by its name.
169 </para>
170 <variablelist>
171 <varlistentry>
172 <term><option>--name=<replaceable>name</replaceable></option></term>
173 <listitem><para>UEFI variable name to query.</para>
174 </listitem>
175 </varlistentry>
176 <varlistentry>
177 <term><option>--filename=<replaceable>filename</replaceable></option></term>
178 <listitem>
179 <para>
180 Where to store the content of the variable upon success. This is optional,
181 if omitted the content will be dumped to the terminal as a hex dump.
182 </para>
183 </listitem>
184 </varlistentry>
185 </variablelist>
186 </refsect2>
187
188 <refsect2 id="vboxmanage-modifynvram-deletevar">
189 <title>modifynvram deletevar</title>
190 <remark role="help-copy-synopsis"/>
191 <para>
192 Deletes the given variable identified by its name and owner UUID.
193 </para>
194 <variablelist>
195 <varlistentry>
196 <term><option>--name=<replaceable>name</replaceable></option></term>
197 <listitem><para>UEFI variable name to delete.</para>
198 </listitem>
199 </varlistentry>
200 <varlistentry>
201 <term><option>--owner-uuid=<replaceable>uuid</replaceable></option></term>
202 <listitem><para>The UUID identifying the owner of the variable to delete.</para>
203 </listitem>
204 </varlistentry>
205 </variablelist>
206 </refsect2>
207
208 <refsect2 id="vboxmanage-modifynvram-changevar">
209 <title>modifynvram changevar</title>
210 <remark role="help-copy-synopsis"/>
211 <para>
212 Changes the UEFI variable content to the one form the given file.
213 </para>
214 <variablelist>
215 <varlistentry>
216 <term><option>--name=<replaceable>name</replaceable></option></term>
217 <listitem><para>UEFI variable name to change the data for.</para>
218 </listitem>
219 </varlistentry>
220 <varlistentry>
221 <term><option>--filename=<replaceable>filename</replaceable></option></term>
222 <listitem>
223 <para>The file to read the data from.</para>
224 </listitem>
225 </varlistentry>
226 </variablelist>
227 </refsect2>
228
229 </refsect1>
230</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette