How to build a virt-p2v ISO in fedora ( F18/F17) using virt-p2v-image-builder ?

Install ‘virt-p2v-image-builder’ package in your fedora system. I installed in fedora 18 .

virt-p2v-image-builder-0.9.0-1.fc18.noarch

 

Now, run ‘virt-p2v-image-builder ‘ commmand as shown below

[cc]

[root]# virt-p2v-image-builder
Package ql2200-firmware is obsoleted by linux-firmware, trying to install linux-firmware-20130418-0.1.gitb584174.fc18.noarch instead
Package ql23xx-firmware is obsoleted by linux-firmware, trying to install linux-firmware-20130418-0.1.gitb584174.fc18.noarch instead
Package ql2100-firmware is obsoleted by linux-firmware, trying to install linux-firmware-20130418-0.1.gitb584174.fc18.noarch instead
warning: filesystem-3.1-2.fc18.i686: Header V3 RSA/SHA256 Signature, key ID de7f38bd: NOKEY
Installing: libgcc                       ##################### [  3/305]
Installing: setup                        ##################### [  4/305]
Installing: filesystem                   ##################### [  5/305]
Installing: xkeyboard-config             ##################### [  6/305]
Installing: hwdata                       ##################### [  7/305]
Installing: ca-certificates              ##################### [  8/305]
Installing: fontpackages-filesystem      ##################### [  9/305]
Installing: kbd-misc                     ##################### [ 10/305]
Installing: dejavu-fonts-common          ##################### [ 11/305]
Installing: basesystem                   ##################### [ 12/305]
Installing: bind-license                 ##################### [ 13/305]
Installing: ncurses-base                 ##################### [ 14/305]
Installing: tzdata                       ##################### [ 15/305]
Installing: libX11-common                ##################### [ 16/305]
Installing: linux-firmware               ##################### [ 17/305]
Installing: fedora-release               ##################### [ 18/305]
Installing: ql2500-firmware              ##################### [ 19/305]
Installing: ql2400-firmware              ##################### [ 20/305]
Installing: glibc-common                 ##################### [ 21/305]
Installing: nss-softokn-freebl           ##################### [ 22/305]
Installing: bash                         ##################### [ 23/305]
Installing: glibc                        ##################### [ 24/305]
Installing: zlib                         ##################### [ 25/305]
Installing: libstdc++                    ##################### [ 26/305]
Installing: ncurses-libs                 ##################### [ 27/305]
Installing: info                         ##################### [ 28/305]
Installing: nspr                         ##################### [ 29/305]
Installing: nss-util                     ##################### [ 30/305]
Installing: readline                     ##################### [ 31/305]
Installing: libsepol                     ##################### [ 32/305]
Installing: libattr                      ##################### [ 33/305]

 

****** outout has been truncated..
Installing: openssl-libs                 ##################### [165/305]
Installing: libssh2                      ##################### [166/305]
Installing: libcurl                      ##################### [167/305]
Installing: curl                         ##################### [168/305]
Installing: rpm-libs                     ##################### [169/305]
Installing: rpm                          ##################### [170/305]
Installing: fipscheck-lib                ##################### [171/305]
Installing: fipscheck                    ##################### [172/305]
Installing: bind-libs-lite               ##################### [173/305]
Installing: tcp_wrappers-libs            ##################### [174/305]
Installing: numactl-libs                 ##################### [175/305]
Installing: linux-atm-libs               ##################### [176/305]
Installing: iproute                      ##################### [177/305]
Installing: libyaml                      ##################### [178/305]
Installing: ruby-libs                    ##################### [179/305]
Installing: rubygem-json                 ##################### [180/305]
Installing: rubygem-io-console           ##################### [181/305]
Installing: rubygems                     ##################### [182/305]
Installing: rubygem-bigdecimal           ##################### [183/305]
Installing: ruby                         ##################### [184/305]
Installing: ruby-irb                     ##################### [185/305]
Installing: rubygem-rdoc                 ##################### [186/305]
Installing: rubygem-ruby-dbus            ##################### [187/305]
Installing: rubygem-glib2                ##################### [188/305]
Installing: rubygem-atk                  ##################### [189/305]
Installing: libunwind                    ##################### [190/305]
Installing: qrencode-libs                ##################### [191/305]
Installing: libdb4                       ##################### [192/305]
Installing: python-libs                  ##################### [193/305]
Installing: python                       ##################### [194/305]
Installing: python-decorator             ##################### [195/305]
Installing: dbus-python                  ##################### [196/305]
Installing: pygobject3-base              ##################### [197/305]
Installing: libselinux-python            ##################### [198/305]
Installing: python-slip                  ##################### [199/305]
*********
Installing: less                         ##################### [305/305]
Installing: vim-minimal                  ##################### [306/305]
Installing: strace                       ##################### [307/305]
W: Could not find ‘strip’. Not stripping the initramfs.

Firewall was disabled, unable to convert to zone.
No changes to default zone needed.
Note: Forwarding request to ‘systemctl enable NetworkManager.service’.
error reading information on service auditd: No such file or directory
Missing EFI file (/boot/efi/EFI/*/shim.efi)
Missing EFI file (/boot/efi/EFI/*/gcdx64.efi)
Missing EFI file (/boot/efi/EFI/*/fonts/unicode.pf2)
Failed to copy EFI files, no EFI Support will be included.
Missing shim.efi, skipping efiboot.img creation.
Starting Kickstart Post
Creating shadow files
Forcing C locale
Removing python source files
Customizing boot menu
Creating manifest../tmp/ks-script-tnnqzC: line 19: bzip2: command not found
.done
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using MANIF000.TXT;1 for  /manifest-deps.txt (manifest-dir.txt)
Using MANIF001.TXT;1 for  /manifest-dir.txt (manifest-srpm.txt)
Using MANIF002.TXT;1 for  /manifest-srpm.txt (manifest-owns.txt)
Using MANIF003.TXT;1 for  /manifest-owns.txt (manifest-rpm.txt)
Using MANIF004.TXT;1 for  /manifest-rpm.txt (manifest-file.txt)
Using MANIF005.TXT;1 for  /manifest-file.txt (manifest-license.txt)
Using LIVEC000.;1 for  /var/tmp/imgcreate-iH0Q6B/iso-pX9zcs/LiveOS/livecd-iso-to-disk (livecd-iso-to-pxeboot)
Size of boot image is 4 sectors -> No emulation
8.42% done, estimate finish Thu Jun  6 23:52:18 2013
16.80% done, estimate finish Thu Jun  6 23:52:18 2013
25.22% done, estimate finish Thu Jun  6 23:52:18 2013
33.60% done, estimate finish Thu Jun  6 23:52:18 2013
42.01% done, estimate finish Thu Jun  6 23:52:18 2013
50.40% done, estimate finish Thu Jun  6 23:52:18 2013
58.81% done, estimate finish Thu Jun  6 23:52:18 2013
67.20% done, estimate finish Thu Jun  6 23:52:18 2013
75.61% done, estimate finish Thu Jun  6 23:52:18 2013
83.99% done, estimate finish Thu Jun  6 23:52:18 2013
92.41% done, estimate finish Thu Jun  6 23:52:18 2013
Total translation table size: 2048
Total rockridge attributes bytes: 2141
Total directory bytes: 4096
Path table size(bytes): 40
Max brk space used 1c000
59531 extents written (116 MB)
Inserting md5sum into iso image…
md5 = 32d43a3c4a668e5b632bddb5c71330f2
Inserting fragment md5sums into iso image…
fragmd5 = b8435dd38e25d2c934b308d8235c79cb85cef6498fdb195224b98573a521
frags = 20
Setting supported flag to 0

[/cc]

 

Thats is , you have ‘Virt-P2V.iso’ in your current directory!!

[root@]# ls -lh Virt-P2V.iso
-rw-r–r–. 1 root root 117M Jun  6 23:52 Virt-P2V.iso
[root@]#

 

Now, you run a virt-p2v client using this newly created ISO !!!

 

Let me know if you come across any errors while doing this..

4 thoughts on “How to build a virt-p2v ISO in fedora ( F18/F17) using virt-p2v-image-builder ?”

  1. I’ve tried to do as you did.
    unfortunately :
    Installati: vim-minimal ##################### [291/290]
    Installati: strace ##################### [292/290]

    Error creating Live CD : Unable to run [‘/usr/bin/firewall-offline-cmd’, ‘–enabled’]!
    Any help would be appreciated !

    François

  2. I’m having the same issue as the other commenter described. I did disable selinux and reboot but got the same error. Here is my version of livecd-tools. I attempted to install the EPEL version instead but haven’t succeeded at that yet.

    [root@new-host-3 tmp]# rpm -qi livecd-tools
    Name        : livecd-tools
    Epoch       : 1
    Version     : 18.17
    Release     : 1.fc18
    Architecture: x86_64
    Install Date: Mon 13 Apr 2015 12:28:40 AM EDT
    Group       : System Environment/Base
    Size        : 145720
    License     : GPLv2
    Signature   : RSA/SHA256, Tue 16 Jul 2013 11:50:34 AM EDT, Key ID ff01125cde7f38bd
    Source RPM  : livecd-tools-18.17-1.fc18.src.rpm
    Build Date  : Mon 15 Jul 2013 03:03:14 PM EDT
    Build Host  : buildvm-10.phx2.fedoraproject.org
    Relocations : (not relocatable)
    Packager    : Fedora Project
    Vendor      : Fedora Project
    URL         : http://git.fedorahosted.org/git/livecd
    Summary     : Tools for building live CDs
    Description :
    Tools for generating live CDs on Fedora based systems including
    derived distributions such as RHEL, CentOS and others. See
    http://fedoraproject.org/wiki/FedoraLiveCD for more details.
    [root@new-host-3 tmp]#
    

Comments are closed.