Shell Commands › Utilities › hvm2pv: Hardware Emulation to Paravirtualized appliance conversion utility › hvm2pv reference - Preparing for hvm2pv Conversion
hvm2pv reference - Preparing for hvm2pv Conversion
Perform the following pre-requisites to prepare the un-managed HVM for PV conversion. Perform this procedure before using the hvm2pv utility.
To prepare an HVM appliance for PV conversion
- Install the OS to a single ext3 partition without a swap partition.
- Install or verify the presence of openssh server.
- Install or verify the presence of iproute2.
- Install or verify the presence of libc6-i386 for 64-bit appliances,
- Verify that sshd is configured with PubkeyAuthentication=yes and PermitRootLogin=yes.
- Verify that dhclient is present in the appliance.
The following OS specific notes have been garnered from practical experience:
- Ubuntu variants:
- The default route may automatically be setup on the internal interface. If this occurs, set the default route to the external interface with:
- route del default
- route add default gw IP eth0 where IP is the IP address of the gateway on the external interface
- During the iso2class install of Ubuntu, after configuring the external interface:
- apt-get remove network-manager
- apt-get install openssh-server
- Debian 5.0.1 apt-get install openssh-server may not succeed in installing from the cd-rom device when the ISO image is mounted on the running OS because the ISO volume is not recognized as the cd-rom. To work around this:
- mv /media/cdrom0 /media/was_cdrom0
- ln -s /media/Debian\ 5.0.1\ i386\ Bin-1/ /media/cdrom0
- apt-get install openssh-server
- rm -f /media/cdrom0
- mv /media/was_cdrom0 /media/cdrom0