Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1033207 - RFE: libguestfs inspection does not recognize Free4NAS live CD
RFE: libguestfs inspection does not recognize Free4NAS live CD
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2013-11-21 12:21 EST by Pablo Hinojosa
Modified: 2013-12-09 11:47 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-09 11:47:06 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
outputs of 4 commands. qcow-* means * command to qcow2 installed image (43.76 KB, application/gzip)
2013-11-21 12:21 EST, Pablo Hinojosa
no flags Details

  None (edit)
Description Pablo Hinojosa 2013-11-21 12:21:22 EST
Created attachment 827387 [details]
outputs of 4 commands. qcow-* means * command to qcow2 installed image

Description of problem:
NAS4Free (based on FreeBSD) is not recognized as a BSD OS. When you tried to copy with virt-copy-in a file into a qcow2 image with NAS4Free installed, the error is: 
guestfish: no operating system was found on this disk

Guestfish shell or command also does not recognize a downloaded NAS4Free iso and an installed NAS4Free qcow2 image as a FreeBSD os.

Version-Release number of selected component (if applicable):
guestfish 1.18.10

How reproducible:

Steps to Reproduce:
1. Download a NAS4Free iso here  http://sourceforge.net/projects/nas4free/files/latest/download?source=files
2. Run: "guestfish -vx add-ro ./NAS4Free-x64-LiveCD- : run : inspect-os"

Actual results:
the list of devices is empty

Expected results:
a list of devices 

Additional info:
I have noticed that maybe the virtio interface may cause the problem (because it is not supported by default by NAS4Free installation, so I also attach the outputs with my NAS4Free qcow2 image which can load virtio drives. 
I attach 4 files, being 2 commands with 2 different images (downloaded ISO and virtio installed NAS4Free qcow2): 
-inspector: output of virt-inspector -a image_path
-guestfish: output of  guestfish -vx add-ro image_path : run : inspect-os

Maybe related with this bug: https://bugzilla.redhat.com/show_bug.cgi?id=541618
Comment 1 Richard W.M. Jones 2013-11-22 04:03:06 EST
As it's an ISO it's probably not related to bug 541618.
I think it's just lack of support for this image type, so
setting as an RFE.
Comment 2 Richard W.M. Jones 2013-12-09 11:47:06 EST
I believe this should be fixed by
in libguestfs >= 1.25.12

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