mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-25 15:29:29 -05:00
Make fstrim step optional instead of recommended and explain why
This commit is contained in:
parent
d46ebfb4cd
commit
e63030c32a
@ -29,10 +29,6 @@ In general, upgrading a Debian TemplateVM follows the same process as [upgrading
|
||||
[user@debian-<new> ~]$ sudo apt update
|
||||
[user@debian-<new> ~]$ sudo apt upgrade
|
||||
[user@debian-<new> ~]$ sudo apt dist-upgrade
|
||||
[user@debian-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown debian-<new>
|
||||
[user@dom0 ~]$ qvm-start debian-<new>
|
||||
[user@debian-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown debian-<new>
|
||||
|
||||
**Recommended:** [Switch everything that was set to the old template to the new template.][switch]
|
||||
@ -76,7 +72,9 @@ The same general procedure may be used to upgrade any template based on the stan
|
||||
|
||||
[user@debian-<new> ~]$ sudo apt-get clean
|
||||
|
||||
7. (Recommended) Trim the new template.
|
||||
7. (Optional) Trim the new template.
|
||||
(This should [no longer be necessary][template-notes], but it does not hurt.
|
||||
Some users have [reported][5055] that it makes a difference.)
|
||||
|
||||
[user@debian-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown debian-<new>
|
||||
@ -161,4 +159,6 @@ We strongly recommend against using any Debian release that has reached [end-of-
|
||||
[buster]: https://www.debian.org/releases/buster/amd64/release-notes/ch-upgrading.en.html
|
||||
[end-of-life (EOL)]: https://wiki.debian.org/DebianReleases#Production_Releases
|
||||
[StandaloneVM]: /doc/standalone-and-hvm/
|
||||
[template-notes]: /doc/templates/#important-notes
|
||||
[5055]: https://github.com/QubesOS/qubes-issues/issues/5055
|
||||
|
||||
|
@ -40,10 +40,6 @@ If you wish to install a new, unmodified Fedora TemplateVM instead of upgrading
|
||||
[user@fedora-<new> ~]$ sudo mount /dev/xvdi /mnt/removable
|
||||
[user@fedora-<new> ~]$ sudo dnf clean all
|
||||
[user@fedora-<new> ~]$ sudo dnf --releasever=<new> --setopt=cachedir=/mnt/removable --best --allowerasing distro-sync
|
||||
[user@fedora-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown fedora-<new>
|
||||
[user@dom0 ~]$ qvm-start fedora-<new>
|
||||
[user@fedora-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown fedora-<new>
|
||||
[user@dom0 ~]$ sudo losetup -d $dev
|
||||
[user@dom0 ~]$ rm /var/tmp/template-upgrade-cache.img
|
||||
@ -115,7 +111,9 @@ The same general procedure may be used to upgrade any template based on the stan
|
||||
|
||||
[user@fedora-<new> ~]$ cat /etc/fedora-release
|
||||
|
||||
5. (Recommended) Trim the new template.
|
||||
5. (Optional) Trim the new template.
|
||||
(This should [no longer be necessary][template-notes], but it does not hurt.
|
||||
Some users have [reported][5055] that it makes a difference.)
|
||||
|
||||
[user@fedora-<new> ~]$ sudo fstrim -av
|
||||
[user@dom0 ~]$ qvm-shutdown fedora-<new>
|
||||
@ -210,4 +208,6 @@ In this case, you have several options:
|
||||
[DispVM]: /doc/dispvm/
|
||||
[end-of-life (EOL)]: https://fedoraproject.org/wiki/End_of_life
|
||||
[StandaloneVM]: /doc/standalone-and-hvm/
|
||||
[template-notes]: /doc/templates/#important-notes
|
||||
[5055]: https://github.com/QubesOS/qubes-issues/issues/5055
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user