Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Ubuntu 10.10 via VMWare under Windows 7. I have followed the procedure to install the USB stick. It is now connected to the host.

However, I don't know how to access the content of the stick. My Google research indicates that this may be a mounting issue. I read somewhere that I should check /proc/bus/usb, but the usb directory does not exist in /proc/bus. Unfortunately, I am not a Linux expert at this.

The ultimate issue I am trying to solve is the one describe here. I am trying to use vi to create ~/.vmware/config, but it is virtually impossible to use vi, since I don't have access to the arrow keys (chicken & egg problem). I have created the config file on my usb stick and want to copy it where it should be.

Thanks!

share|improve this question

I just had the same question and found the solution on the VMWare forum. This is a different solution from sharing folders between the host and guest OS as described above. It's an alternative if you don't want to use folder sharing.

Essentially, you need to find your USB drive under Virtual Machine -> Removable Devices, and click connect. Alternatively you can do this by clicking on the USB drive's icon on the bottom of the VMWare window. This works with VMWare 4.0.4.

VMWare window running Ubuntu 11.10 server

After "connecting" the drive, then you have to mount it with the standard mount command in Linux.

share|improve this answer

Have you tried simply drag'n'droping the file from Windows to Ubuntu?

share|improve this answer
    
I have installed the server version of Ubuntu which does not come with a GUI... – JVerstry Jan 13 '11 at 15:23
up vote 0 down vote accepted

I have found a solution to tranfert the config file: sharing folders between Vista 7 and Ubuntu inside VMware (see here for the procedure).

I still have not found a solution for my USB stick issue, but... I can move forward!

share|improve this answer

the ultimate issue I am trying to solve is the one describe here. I am trying to use vi to create ~/.vmware/config, but it is virtually impossible to use vi, since I don't have access to the arrow keys

You can use an editor which does not use the arrow key. One classic example of that is vi which uses h, l,j and k for navigation in command mode.

I have created the config file on my USB stick and want to copy it where it should be.

For that you want to 'plug the USB pendrive' into the guest machine.

At the moment is is plugged into the host (windows 7) and you can only access it on the host. To mount it in a VM you want to disconnect it from the win7 host and connect it to your Ubuntu VM. There is an option for this is the menus under removable devices.

After that you can mount it as usual in Ubuntu.

share|improve this answer

First check with command : sudo fdsik -l which device file is your USB (sda,sdc,sdb)

Then use this commands to mount it somewhere:

  1. mkdir /media/usb (creates directory where usb will be mounted)

  2. mount /dev/sdb1 /media/usb

Then if you want to copy some content from usb, you can do simply:

cp /media/usb/file.txt /path/to/dest/

And befre removing the USB drive, unmount it:

umount -l /media/usb

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .