LinuxQuestions.org
Visit Jeremy's Blog.
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 04-22-2015, 05:04 PM   #1
TexT
LQ Newbie
 
Registered: Apr 2015
Posts: 17

Rep: Reputation: Disabled
Can't Mount USB


I am trying to mount my USB to store pictures and music. I am running Arch with i3 and using udisks to mount.

when I run lsblk it says my USB is located in /dev/sda

when I do udisks --mount /dev/sdb I get

Mount failed: Error mounting: mount: wrong fs type, bad option, bad superb lock on /dev/sdb, missing codepage or helper program, or other error.

Any ideas?
 
Old 04-22-2015, 05:10 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post the complete output of lsblk.
 
Old 04-22-2015, 05:19 PM   #3
TexT
LQ Newbie
 
Registered: Apr 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Please post the complete output of lsblk.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disks
sda1 8:1 0 20.8G 0 part /
sda2 8:2 0 150G 0 part /home
sda3 8:3 0 5G 0 part /boot
sdb 8:16 1 7.5G 0 disk
sr0 11:0 1 1024M 0 rom


sdb used to say KINGSTON and its UUID but ever since I ran udisks command it doesn't.
 
Old 04-22-2015, 05:23 PM   #4
fu9ar
Member
 
Registered: Oct 2014
Location: Cyberinternetspace
Distribution: Slackware, mostly
Posts: 49

Rep: Reputation: 2
Generally, you need to mount something like /dev/sdb1 rather than /dev/sdb. /dev/sdb is the physical disk, while the partitions are the entries that are numbered.

Have you taken a look with parted with the argument /dev/sdb to make sure that you have the disk partitioned?

Last edited by fu9ar; 04-22-2015 at 05:24 PM.
 
Old 04-22-2015, 05:26 PM   #5
TexT
LQ Newbie
 
Registered: Apr 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fu9ar View Post
Generally, you need to mount something like /dev/sdb1 rather than /dev/sdb. /dev/sdb is the physical disk, while the partitions are the entries that are numbered.

Have you taken a look with parted to make sure that you have the disk partitioned?
When I installed Arch I made partions sda1,2,and 3. When the usb is not in sdb is not on lsblk. What do I need to do with gparted to make sure sdb is partitioned? I'm not sure I understand your question :/
 
Old 04-22-2015, 05:31 PM   #6
fu9ar
Member
 
Registered: Oct 2014
Location: Cyberinternetspace
Distribution: Slackware, mostly
Posts: 49

Rep: Reputation: 2
If there isn't a partition with a filesystem on the USB drive, you won't be able to use it.

The physical drive is listed as a block device, but you can't mount a disk even though you can use something like dd to write a disk image to the physical device itself. You can only mount a filesystem that resides on a partition on a disk.

Last edited by fu9ar; 04-22-2015 at 05:33 PM.
 
Old 04-22-2015, 05:35 PM   #7
TexT
LQ Newbie
 
Registered: Apr 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fu9ar View Post
If there isn't a partition with a filesystem on the USB drive, you won't be able to use it.

The physical drive is listed as a block device, but you can't mount a disk even though you can use something like dd to write a disk image to the physical device itself. You can only mount a filesystem that resides on a partition on a disk.
So what do I need to do on gparted to make the USB usable?
 
Old 04-22-2015, 05:37 PM   #8
fu9ar
Member
 
Registered: Oct 2014
Location: Cyberinternetspace
Distribution: Slackware, mostly
Posts: 49

Rep: Reputation: 2
Make a partition. Then, format the partition with a file system. And you should be good to go.

You might want to use gparted, parted, cfdisk or fdisk. I don't know exactly what you have available on your system. gparted is the most GUI option. I'd show you what it looked like, but I don't have it installed
Attached Thumbnails
Click image for larger version

Name:	cfdisk.png
Views:	14
Size:	7.9 KB
ID:	18208   Click image for larger version

Name:	fdisk.png
Views:	20
Size:	11.7 KB
ID:	18209   Click image for larger version

Name:	parted.png
Views:	13
Size:	10.9 KB
ID:	18210  

Last edited by fu9ar; 04-22-2015 at 05:46 PM.
 
Old 04-22-2015, 05:53 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Technically partitioning a drive is not a requirement. You can format the entire Drive if desired. I have a few imation USB drives that are not partitioned. If the drive does not have any data that needs to be recovered just use gparted to create a partition and format as desired.
 
Old 04-23-2015, 07:01 AM   #10
TexT
LQ Newbie
 
Registered: Apr 2015
Posts: 17

Original Poster
Rep: Reputation: Disabled
Still confused on exactly what to do, I thought udisks was suppose to do all the work and maybe it just has a simple error that can be fixed?
 
Old 04-23-2015, 08:00 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
udisks does all the work on mounting a filesystem. If there is no filesystem udisks can not work. You will have to create a partition and format it with a filesystem of your choice to enable udisks to do the work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

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

All times are GMT -5. The time now is 08:13 AM.

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