[fedora-virt] P2V and grub bootloader
Richard W.M. Jones
rjones at redhat.com
Fri May 1 08:34:23 UTC 2009
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
The following command should work _in theory_, but last time I
tried, it didn't because of the F11 freeze:
# yum --enablerepo=rawhide install febootstrap fakechroot fakeroot qemu
so instead you need to get the packages from
http://koji.fedoraproject.org (type the package name in the box at the
top right).
You could also try:
rpmbuild -ta libguestfs-1.0.17.tar.gz
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
More information about the Fedora-virt
mailing list