LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-19-2015, 10:46 AM   #1
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Rep: Reputation: Disabled
Ubuntu cannot read USB hard drives.


I have two Ubuntu machines; one 12.04 which I use generally and the other 14.04 which is largely used as a file server for the three of us. Unfortunately the motherboard on my 12.04 machine has died so I am having to use the 14.04 for general use for the time being. I have found that this machine will not read the 2TB USB backup drive, but tries to open it with VLC.

What do I need to do.

Thank you,

Malcolm
 
Old 12-19-2015, 11:07 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,140
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Quote:
What do I need to do.
Maybe just right click it and pick open with file manager instead of vlc is all.

Does

Code:
sudo parted -l
show it as mounted?

Last edited by rokytnji; 12-19-2015 at 11:08 AM.
 
Old 12-19-2015, 11:21 AM   #3
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Original Poster
Rep: Reputation: Disabled
Cor, that was quick, thank you.

This is the report I get:

Model: ATA Hitachi HDS72105 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 496GB 496GB primary ext4 boot
2 496GB 500GB 4022MB extended
5 496GB 500GB 4022MB logical linux-swap(v1)


Model: Asmedia ASMT105 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 500GB 500GB primary ext4


oakridge@oakridge:~$ sudo parted -l
Model: ATA Hitachi HDS72105 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 496GB 496GB primary ext4 boot
2 496GB 500GB 4022MB extended
5 496GB 500GB 4022MB logical linux-swap(v1)


Model: Asmedia ASMT105 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 500GB 500GB primary ext4


Model: WD My Passport 0827 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs


The 'Asmedia' is a 500GB stabdard HD in a USB caddy and the 'My Passport' is a solid state drive.

Malcolm
 
Old 12-19-2015, 12:14 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,535

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
How are you trying to access the 2TB drive? Drive partitions are generally available to access under the /media/username directory. In your case, /media/oakridge where they will show by the UUID.
 
Old 12-19-2015, 12:52 PM   #5
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Original Poster
Rep: Reputation: Disabled
Hmmm.. Having been retired for 8 years I am clearly pretty rusty on command line code because 'cd..' does not work. I must do some revision.

Malcolm
 
Old 12-25-2015, 08:00 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by oakridge View Post
Hmmm.. Having been retired for 8 years I am clearly pretty rusty on command line code because 'cd..' does not work. I must do some revision.

Malcolm
If that's exactly what you're typing you are just missing the space after the 'cd'. Have to admit I've done that myself before now.
 
Old 12-25-2015, 08:30 AM   #7
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Original Poster
Rep: Reputation: Disabled
Thank you for your reply 273. Who is most sad you or me for writing here today?

What is very frustrating is I have been accessing this 2TB drive for backups for some time using 12.04, but 14.04 will not do exactly the same thing. It must have something to do with 14.04 rather than the drive methinks.

Anyway I can get as far /Media but as the response to 'cd oakridge' is 'bash: cd: oakridge: Permission denied' which I don't understand.

The real problem though is why doesn't something that worked perfectly well in 12.04 doensn't work now. I can open it with an old XP laptop.
 
Old 12-25-2015, 08:36 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I think you may have inadvertently set Ubuntu's automatic actions upon plugging in a USB drive to opening with VLC rather than mounting it and opening it in your browser. The fact you get a message about not having permission to cd to the directory suggests to me that it's there but it's set so that only root can access it which is odd but may possibly be explained by guess about the cause of your issues above. There may be something in your system settings to change that? If I can I'll install Ubuntu in a VM and have a look.
 
Old 12-25-2015, 08:45 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,535

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
Anyway I can get as far /Media but as the response to 'cd oakridge' is 'bash: cd: oakridge: Permission denied' which I don't understand.
First off, it needs to be media not Media. Maybe you just used uppercase here but to get to the drive from anywhere you would use:

Code:
cd /media/oakridge
Using the terminal,case sensitivity applies. In /media/oakridge you should see the partitions and the one you will be looking for is the one with a 16 character UUID with uppercase letters in it as that is the only windows partition on your drives (ntfs). The user directories under /media are owned by root in Ubuntu which you can verify by using this command:

Code:
ls -l /media/
You can change the owner to your user with the chown command
 
Old 12-25-2015, 09:01 AM   #10
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Original Poster
Rep: Reputation: Disabled
There will be a short pause for Christmas Dinner.

Thank you both for your replies.
 
Old 12-25-2015, 01:12 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by oakridge View Post
I have found that this machine will not read the 2TB USB backup drive, but tries to open it with VLC.
you have to change that first, most probably in the file manager, preferences for automount options or some such.
 
Old 12-25-2015, 01:40 PM   #12
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,140
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Hmmmm. Not Ubuntu but

Code:
harry@biker:~
$ cd /media
harry@biker:/media
$ ls -l
total 24
drwxr-xr-x 2 root  root  4096 Sep 19 19:11 cdrom
drwxr-xr-x 2 root  root  4096 Sep 19 19:11 cdrw
drwxr-xr-x 2 root  root  4096 Sep 19 19:11 dvd
drwxr-xr-x 2 root  root  4096 Sep 19 19:11 dvdrw
drwxr-xr-x 2 root  root  4096 Sep 19 19:11 sr0
drwxrwxrwx 1 harry harry 4096 Dec 25 13:28 TOSHIBA EXT
harry@biker:/media
$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=200755,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=821980k,mode=755)
/dev/sda2 on / type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=writeback)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1643940k)
/dev/sda1 on /home type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=writeback)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/sdb1 on /media/TOSHIBA EXT type fuseblk (rw,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
What I am doing is backing up a few things on my 1TB Toshiba usb external drive.

http://i.imgur.com/jg16qPf.jpg

Quote:
There will be a short pause for Christmas Dinner.
Cool. We started this morning with Tamales fried in eggs with cheese. Also biscuits and sausage gravy on the side. With strong Coffee for beverage and I am pigging out on eggnog also.

Enjoy dinner.
 
Old 12-25-2015, 01:44 PM   #13
oakridge
Member
 
Registered: Jan 2012
Location: Rotherham, England
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38

Original Poster
Rep: Reputation: Disabled
Yes, that is the problem. If it was a file then that can be changed, but it is a USB drive, and my DSLR, which is a bit more awkward.
 
Old 12-25-2015, 03:30 PM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I had to google it but I may have found where the settings are. If you go to System Settings then open Details there's a section for removable media in there. I couldn't tell you exactly which settings it is as in my Ubuntu VM I don't see anything that refers to USB storage but, at a guess, it may be thinking that your drive is a music player. Hopefully if you check the settings something will jump out at you as being wrong.
 
Old 12-28-2015, 10:37 AM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by oakridge View Post
Hmmm.. Having been retired for 8 years I am clearly pretty rusty on command line code because 'cd..' does not work. I must do some revision.

Malcolm
try
Code:
cd ..
instead notice space between cd and ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 13.04 doesn't recognize USB hard drives Tassadar Linux - Hardware 5 08-14-2013 01:24 AM
[SOLVED] External USB hard drives no longer mounting read/write -- now read only revbish Puppy 2 01-28-2013 05:44 PM
Ubuntu Feisty Automounts USB Hard Drives with Permissions for Root Only cdrom600 Ubuntu 4 05-14-2007 08:37 PM
Mandrake 10 install, can't read hard drives? Watch Mandriva 1 07-05-2004 05:40 PM
which distro can read 200GB hard drives? NoviceW Linux - Software 2 06-09-2004 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration