New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVGRUB2 does not work in Qubes 4 #3136

Open
dylangerdaly opened this Issue Sep 30, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@dylangerdaly

Qubes OS version (e.g., R3.2):

4RC1

Affected TemplateVMs (e.g., fedora-23, if applicable):

Any VM with a VM Managed Kernel


Steps to reproduce the behavior:\

Install grub2-xen, set kernel to pvgrub2 and start a VM

Expected behavior:

VM Should Boot

Actual behavior:

Missing file: /var/lib/qubes/vm-kernels/pvgrub2/modules.img

General notes:

Touching modules and copying modules from another kernel does not work (libxenlight error creating domain)


Related issues:

None

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Sep 30, 2017

Member

pvgrub2 is works only in PV mode. VMs in Qubes 4.0 are HVM. In practice it means pvgrub2 isn't needed at all and normal grub (or other bootloader) can be used instead. To do that, set kernel property to empty value:

qvm-prefs VMNAME kernel ''

You may want to enable debug mode initially:

qvm-prefs VMNAME debug on

Yes, we need to update documentation about this.

Member

marmarek commented Sep 30, 2017

pvgrub2 is works only in PV mode. VMs in Qubes 4.0 are HVM. In practice it means pvgrub2 isn't needed at all and normal grub (or other bootloader) can be used instead. To do that, set kernel property to empty value:

qvm-prefs VMNAME kernel ''

You may want to enable debug mode initially:

qvm-prefs VMNAME debug on

Yes, we need to update documentation about this.

@marmarek marmarek added C: doc and removed C: kernel labels Sep 30, 2017

@dylangerdaly

This comment has been minimized.

Show comment
Hide comment
@dylangerdaly

dylangerdaly Sep 30, 2017

Thank you! WireGuard works swimmingly!

qvm-prefs VMNAME kernel '' fixed my issue!

dylangerdaly commented Sep 30, 2017

Thank you! WireGuard works swimmingly!

qvm-prefs VMNAME kernel '' fixed my issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment