Virt-p2v-make-disk
Jump to navigation
Jump to search
virt-p2v-make-disk
Build the virt-p2v disk using virt-builder
http://manpages.ubuntu.com/manpages/bionic/man1/virt-p2v-make-disk.1.html
virt-p2v-make-disk -o /dev/sdAAAA virt-p2v-make-disk -o /dev/sdAAAA -v ubuntu-18.04
virt-p2v-make-disk -o /dev/sdAAAA [ 2.1] Downloading: http://libguestfs.org/download/builder/debian-9.xz [ 2.6] Planning how to build this image [ 2.6] Uncompressing [ 7.7] Resizing (using virt-resize) to expand the disk to 14.7G [1300.5] Opening the new disk [1302.8] Setting a random seed virt-builder: warning: random seed could not be set for this type of guest [1302.9] Setting the machine ID in /etc/machine-id [1302.9] Uploading: /tmp/tmp.OStDOjmHys/policy-rc.d to /usr/sbin/policy-rc.d [1302.9] Updating packages [1505.8] Installing packages: libpcre3 libxml2 libgtk2.0-0 libdbus-1-3 openssh-client qemu-utils debianutils vim-tiny open-iscsi xorg xserver-xorg-video-all fonts-dejavu metacity network-manager network-manager-gnome dbus-x11 net-tools curl ethtool gawk lsscsi pciutils usbutils util-linux xterm less hwdata hdparm smartmontools [1988.3] Uploading: /usr//share/virt-p2v/issue to /etc/issue [1988.3] Uploading: /usr//share/virt-p2v/issue to /etc/issue.net [1988.3] Making directory: /usr/bin [1988.3] Uploading: /tmp/tmp.OStDOjmHys/virt-p2v to /usr/bin/virt-p2v [1988.3] Changing permissions of /usr/bin/virt-p2v to 0755 [1988.3] Uploading: /usr//share/virt-p2v/launch-virt-p2v to /usr/bin/ [1988.3] Changing permissions of /usr/bin/launch-virt-p2v to 0755 [1988.3] Uploading: /usr//share/virt-p2v/p2v.service to /etc/systemd/system/ [1988.3] Making directory: /etc/systemd/system/multi-user.target.wants [1988.3] Linking: /etc/systemd/system/multi-user.target.wants/p2v.service -> /etc/systemd/system/p2v.service [1988.3] Editing: /lib/systemd/system/[email protected] [1988.3] Editing: /etc/systemd/logind.conf [1988.3] Deleting: /usr/sbin/policy-rc.d [1988.3] Setting passwords [1990.5] Finishing off Output file: /dev/sda Output size: 14.7G Output format: raw Total usable space: 14.4G Free space: 12.0G (83%)
export prefix=/usr/ virt-p2v-make-disk -o /dev/sda virt-builder: warning: output device (/dev/sda1) is a partition. If you are writing to a USB key or external drive then you probably need to write to the whole device, not to a partition. If this warning is wrong then you can disable it with --no-warn-if-partition
export prefix=/usr/ virt-p2v-make-disk -o /dev/sda1 virt-builder: warning: output device (/dev/sda1) is a partition. If you are writing to a USB key or external drive then you probably need to write to the whole device, not to a partition. If this warning is wrong then you can disable it with --no-warn-if-partition
virt-p2v-make-disk -o /dev/sda virt-p2v-make-disk: cannot find /lib/x86_64-linux-gnu/virt-p2v/virt-p2v.xz
Related commands
See also
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM libguestfs-tools
:virt-sysprep
,virt-clone
,virt-builder
,virt-customize
,virt-resize
,virt-rescue
,virt-sparsify
,guestmount
,guestfish
,virt-inspector
,virt-cat
,virt-log
,virt-df
,virt-ls
,virt-filesystems
,virt-list-filesystems
,virt-edit
- Clonezilla,
ocs-sr
Advertising: