[93478] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | manpage, user manual, usage: VBoxManage modifynvram
|
---|
[96300] | 4 | -->
|
---|
| 5 | <!--
|
---|
[98103] | 6 | Copyright (C) 2021-2023 Oracle and/or its affiliates.
|
---|
[93478] | 7 |
|
---|
[96407] | 8 | This file is part of VirtualBox base platform packages, as
|
---|
| 9 | available from https://www.virtualbox.org.
|
---|
| 10 |
|
---|
| 11 | This program is free software; you can redistribute it and/or
|
---|
| 12 | modify it under the terms of the GNU General Public License
|
---|
| 13 | as published by the Free Software Foundation, in version 3 of the
|
---|
| 14 | License.
|
---|
| 15 |
|
---|
| 16 | This program is distributed in the hope that it will be useful, but
|
---|
| 17 | WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 19 | General Public License for more details.
|
---|
| 20 |
|
---|
| 21 | You should have received a copy of the GNU General Public License
|
---|
| 22 | along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 23 |
|
---|
| 24 | SPDX-License-Identifier: GPL-3.0-only
|
---|
[96300] | 25 | -->
|
---|
[93478] | 26 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 27 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
|
---|
| 28 | <!ENTITY % all.entities SYSTEM "all-entities.ent">
|
---|
| 29 | %all.entities;
|
---|
| 30 | ]>
|
---|
| 31 | <refentry id="vboxmanage-modifynvram" lang="en">
|
---|
| 32 | <refentryinfo>
|
---|
[94219] | 33 | <pubdate>$Date: 2024-02-29 20:47:25 +0000 (Thu, 29 Feb 2024) $</pubdate>
|
---|
[93478] | 34 | <title>VBoxManage modifynvram</title>
|
---|
| 35 | </refentryinfo>
|
---|
| 36 |
|
---|
| 37 | <refmeta>
|
---|
| 38 | <refentrytitle>VBoxManage-modifynvram</refentrytitle>
|
---|
| 39 | <manvolnum>1</manvolnum>
|
---|
| 40 | </refmeta>
|
---|
| 41 |
|
---|
| 42 | <refnamediv>
|
---|
| 43 | <refname>VBoxManage-modifynvram</refname>
|
---|
| 44 | <refpurpose>Отображение и изменение содержимого NVRAM виртуальной машины</refpurpose>
|
---|
[94219] | 45 | <refclass>&product-name;</refclass>
|
---|
[93478] | 46 | </refnamediv>
|
---|
| 47 |
|
---|
| 48 | <refsynopsisdiv>
|
---|
| 49 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-inituefivarstore">
|
---|
| 50 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 51 | <group choice="req">
|
---|
| 52 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 53 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 54 | </group>
|
---|
[93478] | 55 | <arg choice="plain">inituefivarstore</arg>
|
---|
| 56 | </cmdsynopsis>
|
---|
| 57 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollmssignatures">
|
---|
| 58 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 59 | <group choice="req">
|
---|
| 60 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 61 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 62 | </group>
|
---|
[93478] | 63 | <arg choice="plain">enrollmssignatures</arg>
|
---|
| 64 | </cmdsynopsis>
|
---|
| 65 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollorclpk">
|
---|
| 66 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 67 | <group choice="req">
|
---|
| 68 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 69 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 70 | </group>
|
---|
[93478] | 71 | <arg choice="plain">enrollorclpk</arg>
|
---|
| 72 | </cmdsynopsis>
|
---|
| 73 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollpk">
|
---|
| 74 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 75 | <group choice="req">
|
---|
| 76 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 77 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 78 | </group>
|
---|
[93478] | 79 | <arg choice="plain">enrollpk</arg>
|
---|
| 80 | <arg>--platform-key=<replaceable>имя-файла</replaceable></arg>
|
---|
| 81 | <arg>--owner-uuid=<replaceable>uuid</replaceable></arg>
|
---|
| 82 | </cmdsynopsis>
|
---|
[103617] | 83 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-enrollmok">
|
---|
| 84 | <command>VBoxManage modifynvram</command>
|
---|
| 85 | <group choice="req">
|
---|
| 86 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 87 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 88 | </group>
|
---|
| 89 | <arg choice="plain">enrollmok</arg>
|
---|
| 90 | <arg>--mok=<replaceable>имя-файла</replaceable></arg>
|
---|
| 91 | <arg>--owner-uuid=<replaceable>uuid</replaceable></arg>
|
---|
| 92 | </cmdsynopsis>
|
---|
| 93 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-secureboot">
|
---|
| 94 | <command>VBoxManage modifynvram</command>
|
---|
| 95 | <group choice="req">
|
---|
| 96 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 97 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 98 | </group>
|
---|
| 99 | <arg choice="plain">secureboot</arg>
|
---|
| 100 | <group choice="req">
|
---|
| 101 | <arg choice="plain">--enable</arg>
|
---|
| 102 | <arg choice="plain">--disable</arg>
|
---|
| 103 | </group>
|
---|
| 104 | </cmdsynopsis>
|
---|
[93478] | 105 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-listvars">
|
---|
| 106 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 107 | <group choice="req">
|
---|
| 108 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 109 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 110 | </group>
|
---|
[93478] | 111 | <arg choice="plain">listvars</arg>
|
---|
| 112 | </cmdsynopsis>
|
---|
| 113 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-queryvar">
|
---|
| 114 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 115 | <group choice="req">
|
---|
| 116 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 117 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 118 | </group>
|
---|
[93478] | 119 | <arg choice="plain">queryvar</arg>
|
---|
| 120 | <arg>--name=<replaceable>имя</replaceable></arg>
|
---|
| 121 | <arg>--filename=<replaceable>имя-файла</replaceable></arg>
|
---|
| 122 | </cmdsynopsis>
|
---|
| 123 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-deletevar">
|
---|
| 124 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 125 | <group choice="req">
|
---|
| 126 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 127 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 128 | </group>
|
---|
[93478] | 129 | <arg choice="plain">deletevar</arg>
|
---|
| 130 | <arg>--name=<replaceable>имя</replaceable></arg>
|
---|
| 131 | <arg>--owner-uuid=<replaceable>uuid</replaceable></arg>
|
---|
| 132 | </cmdsynopsis>
|
---|
| 133 | <cmdsynopsis id="synopsis-vboxmanage-modifynvram-changevar">
|
---|
| 134 | <command>VBoxManage modifynvram</command>
|
---|
[103617] | 135 | <group choice="req">
|
---|
| 136 | <arg choice="plain"><replaceable>uuid</replaceable></arg>
|
---|
| 137 | <arg choice="plain"><replaceable>имя-ВМ</replaceable></arg>
|
---|
| 138 | </group>
|
---|
[93478] | 139 | <arg choice="plain">changevar</arg>
|
---|
| 140 | <arg>--name=<replaceable>имя</replaceable></arg>
|
---|
| 141 | <arg>--filename=<replaceable>имя-файла</replaceable></arg>
|
---|
| 142 | </cmdsynopsis>
|
---|
| 143 | </refsynopsisdiv>
|
---|
| 144 |
|
---|
[103620] | 145 | <refsect1 id="vboxmanage-modifynvram-description">
|
---|
[93478] | 146 | <title>Описание</title>
|
---|
| 147 |
|
---|
| 148 | <para>Команды "modifynvram" предназначены для экспертов, которые хотят изучить и изменить
|
---|
| 149 | хранилище переменных UEFI виртуальной машины. Любые допущенные здесь ошибки могут
|
---|
| 150 | привести машину в нерабочее состояние.</para>
|
---|
| 151 |
|
---|
| 152 | <refsect2 id="vboxmanage-modifynvram-common-options">
|
---|
| 153 | <title>Общие параметры</title>
|
---|
| 154 | <remark role="help-scope" condition="GLOBAL"/>
|
---|
| 155 | <para>Все подкоманды <command>modifynvram</command> выполняются на работающей виртуальной
|
---|
| 156 | машине:</para>
|
---|
| 157 | <variablelist>
|
---|
| 158 | <varlistentry>
|
---|
| 159 | <term><replaceable>uuid|имя-ВМ</replaceable></term>
|
---|
| 160 | <listitem><para>Или UUID или имя ВМ (чувствительно к регистру).</para></listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 | </variablelist>
|
---|
| 163 | </refsect2>
|
---|
| 164 |
|
---|
| 165 | <refsect2 id="vboxmanage-modifynvram-inituefivarstore">
|
---|
| 166 | <title>modifynvram inituefivarstore</title>
|
---|
| 167 | <remark role="help-copy-synopsis"/>
|
---|
| 168 | <para>
|
---|
| 169 | Инициализирует хранилище переменных UEFI в состояние по умолчанию. Все ранее
|
---|
| 170 | существовавшие хранилища переменных удаляются. Используйте с особой осторожностью!
|
---|
| 171 | </para>
|
---|
| 172 | </refsect2>
|
---|
| 173 |
|
---|
| 174 | <refsect2 id="vboxmanage-modifynvram-enrollmssignatures">
|
---|
| 175 | <title>modifynvram enrollmssignatures</title>
|
---|
| 176 | <remark role="help-copy-synopsis"/>
|
---|
| 177 | <para>
|
---|
| 178 | Регистрирует стандартные подписи Microsoft KEK и DB, необходимые для безопасной загрузки UEFI.
|
---|
| 179 | </para>
|
---|
| 180 | </refsect2>
|
---|
| 181 |
|
---|
| 182 | <refsect2 id="vboxmanage-modifynvram-enrollorclpk">
|
---|
| 183 | <title>modifynvram enrollorclpk</title>
|
---|
| 184 | <remark role="help-copy-synopsis"/>
|
---|
| 185 | <para>
|
---|
| 186 | Регистрирует ключ платформы по умолчанию, предоставленный Oracle, необходимый для безопасной загрузки UEFI.
|
---|
| 187 | </para>
|
---|
| 188 | </refsect2>
|
---|
| 189 |
|
---|
| 190 | <refsect2 id="vboxmanage-modifynvram-enrollpk">
|
---|
| 191 | <title>modifynvram enrollpk</title>
|
---|
| 192 | <remark role="help-copy-synopsis"/>
|
---|
| 193 | <para>
|
---|
| 194 | Регистрирует пользовательский ключ платформы переданный пользователем, необходимый
|
---|
| 195 | для безопасной загрузки UEFI. Следующие команды используют openssl для генерации
|
---|
| 196 | нового ключа платформы:
|
---|
| 197 | </para>
|
---|
| 198 | <screen>$ openssl req -new -x509 -newkey rsa:2048 -keyout PK.key -out PK.crt</screen>
|
---|
| 199 | <screen>$ openssl x509 -in PK.crt -out PK.cer -outform DER</screen>
|
---|
| 200 | <variablelist>
|
---|
| 201 | <varlistentry>
|
---|
| 202 | <term><option>--platform-key=<replaceable>имя-файла</replaceable></option></term>
|
---|
| 203 | <listitem><para>Ключ платформы переданный в качестве X.509 подписи, зашифрованной DER.</para>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 | <varlistentry>
|
---|
| 207 | <term><option>--owner-uuid=<replaceable>uuid</replaceable></option></term>
|
---|
| 208 | <listitem><para>UUID идентифицирующий владельца ключа платформы.</para>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 | </variablelist>
|
---|
| 212 | </refsect2>
|
---|
| 213 |
|
---|
[103617] | 214 | <refsect2 id="vboxmanage-modifynvram-secureboot">
|
---|
| 215 | <title>modifynvram secureboot</title>
|
---|
| 216 | <remark role="help-copy-synopsis"/>
|
---|
| 217 | <para>
|
---|
| 218 | Включает или отключает безопасную загрузку UEFI.
|
---|
| 219 | </para>
|
---|
| 220 | <variablelist>
|
---|
| 221 | <varlistentry>
|
---|
| 222 | <term><option>--enable></option></term>
|
---|
| 223 | <listitem><para>Включает безопасную загрузку UEFI, если позволяет
|
---|
| 224 | состояние регистрации ключа.</para>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 | <varlistentry>
|
---|
| 228 | <term><option>--disable></option></term>
|
---|
| 229 | <listitem><para>Отключает безопасную загрузку UEFI.</para>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 | </variablelist>
|
---|
| 233 | </refsect2>
|
---|
| 234 |
|
---|
[93478] | 235 | <refsect2 id="vboxmanage-modifynvram-listvars">
|
---|
| 236 | <title>modifynvram listvars</title>
|
---|
| 237 | <remark role="help-copy-synopsis"/>
|
---|
| 238 | <para>
|
---|
| 239 | Показывает все переменные UEFI в хранилище виртуальной машины относительно UUID их владельца.
|
---|
| 240 | </para>
|
---|
| 241 | </refsect2>
|
---|
| 242 |
|
---|
| 243 | <refsect2 id="vboxmanage-modifynvram-queryvar">
|
---|
| 244 | <title>modifynvram queryvar</title>
|
---|
| 245 | <remark role="help-copy-synopsis"/>
|
---|
| 246 | <para>
|
---|
| 247 | Запрашивает содержимое данной переменной UEFI по ее имени.
|
---|
| 248 | </para>
|
---|
| 249 | <variablelist>
|
---|
| 250 | <varlistentry>
|
---|
| 251 | <term><option>--name=<replaceable>имя</replaceable></option></term>
|
---|
| 252 | <listitem><para>имя запрашиваемой переменной UEFI.</para>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 | <varlistentry>
|
---|
| 256 | <term><option>--filename=<replaceable>имя-файла</replaceable></option></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>
|
---|
| 259 | Куда сохранять содержимое переменной в случае успеха. Это необязательно.
|
---|
| 260 | Если не указан, содержимое будет выдано в терминал как hex дамп.
|
---|
| 261 | </para>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 | </variablelist>
|
---|
| 265 | </refsect2>
|
---|
| 266 |
|
---|
| 267 | <refsect2 id="vboxmanage-modifynvram-deletevar">
|
---|
| 268 | <title>modifynvram deletevar</title>
|
---|
| 269 | <remark role="help-copy-synopsis"/>
|
---|
| 270 | <para>
|
---|
| 271 | Удаляет данную переменную по ее имени и UUID владельца.
|
---|
| 272 | </para>
|
---|
| 273 | <variablelist>
|
---|
| 274 | <varlistentry>
|
---|
| 275 | <term><option>--name=<replaceable>имя</replaceable></option></term>
|
---|
| 276 | <listitem><para>Имя удаляемой переменной UEFI.</para>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 | <varlistentry>
|
---|
| 280 | <term><option>--owner-uuid=<replaceable>uuid</replaceable></option></term>
|
---|
| 281 | <listitem><para>UUID владельца удаляемой переменной.</para>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 | </variablelist>
|
---|
| 285 | </refsect2>
|
---|
| 286 |
|
---|
| 287 | <refsect2 id="vboxmanage-modifynvram-changevar">
|
---|
| 288 | <title>modifynvram changevar</title>
|
---|
| 289 | <remark role="help-copy-synopsis"/>
|
---|
| 290 | <para>
|
---|
| 291 | Изменяет содержимое переменной UEFI на содержимое указанного файла.
|
---|
| 292 | </para>
|
---|
| 293 | <variablelist>
|
---|
| 294 | <varlistentry>
|
---|
| 295 | <term><option>--name=<replaceable>имя</replaceable></option></term>
|
---|
| 296 | <listitem><para>Имя изменяемой переменной UEFI.</para>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 | <varlistentry>
|
---|
| 300 | <term><option>--filename=<replaceable>имя-файла</replaceable></option></term>
|
---|
| 301 | <listitem>
|
---|
| 302 | <para>Файл с данными.</para>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 | </variablelist>
|
---|
| 306 | </refsect2>
|
---|
| 307 |
|
---|
| 308 | </refsect1>
|
---|
| 309 | </refentry>
|
---|