Manual page with centralised documentation.
[virt-p2v.git] / README
diff --git a/README b/README
index 7886193..d03ce0a 100644 (file)
--- a/README
+++ b/README
@@ -3,12 +3,12 @@ $Id$
 virt-p2v : P2V ("physical to virtual") migration tool
 ----------------------------------------------------------------------
 
-Written by:
-  Richard W.M. Jones <rjones@redhat.com>
+Written by Richard W.M. Jones <rjones@redhat.com>
 
-Copyright (C) 2007 Red Hat Inc.
+Copyright (C) 2007-2008 Red Hat Inc.
+
+       http://et.redhat.com/~rjones/virt-p2v/
 
-         http://et.redhat.com/~rjones/virt-p2v/
 
 Binaries
 ----------------------------------------------------------------------
@@ -16,67 +16,35 @@ Binaries
 Binaries are available from the website (live CD images which can be
 burned directly to a CD and booted on the p2v candidate machine).
 
-http://et.redhat.com/~rjones/virt-p2v/
-
-Building
-----------------------------------------------------------------------
-
-Requirements:
- * livecd-creator (on Fedora the package is 'livecd-tools')
- * qemu (only for testing)
+       http://et.redhat.com/~rjones/virt-p2v/download.html
 
-(1) Edit Makefile - there is some general configuration at the
-    top which you may want to change.
-
-(2) 'make build' will build an ISO image called virt-p2v-$VERSION.iso
-
-(3) Burn the image on to a CD using standard tools.
 
-Booting from USB device
+Usage
 ----------------------------------------------------------------------
 
-If you wish to boot from a USB keydrive, use the livecd-iso-to-disk
-tool:
+Please read the manual page:
 
-  livecd-iso-to-disk virt-p2v-$VERSION.iso /dev/sdX1
+       man virt-p2v
+or     make man; nroff -man virt-p2v.1 | less
+or     http://et.redhat.com/~rjones/virt-p2v/virt-p2v.1.html
 
-(Replace /dev/sdX1 with the actual USB device).
 
-In my experience I also had to set up a suitable MBR:
-
-  cat /usr/lib/syslinux/mbr.bin > /dev/sdX
-
-Running
+Building
 ----------------------------------------------------------------------
 
-Boot the candidate machine from the live CD or USB keydrive.
-
-You will need to have network access to another machine where it will
-save the virtual disk images.  That machine must have ssh access (sshd
-service running).  Note that the target machine is usually the Xen
-host, but it doesn't need to be: you could copy the images to a
-staging machine, and later copy them over to the Xen host.
-
-Note that the live CD doesn't modify any data on the candidate
-machine.
+Requirements:
 
-Answer the questions.  There is a tutorial and explanation of some of
-the questions on the website which you may wish to follow:
-http://et.redhat.com/~rjones/virt-p2v/
+ * livecd-creator (on Fedora the package is 'livecd-tools')
+ * ocaml, ocaml-extlib, ocaml-pcre, ocaml-xml-light (all in Fedora)
+ * qemu and/or KVM (only for testing)
 
-While the live CD is booted a shell is available on other virtual
-consoles.  Go to a virtual console using [ALT] [F2] and log in as root
-with no password.
+(1) Edit Makefile - there is some general configuration at the
+    top which you may want to change.
 
-If it works, the result will be a configuration file and disk images
-for each block device (hard disk) from the candidate machine, which
-should boot directly or with the minimum of changes.
+(2) 'make build' will build an ISO image called virt-p2v-$VERSION.iso
 
-Booting P2V candidate under Xen
-----------------------------------------------------------------------
+(3) Burn the image on to a CD using standard tools.
 
-  # virsh define p2v-foo-2008MMDDHHMM.conf
-  # virsh start foo
 
 Testing
 ----------------------------------------------------------------------