Bug 809361 - inspection doesn't recognize Fedora 18 (grub2 + GPT)
inspection doesn't recognize Fedora 18 (grub2 + GPT)
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks: 809401
  Show dependency treegraph
 
Reported: 2012-04-03 04:07 EDT by Richard W.M. Jones
Modified: 2012-04-03 05:27 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 809401 (view as bug list)
Environment:
Last Closed: 2012-04-03 05:25:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2012-04-03 04:07:28 EDT
Description of problem:

Inspection doesn't recognize Fedora 18 guests, probably
because of grub2 or GPT.

><fs> run
><fs> list-filesystems 
/dev/vda1: unknown
/dev/vda2: ext4
/dev/vg_f18rawhidex64/lv_root: ext4
/dev/vg_f18rawhidex64/lv_swap: swap
><fs> file /dev/vda1 
\0 "RV\276\033\201\3509\001^\277\364\201f\213-\203}\010"
><fs> file /dev/vda2 
Linux rev 1.0 ext4 filesystem data, UUID=9fcd9921-b5c0-4b67-83e4-cb18c3dba140 (extents) (huge files)
><fs> inspect-os 
><fs> set-trace 1
><fs> inspect-os 
libguestfs: trace: inspect_os
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: list_devices
libguestfs: trace: list_devices = ["/dev/vda"]
libguestfs: trace: vfs_type "/dev/vda"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/vda" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: list_partitions
libguestfs: trace: list_partitions = ["/dev/vda1", "/dev/vda2", "/dev/vda3"]
libguestfs: trace: vfs_type "/dev/vda1"
libguestfs: trace: vfs_type = ""
libguestfs: trace: mount_ro "/dev/vda1" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: vfs_type "/dev/vda2"
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/vda2" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/bin"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/share"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_file "/grub/menu.lst"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/grub/grub.conf"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/hurd/console"
libguestfs: trace: is_file = 0
libguestfs: trace: is_dir "/log"
libguestfs: trace: is_dir = 0
libguestfs: trace: case_sensitive_path "/windows"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/winnt"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win32"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/System Volume Information"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/System Volume Information"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/FDOS"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: vfs_type "/dev/vda3"
libguestfs: trace: vfs_type = "LVM2_member"
libguestfs: trace: mount_ro "/dev/vda3" "/"
libguestfs: trace: mount_ro = -1 (error)
libguestfs: trace: list_md_devices
libguestfs: trace: list_md_devices = []
libguestfs: trace: available "lvm2"
libguestfs: trace: available = 0
libguestfs: trace: lvs
libguestfs: trace: lvs = ["/dev/vg_f18rawhidex64/lv_root", "/dev/vg_f18rawhidex64/lv_swap"]
libguestfs: trace: vfs_type "/dev/vg_f18rawhidex64/lv_root"
libguestfs: trace: vfs_type = "ext4"
libguestfs: trace: mount_ro "/dev/vg_f18rawhidex64/lv_root" "/"
libguestfs: trace: mount_ro = 0
libguestfs: trace: is_dir "/etc"
libguestfs: trace: is_dir = 1
libguestfs: trace: is_dir "/bin"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_dir "/share"
libguestfs: trace: is_dir = 0
libguestfs: trace: is_file "/grub/menu.lst"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/grub/grub.conf"
libguestfs: trace: is_file = 0
libguestfs: trace: is_file "/hurd/console"
libguestfs: trace: is_file = 0
libguestfs: trace: is_dir "/log"
libguestfs: trace: is_dir = 0
libguestfs: trace: case_sensitive_path "/windows"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/winnt"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win32"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/win"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/System Volume Information"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/System Volume Information"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: case_sensitive_path "/FDOS"
libguestfs: trace: case_sensitive_path = NULL (error)
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: vfs_type "/dev/vg_f18rawhidex64/lv_swap"
libguestfs: trace: vfs_type = "swap"
libguestfs: trace: inspect_os = []

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

1.17.24
Comment 1 Richard W.M. Jones 2012-04-03 05:25:27 EDT
Fixed upstream in commit 5c8a241e5cd119f436a050ddbbf7ea73f83ff8e4.

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