You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/advanced-topics/usb-qubes.rst
+6-41Lines changed: 6 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ When using a USB keyboard on a system with multiple USB controllers, we recommen
92
92
93
93
5. Save and close the file.
94
94
95
-
6. Run the command ``grub2-mkconfig -o /boot/grub2/grub.cfg`` (legacy boot) or ``grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg`` (EFI) in dom0.
95
+
6. Run the command ``grub2-mkconfig -o /boot/grub2/grub.cfg``
96
96
97
97
7. Reboot.
98
98
@@ -182,17 +182,11 @@ USB controllers are automatically hidden from dom0 if you opt to create a USB qu
182
182
183
183
2. Hide (i.e., blacklist) all USB controllers from dom0.
184
184
185
+
.. warning:: **If you use a USB keyboard**, hiding your USB controllers from dom0 could lock you out of your system. See :ref:`user/advanced-topics/usb-qubes:usb keyboards` for more information.
185
186
187
+
.. warning:: **Using a USB AEM device** requires dom0 to have access to the USB controller to which your USB AEM device is attached. If dom0 cannot read your USB AEM device, AEM will hang.
186
188
187
-
**Warning:** If you use a USB keyboard, hiding your USB controllers from dom0 could lock you out of your system. See :ref:`user/advanced-topics/usb-qubes:usb keyboards` for more information.
188
-
189
-
**Warning:** Using a USB AEM device requires dom0 to have access to the USB controller to which your USB AEM device is attached. If dom0 cannot read your USB AEM device, AEM will hang.
190
-
191
-
The following procedure will hide all USB controllers from dom0.
192
-
193
-
GRUB2 (legacy boot or EFI)
194
-
^^^^^^^^^^^^^^^^^^^^^^^^^^
195
-
189
+
The following procedure will hide all USB controllers from dom0:
196
190
197
191
1. Open the file ``/etc/default/grub`` in dom0.
198
192
@@ -202,21 +196,14 @@ GRUB2 (legacy boot or EFI)
202
196
203
197
4. Save and close the file.
204
198
205
-
5. Run the command ``grub2-mkconfig -o /boot/grub2/grub.cfg`` (legacy boot) or ``grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg`` (EFI) in dom0.
199
+
5. Run the command ``grub2-mkconfig -o /boot/grub2/grub.cfg``
206
200
207
201
6. Reboot.
208
202
209
-
210
-
211
203
How to remove a USB qube
212
204
------------------------
213
205
214
-
215
-
**Warning:** This procedure will result in your USB controller(s) being attached directly to dom0.
216
-
217
-
GRUB2
218
-
^^^^^
219
-
206
+
.. warning:: This procedure will result in your USB controller(s) being attached directly to dom0.
220
207
221
208
1. Shut down the USB qube.
222
209
@@ -233,25 +220,3 @@ GRUB2
233
220
7. Run the command ``grub2-mkconfig -o /boot/grub2/grub.cfg`` in dom0.
234
221
235
222
8. Reboot.
236
-
237
-
238
-
239
-
Qubes 4.0: EFI
240
-
^^^^^^^^^^^^^^
241
-
242
-
243
-
1. Shut down the USB qube.
244
-
245
-
2. In Qubes Manager, right-click on the USB qube and select “Remove VM.”
246
-
247
-
3. Open the file ``/boot/efi/EFI/qubes/xen.cfg`` in dom0.
248
-
249
-
4. Find the line(s) that begins with ``kernel=``.
250
-
251
-
5. If ``rd.qubes.hide_all_usb`` appears anywhere in those lines, remove it.
Copy file name to clipboardExpand all lines: user/troubleshooting/autostart-troubleshooting.rst
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,6 @@
2
2
Autostart troubleshooting
3
3
=========================
4
4
5
-
6
-
The following instructions are valid for **Qubes OS R4.0 legacy mode** and **Qubes OS R4.1 legacy and UEFI modes**. For **Qubes OS R4.0 in UEFI mode**, there is no GRUB, so manual boot from another operating system is needed.
7
-
8
5
In several cases, there is a need to prevent ``autostart=True`` for qubes on boot. For example:
9
6
10
7
- ``sys-usb`` was enabled, but the only keyboard is attached via USB, and the ``qubes.InputKeyboard`` service is disabled.
Copy file name to clipboardExpand all lines: user/troubleshooting/installation-troubleshooting.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ Here are the steps to fix this. Note that this allows sys-net and sys-usb to tak
125
125
126
126
2. Add ``qubes.enable_insecure_pv_passthrough`` to ``GRUB_CMDLINE_LINUX`` in ``/etc/default/grub``
127
127
128
-
3. Run ``sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg``. If you are using a non-UEFI BIOS (where ``/boot/efi/EFI`` doesn’t exist), use the command ``sudo grub-mkconfig -o /boot/grub2/grub.cfg`` instead.
128
+
3. Run ``sudo grub-mkconfig -o /boot/grub2/grub.cfg``
Copy file name to clipboardExpand all lines: user/troubleshooting/resume-suspend-troubleshooting.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,4 +160,4 @@ Suspend turns off the screen and gets stuck
160
160
-------------------------------------------
161
161
162
162
163
-
On some devices suspend-to-RAM does not work and a hard power-off is needed to recover, because the system does not go into deep sleep. To get suspend to work, you need to add ``mem_sleep_default=deep`` kernel option. For legacy boot, or UEFI/legacy in R4.1+, add it to the ``GRUB_CMDLINE_LINUX`` setting in ``/etc/default/grub``, update the grub config, and reboot. In R4.0 with UEFI boot, you need to add it to every ``kernel=`` line in ``/boot/efi/EFI/qubes/xen.cfg`` and reboot.
163
+
On some devices suspend-to-RAM does not work and a hard power-off is needed to recover, because the system does not go into deep sleep. To get suspend to work, you need to add ``mem_sleep_default=deep`` kernel option. Add it to the ``GRUB_CMDLINE_LINUX`` setting in ``/etc/default/grub``, update the grub config, and reboot.
0 commit comments