14 Dec
2012
14 Dec
'12
5:07 p.m.
The error message: hivex_close: do_hivex_close: you must call 'hivex-open' first to initialize the hivex handle This is the process flow: g = guestfs_create (); guestfs_add_drive_opts (g, diskFile,GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",-1); guestfs_launch (g) char **roots = guestfs_inspect_os (g); guestfs_inspect_os returns NULL, guestfs_last_error(g) returns message above. And guestfs_last_errno(g) returns 0. However this same code works fine with a Server2008 image and an XP image. I copied the verbose output to pastebin: http://pastebin.com/U9Jb6JwH Suggestions?