troubleshooting: add qubes.skip_autostart

Related QubesOS/qubes-issues#4312
This commit is contained in:
Frédéric Pierret (fepitre) 2021-06-23 16:23:12 +02:00
parent 3b700bfa63
commit 069c805d04
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -0,0 +1,25 @@
---
lang: en
layout: doc
permalink: /doc/skip-qubes-autostart/
title: Skip Qubes OS autostart
---
In several cases, it is needed to prevent `autostart=True` for qubes on boot. For example:
* `sys-usb` was enabled but the only keyboard is on USB and qubes.InputKeyboard service is disabled,
* Some PCI device assigned to autostart VM crashes the system (e.g. GPU or RAID controller cards).
For that, there exists `qubes.skip_autostart` option on kernel command line. In order to use it, at the grub boot menu,
[![grub1.png](/attachment/doc/grub1.png)](/attachment/doc/grub1.png)
press `e` on the first entry (or any of your usual/custom entry). Then, press down key multiple times to reach the line starting by `module2`.
[![grub2.png](/attachment/doc/grub2.png)](/attachment/doc/grub2.png)
Append to the end of this line (generally after `rhgb quiet` options) `qubes.skip_autostart`
[![grub3.png](/attachment/doc/grub3.png)](/attachment/doc/grub3.png)
and press `Control-x` to boot the edited GRUB entry. The boot proceeds as usual with LUKS password prompt and then boot only the Qubes services without starting any qube.