| Summary: | libguestfs is not aware of the Windows Recovery Console extra partition | ||
|---|---|---|---|
| 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: | mbooth, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 672824 | Environment: | |
| Last Closed: | 2011-03-24 11:51:22 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: | |||
| Bug Blocks: | 672824, 673066 | ||
|
Description
Richard W.M. Jones
2011-01-26 14:45:43 UTC
I couldn't reproduce this with Windows XP. Except when the install CD (ie. ISO) was attached to the virtual machine, in which case it sees the install CD as a separate Windows installation. We should probably have it just ignore CD devices / ISOs. When I removed the CD using virsh edit, only a single operating system was observed by [new] virt-inspector. Some background information: In Windows XP the Recovery Console can be installed off the CD (see http://support.microsoft.com/kb/216417). Doing this does not require a separate partition. It creates a C:\CMDCONS directory containing a load of *.SYS and *.DLL files, and it updates BOOT.INI with an extra entry, see the final line here: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons Even the old Perl code which tried to parse boot.ini ought to parse this correctly. It should only look at the default=... line. The new C inspection code doesn't look inside boot.ini at all. |