Solved

Mount USB drive on Ubuntu

Posted on 2010-11-08
3
1,186 Views
Last Modified: 2012-06-21
Hi Guys,

I run Ubuntu 10.04 on Oracle VirtualBox.

I'm trying to mount an external USB drive.
This drive contains a 3rd party (linux based) application, that requires specific software to view on Windows (The CD has been lost and we can't get another from the vendor).

I've configured VirtualBox to recognise the USB device.

When I run lsusb I get the following in /var/log/messages

Nov  9 07:40:31 ubuntu-server kernel: [  657.040304] usb 1-1: new high speed USB device using ehci_hcd and address 22
Nov  9 07:40:32 ubuntu-server kernel: [  657.640425] usb 1-1: new high speed USB device using ehci_hcd and address 23
Nov  9 07:40:32 ubuntu-server kernel: [  658.232294] usb 1-1: new high speed USB device using ehci_hcd and address 24
Nov  9 07:40:33 ubuntu-server kernel: [  658.576247] usb 1-1: new high speed USB device using ehci_hcd and address 25
Nov  9 07:41:59 ubuntu-server kernel: [  744.600510] __ratelimit: 6 callbacks suppressed
Nov  9 07:41:59 ubuntu-server kernel: [  744.601990] atkbd.c: Spurious NAK on isa0060/serio0. Some program might be trying access hardware directly.


But the drive isn't picked up:

root@ubuntu-server:~# df -kh
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              29G  3.7G   24G  14% /
none                  750M  236K  750M   1% /dev
none                  754M  100K  754M   1% /dev/shm
none                  754M  132K  754M   1% /var/run
none                  754M     0  754M   0% /var/lock
none                  754M     0  754M   0% /lib/init/rw
root@ubuntu-server:~#

Is there a way to scan for new hardware (like kudzu or anaconda) in Ubuntu?

Thank you
0
Comment
Question by:m0nk3yza
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
karelrambousek earned 500 total points
ID: 34090898
The drive will not be mounted automatically, try fdisk /dev/sdb if not working, try /dev/sdc, etc. You should get information about the drive. Use [p] key to get information about the drive. As soon as you found the desired drive try to mount it manually mount /yourpoint /dev/sd[x]1. Don't forget to create a /yourpoint directory or use one already existing.
0
 
LVL 1

Author Comment

by:m0nk3yza
ID: 34092915
Under /dev/ there is only sda (no other sd* or hd* files).
Even when I power cycle the external harddrive, it only generates an entry in /var/log/messages
Oracle VirtualBox picks it up under: USB Device Filters.

Ubuntu auto-mounts my other USB drives... just this one that's not picked up.
I realise it could be an error with the drive/enclosure.

Is there a tool/cmd/script to scan for new hardware ?
0
 
LVL 1

Author Closing Comment

by:m0nk3yza
ID: 34142608
Although the suggestion didn't work in this case, it's still relevant when mounting external USB storage.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now