当前位置:首页 > 虚拟机 > 正文

虚拟机设置为什么不能添加硬件(关于虚拟机硬件)

Why does it prompt that the hard disk is incompatible when adding a local disk to a virtual machine?
Adding a hard disk to a virtual machine
1. Turn off the VM, select VM settings, and add the hard disk there
2. Start VM system, if it is Windows />2. Check the added device through fdisk-l
3. If it is only used as one disk, use primary. To divide a hard disk into multiple partitions, use extends.
4. Format partition
mkfs-text3 device path
5. Mount directory
mount device path directory name

When configuring hardware for a virtual machine, can you only configure the hardware that the host already has?
Yes. You can configure virtual machine hardware and change almost any feature you selected when you created the virtual machine. You can view the existing hardware configuration and add or remove hardware. When configuring hardware for a virtual machine, you can only configure hardware that is already on the host.

Cannot connect to virtual device ide1:0 because there is no corresponding device on the host

ide1:0 is the optical drive of the virtual machine, and the configuration option is to connect to the physical drive. The reason for the error is because your The virtual host does not have a mirror system. It should be enough to delete the virtual machine's CD-ROM drive or change it to a CD-ROM image.

The method is as follows:

1. Click on the virtual machine, and then click on the page on the left Edit virtual machine settings.

2. Select CD/DVD (IDE) and change the option of using the physical drive to using the ISO image file below, select the location of the image file, and then restart the virtual drive. machine, that’s it.

Extended information:

Basic skills of virtual machines:

1. Increase the physical memory available to the virtual machine (be sure to turn off the virtual machine Set the memory on the machine again):

Memory (adjust the size yourself) -> OK

2. Tips for adding hardware devices (such as hard disk):

Hard disk—>Add—>Hard disk—>SCSI(S) (recommended)—>Create a new virtual disk—>Split the virtual disk into multiple files (M) ( Do not allocate all disk space immediately)—>Complete

3. Control switching skills:

When you need to switch operating system interfaces and find that the mouse and keyboard are in a certain operating system If it cannot be used, you must switch. The default switching method is to press the Ctrl+Alt key combination at the same time

4. Correct shutdown techniques execute the command: init0