d. chroot changes the root directory to that specified in path and then runs the command.
e. Grub modifications.
f. Update the grub changes, incase if the PV instance kernel version is not the same as HVM instance.
g. Exit chroot: CTRL+D.
8. Stop the HVM instance.
9. Detach both the volumes: /dev/sda1 original root AND detach /dev/sdf PVM root.
10. Attach the PV root volume to HVM instance as /dev/sda1.
11. Start the HVM instance. Start the instance using AWS console. The HVM instance should now boot successfully and will be an exact copy of the old source PV instance (if you used the correct volume). Once you have confirmed that everything is working, the source instance can be stopped. Cleanup by removing all temporary volumes (source and destination).
*Note: If you are testing it out, then, you can open the public DNS of your instance in a new tab of your browser and you will see the default Ubuntu 14.04 Apache web page.
12. Create an AMI from the running HVM instance, this will be HVM virtualized.