Re: [qubes-users] VMs to boot to new kernel

2020-02-24 Thread ncmyers
I find that dom0's /var/lib/qubes/vm-kernels/ does not list a 
5.4 kernel, despite that dom0 uname reports running it. After I run

  # qubes-dom0-update kernel-latest-qubes-vm

a 5.4 kernel is now listed, and is now selectable using
Qube Settings/Advanced.


Thank you.

On Monday, February 24, 2020 at 1:44:02 PM UTC-5, Andrey Arapov wrote:
>
> Question: How to get VMs to boot to a newly installed kernel?
>
>
> To change the default kernel for VM's:
>
> [arno@dom0 ~]$ uname -r
> 4.19.100-1.pvops.qubes.x86_64
> [arno@dom0 ~]$ qubes-prefs -s default_kernel 4.19.100-1
>
> the value should correspond to what you find in 
> /var/lib/qubes/vm-kernels/, e.g.
> /var/lib/qubes/vm-kernels/4.19.100-1/vmlinuz
>
> And restart the VM's.
>
> To change the kernel for a specific VM only:
> qvm-prefs -s  kernel 4.19.100-1
>
>
> Kind regards,
> Andrey Arapov
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e8a85186-e625-495d-9ee5-90408f95c4fa%40googlegroups.com.


Re: [qubes-users] VMs to boot to new kernel

2020-02-24 Thread 'Andrey Arapov' via qubes-users
Question: How to get VMs to boot to a newly installed kernel?
To change the default kernel for VM's:

[arno@dom0 ~]$ uname -r
4.19.100-1.pvops.qubes.x86_64
[arno@dom0 ~]$ qubes-prefs -s default_kernel 4.19.100-1

the value should correspond to what you find in /var/lib/qubes/vm-kernels/, e.g.
/var/lib/qubes/vm-kernels/4.19.100-1/vmlinuz

And restart the VM's.

To change the kernel for a specific VM only:
qvm-prefs -s  kernel 4.19.100-1
Kind regards,
Andrey Arapov

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f09260920d3ca7d6d38e46b30ab4a25e%40nixaid.com.


[qubes-users] VMs to boot to new kernel

2020-02-24 Thread ncmyers
I recently succeeded in getting my dom0 upgraded to a 5.4 kernel.
(I can't recall how, because it would not boot for some days afterward.
More about that in another post.)

Now uname in dom0 reports the shiny new 5. 4 kernel.

I also got 5.4 kernels installed in some VM templates. However,
when I start such a template or a VM referring to one, they still
boot into the older, 4.19 kernel.

Question: How to get VMs to boot to a newly installed kernel?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9ca2cbd8-bddc-43de-a467-d08032f5a5f7%40googlegroups.com.