Adding Xen Drivers for Guest VMs
When converting or replicating VMware virtual machines as Amazon instances, you can install Xen drivers on Linux guest VMs before backing up the VMs. This enables the required drivers to be in place when the Amazon instances are created, so that the Amazon instance can be started and users can access the instance.
Before You Begin
Log on to the Linux VM as a root user.
On Linux VMs running CentOS or RHEL, perform the following steps:
- To identify the current kernel version, run the following command:
- Go to the /boot folder:
- Take a backup of the .img file for the kernel.
- Open the editor to edit the dracut.conf configuration file:
- Uncomment the line that contains the string "add_drivers".
- Add the xen-blkfront and xen-netfrontdriver module names to the line with spaces separating each module. (Do not include the .ko suffix in the driver module name.)
- Return to the /boot folder:
- Recut the initramfs:
dracut -f -v
Last modified: 3/15/2019 3:19:16 PM