VirtualBox

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

最後變更 在這個檔案從91617是 91617,由 vboxsync 提交於 3 年 前

doc/manual,FE/VBoxManage: Document the modifynvram sub-command of VBoxManage, bugref:9580

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 6.9 KB
 
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.alldomusa.eu.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>October 2021</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>Oracle VM VirtualBox</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 </refsynopsisdiv>
73
74 <refsect1>
75 <title>Description</title>
76
77 <para>The "modifynvram" commands are for experts who want to inspect and modify the
78 UEFI variable store of a virtual machine. Any mistakes done here can bring the virtual
79 machine in a non working state.</para>
80
81 <refsect2 id="vboxmanage-modifynvram-common-options">
82 <title>Common options</title>
83 <remark role="help-scope" condition="GLOBAL"/>
84 <para>The subcommands of <command>modifynvram</command> all operate on a running virtual
85 machine:</para>
86 <variablelist>
87 <varlistentry>
88 <term><replaceable>uuid|vmname</replaceable></term>
89 <listitem><para>Either the UUID or the name (case sensitive) of a VM.</para></listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect2>
93
94 <refsect2 id="vboxmanage-modifynvram-inituefivarstore">
95 <title>modifynvram inituefivarstore</title>
96 <remark role="help-copy-synopsis"/>
97 <para>
98 Iniitalizes the UEFI variable store to a default state. Any previous existing variable
99 store is deleted. Use with extreme caution!
100 </para>
101 </refsect2>
102
103 <refsect2 id="vboxmanage-modifynvram-enrollmssignatures">
104 <title>modifynvram enrollmssignatures</title>
105 <remark role="help-copy-synopsis"/>
106 <para>
107 Enrolls the default Microsoft KEK and DB signatures required for UEFI secure boot.
108 </para>
109 </refsect2>
110
111 <refsect2 id="vboxmanage-modifynvram-enrollorclpk">
112 <title>modifynvram enrollorclpk</title>
113 <remark role="help-copy-synopsis"/>
114 <para>
115 Enrolls the default platform key provided by Oracle required for UEFI secure boot.
116 </para>
117 </refsect2>
118
119 <refsect2 id="vboxmanage-modifynvram-enrollpk">
120 <title>modifynvram enrollpk</title>
121 <remark role="help-copy-synopsis"/>
122 <para>
123 Enrolls a custom platform key provided by the user required for UEFI secure boot.
124 The following commands use openssl to generate a new platform key:
125 </para>
126<screen>$ openssl req -new -x509 -newkey rsa:2048 -keyout PK.key -out PK.crt</screen>
127<screen>$ openssl x509 -in PK.crt -out PK.cer -outform DER</screen>
128 <variablelist>
129 <varlistentry>
130 <term><option>--platform-key=<replaceable>filename</replaceable></option></term>
131 <listitem><para>The platform key provided as a DER encoded X.509 signature.</para>
132 </listitem>
133 </varlistentry>
134 <varlistentry>
135 <term><option>--owner-uuid=<replaceable>uuid</replaceable></option></term>
136 <listitem><para>The UUID identifying the owner of the platform key.</para>
137 </listitem>
138 </varlistentry>
139 </variablelist>
140 </refsect2>
141
142 <refsect2 id="vboxmanage-modifynvram-listvars">
143 <title>modifynvram listvars</title>
144 <remark role="help-copy-synopsis"/>
145 <para>
146 Lists all UEFI variables in the virtual machines's store along with their owner UUID.
147 </para>
148 </refsect2>
149
150 <refsect2 id="vboxmanage-modifynvram-queryvar">
151 <title>modifynvram queryvar</title>
152 <remark role="help-copy-synopsis"/>
153 <para>
154 Queries the content of a given UEFI variable identified by its name.
155 </para>
156 <variablelist>
157 <varlistentry>
158 <term><option>--name=<replaceable>name</replaceable></option></term>
159 <listitem><para>UEFI variable name to query.</para>
160 </listitem>
161 </varlistentry>
162 <varlistentry>
163 <term><option>--filename=<replaceable>filename</replaceable></option></term>
164 <listitem>
165 <para>
166 Where to store the content of the variable upon success. This is optional,
167 if omitted the content will be dumped to the terminal as a hex dump.
168 </para>
169 </listitem>
170 </varlistentry>
171 </variablelist>
172 </refsect2>
173
174 </refsect1>
175</refentry>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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