Solved

Mount USB drive on Ubuntu

Posted on 2010-11-08
3
1,190 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now