mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-03 19:51:03 -05:00
Merge branch 'tasket-patch-7'
This commit is contained in:
commit
b7368ed6cf
@ -9,12 +9,33 @@ redirect_from:
|
|||||||
How to Reinstall a TemplateVM
|
How to Reinstall a TemplateVM
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
If you suspect your [TemplateVM] is broken, misconfigured, or compromised,
|
If you suspect your [TemplateVM] is broken, misconfigured, or compromised, you
|
||||||
or if you wish to do a clean reinstall in order to upgrade to a new version, you
|
can reinstall any TemplateVM that was installed from the Qubes repository.
|
||||||
can reinstall any TemplateVM from the Qubes repository. In what follows, the
|
Starting in Qubes 3.1, the process is greatly simplified.
|
||||||
phrase "target TemplateVM" refers to whichever TemplateVM you want to reinstall.
|
|
||||||
If you want to reinstall more than one TemplateVM, repeat these instructions for
|
First, copy any files that you wish to keep from the TemplateVM's `/home` and
|
||||||
each one.
|
`/rw` folders to a safe storage location. Then, in a dom0 terminal, run:
|
||||||
|
|
||||||
|
sudo qubes-dom0-update --action=reinstall qubes-template-package-name
|
||||||
|
|
||||||
|
Replace `qubes-template-package-name` with the name of the *package* of the
|
||||||
|
template you wish to reinstall. For example, use `qubes-template-fedora-23` if
|
||||||
|
you wish to reinstall the `fedora-23` template. Only one template can be
|
||||||
|
reinstalled at a time.
|
||||||
|
|
||||||
|
VMs that are using the reinstalled template will not be affected until they are
|
||||||
|
restarted.
|
||||||
|
|
||||||
|
Manual Reinstallation Method
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
If you're using Qubes 3.0 or older, or if you wish to do a clean reinstallation
|
||||||
|
of a template in order to upgrade to a different version, you should use the
|
||||||
|
manual method.
|
||||||
|
|
||||||
|
In what follows, the term "target TemplateVM" refers to whichever TemplateVM you
|
||||||
|
want to reinstall. If you want to reinstall more than one TemplateVM, repeat
|
||||||
|
these instructions for each one.
|
||||||
|
|
||||||
1. (Optional) Clone the existing target TemplateVM.
|
1. (Optional) Clone the existing target TemplateVM.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user