LinuxQuestions.org
Help answer threads with 0 replies.
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-06-2015, 04:28 AM   #1
Sibgha
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Rep: Reputation: Disabled
Unhappy I tried to access my Macintosh HD and i got this error msg:


Error mounting /dev/sda2 at /media/mint/Macintosh HD1: Command-line `mount -t "hfsplus" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda2" "/media/mint/Macintosh HD1"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Please can anyone help me with this? i really need to recover my data.
 
Old 12-06-2015, 06:03 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I understand that you disconnected the HDD from your Mac and connected it to a Mint system. Correct?

Can you open a terminal window, provoke the errror again, then follow the suggestion and type dmesg | tail in the terminal? Most likely there will be a helpful message related to the problem.
 
1 members found this post helpful.
Old 12-06-2015, 07:59 AM   #3
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
Did you install the HFS tools for your distribution?
 
1 members found this post helpful.
Old 12-06-2015, 08:36 AM   #4
Sibgha
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for responding, i'm working on same Macbook, i just made a bootable usb for Linux and trying to recuse my data from internal HD by this. And Thank God i did it. Yes i was struggling with the terminal and i got the solution.

Solution that worked for me:

So first of all, to be able to read mac drives in Ubuntu you need hfsprogs.

sudo apt-get install hfsprogs

Then i fixed my drive by this:

Run the following command (replacing XY with the correct device) to fix the drive:

sudo fsck.hfsplus -f /dev/sdXY

P.S now i'm facing an issue to move data to my external HD, these permissions are messing up. Can i copy/paste without terminal ? i install nautilus too but cant copy from my Ex HD.

Last edited by Sibgha; 12-06-2015 at 11:19 AM.
 
Old 12-06-2015, 10:59 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
P.S now i'm facing an issue to move data to my external HD, these permissions are messing up. Can i copy/paste without terminal ? i install nautilus too but cant copy from my Ex HD.
You're posting conflicting information. Are you trying to copy TO your external hard drive or FROM it. Where on the hard drive (internal or external are you trying to copy to? If you are logged in as a normal user, you would almost always need root/admin permissions to copy TO a location outside your /home/user directory.
 
Old 12-06-2015, 11:18 AM   #6
Sibgha
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sorry for the ambiguity. I was trying to recover data from my internal HD to external.The mistake i was doing is that i was not opening the destination as root. Now all is working good.And i'm able to move my data to external HD.

Thanks guys.
 
  


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
error msg while compiling kernel 'grubby fatal error no suitable templates found' suj Linux - Server 1 08-12-2010 09:33 PM
How to configure newly installed Macintosh access to Linux shared drives mrmandms Linux - Networking 4 09-08-2005 05:04 PM
Sound Error FC2 2.6.5 error msg inside xemous Linux - Hardware 0 06-19-2004 10:15 PM
slooze error: validateInputs(); $msg = $mySlooze->renderPage($vars); echo $msg; ?> rioguia Linux - Software 0 01-26-2003 08:59 PM

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

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