| Summary: | Inspection code fails for Windows guest with two disks | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | karmstrong, mbooth, psubrama, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-28 09:40:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 672827 | ||
| Bug Blocks: | 679354 | ||
|
Description
Richard W.M. Jones
2011-01-31 18:08:04 UTC
This was fairly simple to reproduce. First I installed Windows 7 on a VM with two virtual disks (12 GB + 512 MB). After installation I formatted the second small disk. Then I downloaded Firefox and asked it to install on to the second drive (E:). Firefox's installer created E:\Program Files\... This broke the core inspection code: it tried to find an operating system on the second disk (because it thought the presence of "/Program Files" meant it was a Windows root). It failed to determine the %SYSTEMROOT% of this second disk. The error message was: # virt-inspector Win7x32TwoDisks libguestfs: error: cannot resolve Windows %SYSTEMROOT% virt-inspector: no operating system could be detected inside this disk image. This may be because the file is not a disk image, or is not a virtual machine image, or because the OS type is not understood by libguestfs. [...] |