mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-08-09 23:22:49 -04:00
Use console lexer instead of bash with a prompt
This commit is contained in:
parent
ba609d123e
commit
b53776e1eb
49 changed files with 256 additions and 256 deletions
|
@ -7,7 +7,7 @@ You want to read your LVM image (e.g., there is a problem where you can’t star
|
|||
|
||||
1: make the image available for qubesdb. From dom0 terminal:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
# Example: /dev/qubes_dom0/vm-debian-9-tmp-root
|
||||
[user@dom0]$ dev=$(basename $(readlink /dev/YOUR_LVM_VG/YOUR_LVM_IMAGE))
|
||||
|
@ -16,7 +16,7 @@ You want to read your LVM image (e.g., there is a problem where you can’t star
|
|||
|
||||
2: Create a new disposable VM
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
[user@dom0]$ qvm-run -v --dispvm=YOUR_DVM_TEMPLATE --service qubes.StartApp+xterm &
|
||||
|
||||
|
@ -25,28 +25,28 @@ You want to read your LVM image (e.g., there is a problem where you can’t star
|
|||
|
||||
From the GUI, or from the command line:
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
[user@dom0]$ qvm-block attach NEWLY_CREATED_DISPVM dom0:$dev
|
||||
|
||||
|
||||
4: Mount the partition you want to, and do what you want with it
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
[user@dispXXXX]$ mount /dev/xvdiX /mnt/
|
||||
|
||||
|
||||
5: Umount and kill the VM
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
[user@dispXXXX]$ umount /mnt/
|
||||
|
||||
|
||||
6: Remove the image from qubesdb
|
||||
|
||||
.. code:: bash
|
||||
.. code:: console
|
||||
|
||||
[user@dom0]$ qubesdb-rm /qubes-block-devices/$dev/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue