Consider the following scenario:
· Red Hat or CentOS is installed in a Hyper-V virtual machine.
· The Linux Integration Services are installed in the virtual machine.
· After the Linux Integration Services are installed, the CD-ROM (/dev/cdrom) is no longer accessible in the virtual machine.
· If the Linux Integration Services are uninstalled, the CD-ROM is accessible in the virtual machine.
This issue occurs because the Hyper-V Linux Integration Services unloads the ata_piix driver in order to provide an optimized IDE driver (hv_blkvsc) for the root file system. To get access to the CD-ROM device, the Linux Integration Services must be uninstalled.
To work around this issue, mount the ISO in the virtual machine. To mount an ISO file in the virtual machine, the following command must be run before executing the mount command:
# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko
Alternatively, copy the ISO file into the virtual machine and mount it using the -o loop option.
For more information about Hyper-V, visit the following Microsoft website: http://technet.microsoft.com/en-us/library/cc753637(WS.10).aspx