Rich, this wasn't operational. First of all, the image on my version of RHEV-H is kept in other directory. So I did that: 1. $ export FEBOOTSTRAP_KERNEL=/dev/.initramfs/live/vmlinuz0 2. $ echo $FEBOOTSTRAP_KERNEL /dev/.initramfs/live/vmlinuz0 3. $ libguestfs-test-tool ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ ===== Test starts here ===== FEBOOTSTRAP_KERNEL=/dev/.initramfs/live/vmlinuz0 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin library version: 1.16.34rhel=6,release=2.el6 guestfs_get_append: (null) guestfs_get_attach_method: appliance guestfs_get_autosync: 1 guestfs_get_direct: 0 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_qemu: /usr/libexec/qemu-kvm guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64 supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d febootstrap-supermin-helper: using environment variable(s) FEBOOTSTRAP_* to select kernel /dev/.initramfs/live/vmlinuz0 febootstrap-supermin-helper: cannot guess module path. Set $FEBOOTSTRAP_MODULES to the modules directory corresponding to kernel /dev/.initramfs/live/vmlinuz0, or unset $FEBOOTSTRAP_KERNEL to autoselect a kernel. libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs) libguestfs-test-tool: failed to launch appliance libguestfs: closing guestfs handle 0xf04260 (state 0) Виталий Исаев Инженер-программист Группа разработки и внедрения ПСЗИ Департамент информационной безопасности ОАО «Финтех» -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Friday, November 22, 2013 4:30 PM To: Исаев Виталий Анатольевич Cc: Fabian Deutsch; libguestfs@redhat.com; Itamar Heim (iheim@redhat.com) Subject: Re: HA: [Libguestfs] Accessing iSCSI disc images from the RHEV Manager using libguestfs On Fri, Nov 22, 2013 at 12:04:51PM +0000, Исаев Виталий Анатольевич wrote:
Thanks to all. Symbolic link to vmlinuz image is a solution to my problem:
Actually we came up with another possible way. Not tested, but if it works, then it has the advantage of not needing root or any permanent changes to the filesystem: (1) Delete the symlink in /boot. (2) Set this environment variable instead: export FEBOOTSTRAP_KERNEL=/dev/.initramfs/live/isolinux/vmlinuz0 (3) Run libguestfs-test-tool to see if it works. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW