Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38
Rep:
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.
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.
Distribution: Mandrake/Mandriva for about 8 years and Ubuntu, 2012 onwards
Posts: 38
Original Poster
Rep:
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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.
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
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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.