Why am I not able to edit any files on a windows guest using virt-edit?
Issue
- virt-edit fails to edit any files on a Windows guest OS by reporting the following error message then.
(While trying to edit c:\boot.ini)
# virt-edit winxp /boot.ini
Using CPU model "cpu64-rhel6"
virt-edit: 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.If you feel this is an error, please file a bug report including as much
information about the disk image as possible.
- Above message says that virt-edit can't detect an operating system inside the image of the guest specified. However this problem does not happen if the specified guest is Linux based like RHEL.
Environment
- Red Hat Enterprise Linux 6 KVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.