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

VMs have no config files / StandaloneVM from ISO (win) shuts down on logo #3432

Closed
OldloratH opened this Issue Dec 28, 2017 · 6 comments

Comments

Projects
None yet
3 participants
@OldloratH

Qubes OS version:

Qubes release 4.0 (R4.0-rc3)

Affected VMs:

StandaloneVM from iso (Windows)

Steps to reproduce the behavior:

qvm-create win --class StandaloneVM --label blue
qvm-prefs win kernel ''
sudo qvm-start win --cdrom=dom0:<path to .iso>

Expected behavior:

  • Windows installation process OR
  • Stuck at logo, issue #2488

Actual behavior:

  • VM shuts down
  • No config file under var/lib/qubes/apvms/win

General notes:

  • The VM shuts down on win logo
  • None of the VMs have config files under var/lib/qubes/appvms, only icon.png files so I cannot change the VM video driver from 'xen' to 'cirrus'

Related issues:

#2488

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 28, 2017

Member

Try installing updates from current-testing repository, very similar bug is fixed there.

Member

marmarek commented Dec 28, 2017

Try installing updates from current-testing repository, very similar bug is fixed there.

@OldloratH

This comment has been minimized.

Show comment
Hide comment
@OldloratH

OldloratH Dec 28, 2017

I did beforehand, 'sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing' finds everything up to date.

I did beforehand, 'sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing' finds everything up to date.

marmarek added a commit to marmarek/qubes-core-admin that referenced this issue Dec 28, 2017

Allow to choose emulated video model via qvm-features
Add feature named 'video-model' to choose custom video model. It needs
to be supported by libvirt: https://libvirt.org/formatdomain.html#elementsVideo

Example usage:

    qvm-features vm-name video-model cirrus

QubesOS/qubes-issues#2488
QubesOS/qubes-issues#3432

@marmarek marmarek referenced this issue in QubesOS/qubes-core-admin Dec 28, 2017

Merged

Allow to choose emulated video model via qvm-features #175

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 28, 2017

Member

Are you sure the path is correct? You should put a full path there, not relative one.
I've just tried on fully updated system, and got windows (10) logo for about half a minute, then VM shuts down. Is is the same, or your shuts down earlier?

As for the config file, see PR linked above, you can apply this modification manually to /usr/share/qubes/templates/libvirt/xen.xml

Member

marmarek commented Dec 28, 2017

Are you sure the path is correct? You should put a full path there, not relative one.
I've just tried on fully updated system, and got windows (10) logo for about half a minute, then VM shuts down. Is is the same, or your shuts down earlier?

As for the config file, see PR linked above, you can apply this modification manually to /usr/share/qubes/templates/libvirt/xen.xml

@OldloratH

This comment has been minimized.

Show comment
Hide comment
@OldloratH

OldloratH Dec 28, 2017

Yes, the windows logo stays for about half a minute before shutting down.

/usr/share/qubes/templates/libvirt/xen.xml has a section:
<video> <model type="vga"/> </video>
I tried changing the "vga" to "cirrus" and redoing the steps however no changes.

OldloratH commented Dec 28, 2017

Yes, the windows logo stays for about half a minute before shutting down.

/usr/share/qubes/templates/libvirt/xen.xml has a section:
<video> <model type="vga"/> </video>
I tried changing the "vga" to "cirrus" and redoing the steps however no changes.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 28, 2017

Member

Try increasing memory, for example to 2048M. For me this fixed the problem.

Member

marmarek commented Dec 28, 2017

Try increasing memory, for example to 2048M. For me this fixed the problem.

@OldloratH

This comment has been minimized.

Show comment
Hide comment
@OldloratH

OldloratH Dec 29, 2017

Increasing the initial memory fixed the issue, thank you @marmarek.

Increasing the initial memory fixed the issue, thank you @marmarek.

@OldloratH OldloratH closed this Dec 29, 2017

marmarek added a commit to marmarek/qubes-core-admin-client that referenced this issue Jan 5, 2018

@marmarek marmarek referenced this issue in QubesOS/qubes-core-admin-client Jan 5, 2018

Merged

Add info about 'video-model' feature to qvm-features documentation #46

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