Skip to content
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

Default emulated disk in Qubes 4.0 HVM is not supported by Windows 7 installer #3068

Closed
marmarek opened this issue Sep 1, 2017 · 12 comments
Closed
Labels
C: Xen P: major Priority: major. Between "default" and "critical" in severity. r4.0-dom0-stable r4.0-fc24-stable r4.0-fc25-stable r4.0-jessie-stable r4.0-stretch-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Milestone

Comments

@marmarek
Copy link
Member

marmarek commented Sep 1, 2017

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

Expected behavior:

Windows installer allow to install the system.

Actual behavior:

Windows installer complains: "No drives were found".

Steps to reproduce the behavior:

Launch Windows 7 installation (currently tricky because of #2951).

@marmarek marmarek added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: Xen P: major Priority: major. Between "default" and "critical" in severity. labels Sep 1, 2017
@marmarek marmarek added this to the Release 4.0 milestone Sep 1, 2017
@marmarek
Copy link
Member Author

marmarek commented Sep 1, 2017

PR for #2951 created, so working on this issue is easier now.

From what I see, Windows 7 do not support the SCSI controller emulated by qemu option -drive if=scsi,.... But it does support standard IDE and AHCI (-device ahci,id=ahci0 -drive if=none,id=ahcidisk-0,... -device ide-hd,bus=ahci0.0,drive=ahcidisk-0). Libxl do support creating AHCI disks (VM-wide switch: b_info->u.hvm.hdtype = LIBXL_HDTYPE_AHCI), but qemu does not support AHCI read-only disks (as well as IDE). For IDE drives in qemu, read-only property is tied up to being CDROM (ide_dev_initfn function in hw/ide/qdev.c).
I see those options:

  • look how it worked in Qubes 3.2 with qemu-xen-traditional (maybe read-only disks weren't supported there either?)
  • try some other device supported by qemu (maybe another SCSI controller?),
  • create IDE/AHCI device for read-write devices, and SCSI for read-only ones (those will be unavailable to Windows...),
  • look how hard would be adding read-only support to AHCI emulation

@HW42 do you have idea for reasonable solution here?

@HW42
Copy link

HW42 commented Sep 5, 2017

I would try another scsi controller. I already looked at the problem a while back and there are scsi contollers supported by Windows out of the box (I had tested some Win 7 Pro and Win 10 Pro installers). IIRC 'mptsas1068' and 'megasas' are supported by windows. I did not switched to those because Linux and Freebsd had problems with the emulated controller. But maybe this is already fixed. I/We have to retry.

@qubesos-bot
Copy link

Automated announcement from builder-github

The package xen_4.8.2-4+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package xen_4.8.2-4+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-4.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-4.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-4.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-11.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package xen_2001:4.8.2-11+deb8u1 has been pushed to the r4.0 stable repository for the Debian jessie template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package xen_2001:4.8.2-11+deb9u1 has been pushed to the r4.0 stable repository for the Debian stretch template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-11.fc24 has been pushed to the r4.0 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-xen-4.8.2-11.fc25 has been pushed to the r4.0 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Xen P: major Priority: major. Between "default" and "critical" in severity. r4.0-dom0-stable r4.0-fc24-stable r4.0-fc25-stable r4.0-jessie-stable r4.0-stretch-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

3 participants