[fedora-virt] P2V and grub bootloader
Dennis J.
dennisml at conversis.de
Fri May 1 12:34:22 UTC 2009
On 05/01/2009 10:34 AM, Richard W.M. Jones wrote:
> On Fri, May 01, 2009 at 02:42:27AM +0200, Dennis J. wrote:
>> Ah, I didn't know that libguestfs actually uses its own vm.
>> I just tried compiling libguestfs from git on f10 but it doesn't seem to
>> like that at all:
>>
>> ...
>> mv initramfs.fedora-10.i686.img initramfs.fedora-10.i686.img.bak
>> mv: cannot stat `initramfs.fedora-10.i686.img': No such file or directory
>> make[2]: [initramfs/fakeroot.log] Error 1 (ignored)
>> mv vmlinuz.fedora-10.i686 vmlinuz.fedora-10.i686.bak
>> mv: cannot stat `vmlinuz.fedora-10.i686': No such file or directory
>> make[2]: [initramfs/fakeroot.log] Error 1 (ignored)
>> if ! bash ./make-initramfs.sh; then rm -f initramfs/fakeroot.log; exit 1; fi
>> run_yum: line 1: 19874 Segmentation fault yum -y -c
>> "$tmpdir"/febootstrap.repo --disablerepo=* --enablerepo=febootstrap
>> --noplugins --nogpgcheck --installroot="$target" install "$@"
>> chroot: cannot run command `chmod': No such file or directory
>> make[2]: *** [initramfs/fakeroot.log] Error 1
>> make[2]: Leaving directory `/home/dennis/Downloads/source/libguestfs-1.0.16'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/dennis/Downloads/source/libguestfs-1.0.16'
>> make: *** [all] Error 2
>
> While it's possible to get libguestfs working on F10, it's not
> our minimum target, which is F11.
>
> In particular on F10 you will need to get the F11/F12 versions of the
> following packages:
>
> febootstrap>= 1.7
> fakechroot>= 2.9-22
> fakeroot>= 1.12.2
> qemu>= 0.10-7
I've rebuilt all of those and installed them:
febootstrap-1.7-1.fc10.1.noarch
fakechroot-2.9-22.fc10.i386
fakeroot-1.12.2-21.fc10.i386
qemu-0.10-15.fc10.i386
Also I'm using the brand-new libguestfs-1.0.18-1.fc11.src.rpm to try to
rebuild it for f10 but I still get fatal errors:
Lots of these:
/usr/bin/pod2html: inspector/virt-inspector.pl: unknown pod directive
'encoding' in paragraph 5. ignoring.
/usr/bin/pod2html: inspector/virt-inspector.pl: cannot resolve
L<guestfish(1)> in paragraph 44.
/usr/bin/pod2html: inspector/virt-inspector.pl: cannot resolve
L<guestfish(1)> in paragraph 69.
/usr/bin/pod2html: inspector/virt-inspector.pl: cannot resolve
L<guestfs(3)> in paragraph 139.
...
Then I see this:
malloc: 4103338240: Cannot allocate memory
DB_ENV->set_lk_detect: unknown deadlock detection mode specified
DB_ENV->txn_stat_print interface requires an environment configured for the
transaction subsystem
run_yum: line 1: 5326 Segmentation fault yum -y -c
"$tmpdir"/febootstrap.repo --disablerepo=* --enablerepo=febootstrap
--noplugins --nogpgcheck --installroot="$target" install "$@"
and finally this:
chroot: cannot run command `chmod': No such file or directory
Regards,
Dennis
More information about the Fedora-virt
mailing list