VMware Cloud Community
Keith111
Contributor
Contributor

Problem of guest OS not seeing USB drive

Hey, sorry to revive an old thread but I'm trying to do this exact thing and I'm having problems getting this to work using ESXi 6.7 (VM version 14) with a vm hosted on vSphere.

I've edited the vmx file as listed above to add a usb drive:

  • ehci.present = "TRUE"
  • ehci:0.present = "TRUE"
  • ehci:0.deviceType = "disk"
  • ehci:0.fileName = "genericdiskname.vmdk"

And upon boot it added:

  • ehci.pciSlotNumber = "34"

But then I also noticed it added:

  • usb_xhci:4.present = "TRUE"
  • usb_xhci:4.deviceType = "hid"
  • usb_xhci:4.port = "4"
  • usb_xhci:4.parent = "-1"

When the machine hit windows I was unable to see the drives. Is there anything else needed to make this work?

Reply
0 Kudos
4 Replies
petermie
Enthusiast
Enthusiast

Did you actually create "genericdiskname.vmdk" first?

Reply
0 Kudos
Keith111
Contributor
Contributor

Yeah, the vmdk exists. I created it and then formatted it NTFS with the VMs diskmgmt console and mounted it as a regular disk drive first to make sure the image was functional.

I then just moved it to ehci.

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Branched to new thread (from a 2 year old thread) in order to move from Workstation Pro to ESXi


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
sammymammy
Contributor
Contributor

Just go to Disk Management and add a drive letter to the newly added drive

Reply
0 Kudos