Bug 812706 - Disk image inspection failed for freeBSD guest
Summary: Disk image inspection failed for freeBSD guest
Keywords:
Status: CLOSED DUPLICATE of bug 541618
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-16 02:55 UTC by Qunfang Zhang
Modified: 2012-04-16 07:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-16 07:35:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Qunfang Zhang 2012-04-16 02:55:40 UTC
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):
kernel-3.3.0-1.fc17.x86_64
libguestfs-1.17.26-1.fc17.x86_64

How reproducible:
100%

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 
3.
  
Actual results:
[root@localhost images]# virt-inspector /var/lib/libvirt/images/FreeBSD-9.0-64.qcow2 
<?xml version="1.0"?>
<operatingsystems/>


Expected results:
After step 2, should output an XML document containing an <operatingsystem> element and the following child elements

    * <name>
    * <distro>
    * <arch>
    * <major_version> + <minor_version>
    * <format>installed</installer> 

Additional info:

Comment 1 Richard W.M. Jones 2012-04-16 07:35:02 UTC
"<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
properly.

(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 ***


Note You need to log in before you can comment on or make changes to this bug.