Red Hat Bugzilla – Bug 812706
Disk image inspection failed for freeBSD guest
Last modified: 2012-04-16 03:36:11 EDT
Description of problem:
Install a freeBSD 9.0 guest for either 32bit or 64 bit. After installed successfully, using virt-inspector command to identify the disk image, but can not output some related content.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a freeBSD 9.0 guest.
2. After finish installation successfully:
# virt-inspector /var/lib/libvirt/images/FreeBSD-9.0-64.qcow2
[root@localhost images]# virt-inspector /var/lib/libvirt/images/FreeBSD-9.0-64.qcow2
After step 2, should output an XML document containing an <operatingsystem> element and the following child elements
* <major_version> + <minor_version>
"<operatingsystems/>" means we found no operating systems.
There are two fundamental problems with detecting FreeBSD guests.
(1) The Linux kernel doesn't understand the BSD partition scheme
(2) The "UFS" filesystem used by BSD guests has many variants,
which aren't easily distinguished on disk, and the Linux UFS
driver requires special flags where you tell it what filesystem
variant you are trying to mount. We don't have that information
so we cannot pass the right flag.
*** This bug has been marked as a duplicate of bug 541618 ***