Bug 1221583
| Summary: | [RFE]Add support for ntfs and Windows images by building the libguestfs-winsupport for aarch64 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Hu Zhang <huzhan> |
| Component: | libguestfs-winsupport | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.1 | CC: | leiwang, linl, ptoscano, salmy, wshi |
| Target Milestone: | rc | Keywords: | FutureFeature, RFE |
| Target Release: | --- | ||
| Hardware: | aarch64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-winsupport-7.2-1.el7 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 12:58:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hu Zhang
2015-05-14 12:00:13 UTC
I added aarch64 to the ExclusiveArch, built it locally on RHELSA,
and installed it. It seems to work fine:
guestfish --ro -a /mnt/scratch/winxp.img -i
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.
Type: 'help' for help on commands
'man' to read the manual
'quit' to quit the shell
Operating system: Microsoft Windows XP
/dev/sda1 mounted on /
><fs> ll /
total 1573209
drwxrwxrwx 1 root root 4096 Apr 16 2012 .
drwxr-xr-x 19 root root 4096 May 15 16:43 ..
-rwxrwxrwx 1 root root 0 Oct 11 2011 AUTOEXEC.BAT
-rwxrwxrwx 1 root root 0 Oct 11 2011 CONFIG.SYS
drwxrwxrwx 1 root root 4096 Oct 11 2011 Documents and Settings
-rwxrwxrwx 1 root root 0 Oct 11 2011 IO.SYS
-rwxrwxrwx 1 root root 0 Oct 11 2011 MSDOS.SYS
-rwxrwxrwx 1 root root 47564 Apr 14 2008 NTDETECT.COM
drwxrwxrwx 1 root root 4096 Oct 11 2011 Program Files
drwxrwxrwx 1 root root 4096 Oct 11 2011 System Volume Information
drwxrwxrwx 1 root root 28672 Oct 11 2011 WINDOWS
-rwxrwxrwx 1 root root 211 Oct 11 2011 boot.ini
-rwxrwxrwx 1 root root 250048 Apr 14 2008 ntldr
-rwxrwxrwx 1 root root 1610612736 Oct 11 2011 pagefile.sys
Therefore I will push this change to dist-git.
I cannot create an erratum for this. The ticket is: https://engineering.redhat.com/rt/Ticket/Display.html?id=352120 Set back to ASSIGNED because the build won't build on aarch64. verified with the package:
libguestfs-winsupport-7.2-1.el7.aarch64
verify steps:
1. # guestfish --ro -a Win2008r2-64-hvm.raw set-program virt-trickery : run : mount /dev/sda1 / : ls /
$Recycle.Bin
BOOTSECT.BAK
Boot
Documents and Settings
PerfLogs
Program Files
Program Files (x86)
ProgramData
Recovery
System Volume Information
Users
Windows
bootmgr
pagefile.sys
qescripts
2. # virt-inspector -a Win2008r2-64-hvm.raw
<?xml version="1.0"?>
<operatingsystems>
<operatingsystem>
<root>/dev/sda1</root>
<name>windows</name>
<arch>x86_64</arch>
<distro>windows</distro>
<product_name>Windows Server 2008 R2 Standard</product_name>
<product_variant>Server</product_variant>
<major_version>6</major_version>
<minor_version>1</minor_version>
<windows_systemroot>/Windows</windows_systemroot>
<windows_current_control_set>ControlSet001</windows_current_control_set>
<hostname>WIN-BAE6K14IE2J</hostname>
<format>installed</format>
<mountpoints>
<mountpoint dev="/dev/sda1">/</mountpoint>
</mountpoints>
<filesystems>
<filesystem dev="/dev/sda1">
<type>ntfs</type>
<label>OS_Install</label>
<uuid>3E24A22D24A1E85B</uuid>
</filesystem>
</filesystems>
<drive_mappings>
<drive_mapping name="C">/dev/sda1</drive_mapping>
</drive_mappings>
<applications>
<application>
<name>Red Hat Paravirtualized Xen Drivers for Windows(R)</name>
<display_name>Red Hat Paravirtualized Xen Drivers for Windows(R) 1.3.13</display_name>
<version>1.3.13</version>
<publisher>Red Hat, Inc.</publisher>
<url>http://www.redhat.com</url>
</application>
</applications>
</operatingsystem>
</operatingsystems>
Works as expected. So verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2423.html |