zl程序教程

您现在的位置是:首页 >  系统

当前栏目

hyper-v上的虚拟机安装linux LC后CDROM无法使用

Linux安装虚拟机 无法 Hyper 使用 LC
2023-09-11 14:19:52 时间

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.