Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mount USB drive on Ubuntu

Posted on 2010-11-08
3
Medium Priority
?
1,207 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 1500 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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 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…
Suggested Courses
Course of the Month15 days, 11 hours left to enroll

580 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