VMware Communities
jchando
Contributor
Contributor
Jump to solution

NO PCIe/PCI slots available when attempting to add a NIC to a Workstation BIOS vm

I recently virtualized a Windows 10 20H2 disk that had been set up as a GPT disk with an UEFI partition.  After virtualizatzing the disk, i followed an EXCELLENT article that was able to change the GPT disk to a BIOS booting disk  WITH NO DATA LOSS here: https://infra.engineer/windows/68-windows-server-convert-uefi-to-bios-without-data-loss-for-free

The only problem I am having now is that I cannot add a NIC to the machine when the machine is on; it results in a error that says

Cannot assign a PCI slot to 'ethernet0'. There are no more hot-pluggable PCI slots available in the virtual machine. Remove some devices from the virtual machine configuration and try again.

The above error is then followed by a second error that says

Device 'ethernet0' could not be hot-added.  No free hot-pluggable PCI(e) slot is available.

I know that there is a misconfiguration in the VMX file and I have made different attempts to fix it without success.  I have zipped both the VMX file and the error log.  Can anyone take a look or help resolve the error?  Many thanks in advance.

Reply
0 Kudos
1 Solution

Accepted Solutions
jchando
Contributor
Contributor
Jump to solution

Workstation 15 permits the hot-adding of a NIC.  What fixed the issue was the following link that provided entries in the VMX file:

https://community.netapp.com/t5/Simulator-Discussions/issues-about-Simulator-Clustered-ONTAP-8-2-1RC...

pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"

I had to convert from EFI to MBR because at work we will be converting an ESXi cluster running on hyperconverged Nutanix hardware to running natively on the Nutanix hypervisor.  For the conversion to be successful with every VM (and we have a few hundred,) any VM machine that boots  from a UEFI partition must be changed to boot through a MBR.  We only have about 15 VMs that are affected but we needed to come up with a way to convert them without losing any data.

View solution in original post

Reply
0 Kudos
5 Replies
ender_
Expert
Expert
Jump to solution

Is this about VMWare Workstation or ESXi? I don't think Workstation lets you hot-add network cards.

(also, why did you convert from GPT to MBR? Both Workstation and ESXi support UEFI boot)

Reply
0 Kudos
jchando
Contributor
Contributor
Jump to solution

Workstation 15 permits the hot-adding of a NIC.  What fixed the issue was the following link that provided entries in the VMX file:

https://community.netapp.com/t5/Simulator-Discussions/issues-about-Simulator-Clustered-ONTAP-8-2-1RC...

pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"

I had to convert from EFI to MBR because at work we will be converting an ESXi cluster running on hyperconverged Nutanix hardware to running natively on the Nutanix hypervisor.  For the conversion to be successful with every VM (and we have a few hundred,) any VM machine that boots  from a UEFI partition must be changed to boot through a MBR.  We only have about 15 VMs that are affected but we needed to come up with a way to convert them without losing any data.

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Hi

we need the complete vmx-file to help you.
At the very least we need all the lines which specify PCIports

plus the virtualDev lines  for ethernet* and scsi*

 

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
jchando
Contributor
Contributor
Jump to solution

Thanks very much for your reply but this has already been resolved.

Reply
0 Kudos
imliv
Contributor
Contributor
Jump to solution

Here is the vmx file. I have changed the extension to .csv so you can open in Note.

Reply
0 Kudos