Booting VM to single user mode

31 views
Skip to first unread message

tetra...@danwin1210.me

unread,
Jan 2, 2020, 8:05:22 PM1/2/20
to qubes...@googlegroups.com
is it possible?

I tried using `sudo virsh edit MYVM` to add `single` / `init=/bin/bash`
(for fedora & debian, respectively) to the kernel
<cmdline> but the settings would not validate, and after I selected
"ignore" to force it, the machine still did not boot into single-user
mode.

tetra...@danwin1210.me

unread,
Jan 2, 2020, 8:19:02 PM1/2/20
to qubes...@googlegroups.com
Solution:
qvm-prefs MYVM kernelopts "nopat single"

where `nopat` is whatever kernel options were previously listed in the
output of `qvm-prefs MYVM kernelopts`

Unfortunately there is still the problem that the VM is killed after 60
seconds because Qubes can't connect to the qrexec agent... anyone know
how to disable this?

awokd

unread,
Jan 2, 2020, 8:25:47 PM1/2/20
to qubes...@googlegroups.com
tetrahedra via qubes-users:

> Solution:
> qvm-prefs MYVM kernelopts "nopat single"
>
> where `nopat` is whatever kernel options were previously listed in the
> output of `qvm-prefs MYVM kernelopts`
>
> Unfortunately there is still the problem that the VM is killed after 60
> seconds because Qubes can't connect to the qrexec agent... anyone know
> how to disable this?
>
Try qvm-prefs with qrexec_timeout. 0 might disable, or some high number.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

tetra...@danwin1210.me

unread,
Jan 2, 2020, 8:46:00 PM1/2/20
to awokd, qubes...@googlegroups.com
On Fri, Jan 03, 2020 at 01:25:36AM +0000, 'awokd' via qubes-users wrote:
>> Unfortunately there is still the problem that the VM is killed after 60
>> seconds because Qubes can't connect to the qrexec agent... anyone know
>> how to disable this?
>>
>Try qvm-prefs with qrexec_timeout. 0 might disable, or some high number.

using 0 gives the error "no such property: 'qrexec_timeout'"

High number works.
Reply all
Reply to author
Forward
0 new messages