How to Mount a USB Drive for VMWare ESX Server


vmware-how-to-mount-a-usb-drive
I’m starting to get a lot of demand for server virtualization and am using VMWare to do it.

One snag that took a bit to overcome was trying to copy a file from a USB stick to the VMWare ESX 3.5 server via the console.

When I plugged in the USB stick, the server recognized it and displayed a bunch of verbiage on the screen. Unfortunately, it doesn’t return to the command prompt when finished, you have to press [Enter]. Wasted a few minutes waiting before I figured that out.

One of the things it will tell you is what device name it has given the USB drive. In this case it was “/dev/sdd” (no quotes).

So in order to mount the drive I had to create a mount point

mkdir /mnt/usbkey

“usbkey” was arbitrary on my part.

Then, I had to figure out that I needed to append a “1″ to the device name to actually mount it:

mount /dev/sdd1 /mnt/usbkey -t vfat

the “-t vfat” I found via a google search. I was then able to copy the file with the cp command.

Linux is pretty intuitive, eh?

Leave a Comment

Previous post:

Next post: