LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2017, 04:36 PM   #1
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Rep: Reputation: Disabled
Question Unable to mount USB drive to Linux Mint 18.1 Cinnamon 64-bit


Unable to mount USB drive to Linux Mint 18.1 Cinnamon 64-bit with message:"Error mounting /dev/sdb2 at /media/user/Untitled: Command-line `mount -t "hfsplus" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2" "/media/user/Untitled"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so."

Steps took:
1) run "dmesg | tail" with results:
user@user-Latitude-E6440 ~ $ dmesg | tail
[ 4733.919696] hfsplus: invalid secondary volume header
[ 4733.919707] hfsplus: unable to find HFS+ superblock
[ 4759.002340] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.003355] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.004389] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.005550] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.006446] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.007479] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 4759.017418] psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 - driver resynced.
[ 6025.264075] perf interrupt took too long (2548 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
user@user-Latitude-E6440 ~ $ "

Do not know what to do next. Any suggestions please.
Q 2: What is the USB name in case i need to reformat it? "sdb2 at /media/user/Untitled:"?


also run $ dmesg ( highlighted in Red as they show up in red in report". See result in attached file.
Attached Files
File Type: txt dmesg results.txt (84.2 KB, 45 views)

Last edited by mmm123; 10-16-2017 at 05:17 PM.
 
Old 10-16-2017, 04:44 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,842

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Try installing hfsprogs first:
Code:
sudo apt-get install hfsprogs
And see if you can then mount your flash drive. IIRC Mint does not install hfsprogs by default and you can't mount Apple's hfs filesystem without it.
 
Old 10-16-2017, 05:09 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,673
Blog Entries: 37

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
Member response

Hi,

Welcome to LQ!

I suggest that you look at https://www.linuxquestions.org/quest...#faq_lqwelcome so you can compose a useful post/thread that will helps us to help you.

For future use, I suggest that you consider reading or learning via the following links,
Quote:
Just a few links to aid you to gaining some understanding.

Hope this helps.
Have fun & enjoy!
 
Old 10-16-2017, 06:00 PM   #4
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kilgoretrout View Post
Try installing hfsprogs first:
Code:
sudo apt-get install hfsprogs
And see if you can then mount your flash drive. IIRC Mint does not install hfsprogs by default and you can't mount Apple's hfs filesystem without it.
Thank you. Runned hfsprogs:
Reading package lists... Done
Building dependency tree
Reading state information... Done
hfsprogs is already the newest version (332.25-11).
0 upgraded, 0 newly installed, 0 to remove and 513 not upgraded.
 
Old 10-16-2017, 06:08 PM   #5
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thx for the tip
Distribution and version you're using: Linux Mint 18.1 64-bit Cinnamon 3.2.6, Kernel 4.4.0-53-generic
Hardware details: Dell laptop Intel Core i5-4310 M CPU @ 2.7 GHz x2
Exact error messages is in the original treat in "".
 
Old 10-17-2017, 04:34 AM   #6
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,177

Rep: Reputation: Disabled
Check out
Code:
man mount
for the correct incantation.
 
Old 10-17-2017, 09:33 PM   #7
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by fatmac View Post
Check out
Code:
man mount
for the correct incantation.
Thx for this tip. Tryed "man mount". It give me a description of sustem administration. Remember. I am newbie amd need an chewed andwer ( more details).
 
Old 10-18-2017, 08:05 AM   #8
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Hi mmm123,

In your original post, I am interpreting that there may be a file system integrity problem on your USB drive ... HFSPLUS is indeed installed and it seems to have an issue with what is calls the "secondary volume header" ... I am unfamiliar with HFS, so I am not sure of the exact nature of the problem, but suffice to say, it looks like a file system integrity issue. Can you connect and use the drive properly on a MacOS computer ?

If you have no important data on the drive, it might indeed be a good idea to reformat it and choose a more appropriate file system for the systems with which you will be using it (ex. linux, MacOS, Windows ...). Give us a few more details on this and we can then advise you.

If you DO have important data on the drive, best would be to back it up on whatever computer you have that you are still able to use it with before attempting anything else. Also, it would be good to do this as soon as possible in case you have a hardware failure getting worse ...

Get back to us and we'll help you as best we can.

Cheers !
 
Old 10-19-2017, 03:58 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
I was having a look at your question and was thinking along the same lines as Rickkkk. I done some research and it seems that the first message below, may suggest that the system, cannot determine the correct size of the partition and/or the "offset" of it.

Another possible cause could be the default partition type Mac OS uses. This is called "Core Storage" which is a layer between the disk partition and the actual file system. The problem from what I'm understanding, is that, the system maybe trying to mount the partition itself, rather than the actual "logical volume". (which is what you actually need to mount)

I think the above in all likelihood may well be your problem here.

You can read more about "Core Storage" here: https://en.wikipedia.org/wiki/Core_Storage

Code:
[ 4733.919696] hfsplus: invalid secondary volume header
The following message may also be a result of the second possible cause, related to "Core Storage" detailed above. This possibility may explain the following message.

Code:
[ 4733.919707] hfsplus: unable to find HFS+ superblock
Try specifying the actual device node, for the logical volume itself.

To give you a better picture (excuse the pun), have a look at this: http://blog.fosketts.net/wp-content/...e-Could-Do.jpg

Let us know how you go...
 
1 members found this post helpful.
Old 10-19-2017, 10:53 AM   #10
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
deleted double posting

Last edited by mmm123; 10-19-2017 at 12:16 PM. Reason: double posting
 
Old 10-19-2017, 11:12 AM   #11
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
Quote:
Originally Posted by mmm123 View Post
...Do not want to reformat entire hard drive.
Also i attemped Gparted/device/attempt data rescue on /dev/sda5 and got Libparted error message that " the partition's data region doesn't occupy the entire partition" what does it mean?
Step 2. Try to run fsck / dev/sdb. "Permission denied while trying to open /dev/sbd. You musr have r/w access to the file system or be root".
I give up. Please give me step-by step instruction how to reformat USB. And what format?
Can you run the following command from a terminal window, so that we can see exactly what partitions we are looking at here;

Code:
lsblk
The "the partition's data region doesn't occupy the entire partition" error might suggest the first possibility I mentioned in post #9.

The "You must have r/w access to the file system or be root" would mean you are not running it as the root user.

Also, do you plan on using this USB drive with any other system, other than Linux? (in relation to the type of file system, you should format it with)

Last edited by jsbjsb001; 10-19-2017 at 11:21 AM. Reason: typo
 
Old 10-19-2017, 11:13 AM   #12
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Hi mmm123,

In your original post, I am interpreting that there may be a file system integrity problem on your USB drive ... HFSPLUS is indeed installed and it seems to have an issue with what is calls the "secondary volume header" ... I am unfamiliar with HFS, so I am not sure of the exact nature of the problem, but suffice to say, it looks like a file system integrity issue. Can you connect and use the drive properly on a MacOS computer ?

If you have no important data on the drive, it might indeed be a good idea to reformat it and choose a more appropriate file system for the systems with which you will be using it (ex. linux, MacOS, Windows ...). Give us a few more details on this and we can then advise you.

If you DO have important data on the drive, best would be to back it up on whatever computer you have that you are still able to use it with before attempting anything else. Also, it would be good to do this as soon as possible in case you have a hardware failure getting worse ...

Get back to us and we'll help you as best we can.

Cheers !
Hi Rickkkk; Thank you for looking into my issue. I do not have enough knowledge to fix the " second volume heater", i may as well reformatted. As i was looking for into how reformat usb article, it suggest to use GParted to format to fat 32 format. As i was looking into my option on screen, i understood that i do not know what i am reformating. There was two options: /dev/sda1 and /dev/sda2 with /dev/sda5 under it. Is my USB reads as /dev/sdb with 2 subdirectories? From the error message i am getting when plugging my USB in, my understanding it is /dev/sda2? Do not want to reformat entire hard drive.
Also i attemped Gparted/device/attempt data rescue on /dev/sda5 and got Libparted error message that " the partition's data region doesn't occupy the entire partition" what does it mean?
Step 2. Try to run fsck / dev/sdb. "Permission denied while trying to open /dev/sbd. You musr have r/w access to the file system or be root".
I give up. Please give me step-by step instruction how to reformat USB. And what format?
 
Old 10-19-2017, 11:18 AM   #13
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
@mmm123, you have double-posted your reply, you might what to look at post #11
 
Old 10-19-2017, 11:22 AM   #14
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Can you run the following command from a terminal window, so that we can see exactly what partitions we are looking at here;

Code:
lsblk
The "the partition's data region doesn't occupy the entire partition" error might suggest the first possibly I mentioned in post #9.

The "You must have r/w access to the file system or be root" would mean you are not running it as the root user.

Also, do you plan on using this USB drive with any other system, other than Linux? (in relation to the type of file system, you should format it with)
Hello jsbjsb001; thank you for stopping by. I like to use usb with window and OX. I run lsblk. See two device sda and sdb. See photo attached.
Attached Thumbnails
Click image for larger version

Name:	IMG_3729.jpg
Views:	138
Size:	265.2 KB
ID:	26130  
 
Old 10-19-2017, 11:31 AM   #15
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
Quote:
Originally Posted by mmm123 View Post
Hello jsbjsb001; thank you for stopping by. I like to use usb with window and OX. I run lsblk. See two device sda and sdb. See photo attached.
By "window" and "OX", I take it you mean Windows and Mac OS?

Now /dev/sda looks like your hard drive and not your USB drive, so don't operate on that one. On the other hand /dev/sdb looks like your USB drive and the /dev/sdb1 partition is only 31.5K big, which strongly suggests that this may well be the source of your problems.

As long as you have backed up anything you wish to keep from your USB drive, it would be safe to delete both /dev/sdb1 and /dev/sdb2 and create a new partition on your USB drive, to replace them.

I would suggest you use the FAT32 file system, if you plan on using your USB drive with other systems, as well as Linux. But remember FAT32 has a 4GB file size limit.
 
  


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
[SOLVED] Virtualbox 5.1.0 working (slowly) in Linux Mint 18 Cinnamon 64-bit - but.... stardustdk Linux - Virtualization and Cloud 8 08-09-2016 06:46 PM
[SOLVED] How to install ath10k driver on Linux Mint 17.2 cinnamon 64-bit? davdo91 Linux - Newbie 58 01-09-2016 01:48 AM
Should I continue with Linux Mint 16 Cinnamon 64 bit or kishor joshi Linux - Newbie 3 06-16-2014 08:53 PM
[SOLVED] Linux Mint 16 Cinnamon 64 bit on Asus Vanguard B85: no USB keyboard and mouse gewe Linux - Hardware 5 02-16-2014 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 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