LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-19-2017, 11:36 AM   #16
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.
Run hfsprogs: hfsprogs is already the newest version (332.25-11).
 
Old 10-19-2017, 11:49 AM   #17
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
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.

Sorry, Mas OS and window. How I can back up USB is i cannot see it ?
 
Old 10-19-2017, 11:59 AM   #18
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
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.

Sorry, Mas OS and window. How I can back up USB is i cannot see it ?
I meant you have copied any files off of your USB drive that you wish to keep. (or already have another copy of them, on a different drive/medium/disk)

Otherwise you will have to decide weather to try and mount your existing partition(s) or lose what ever is on them and delete them, and then re-format the partitions, on your USB drive.

Last edited by jsbjsb001; 10-19-2017 at 12:07 PM. Reason: addition
 
Old 10-19-2017, 12:21 PM   #19
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Otherwise you will have to decide weather to try and mount your existing partition(s) or lose what ever is on them and delete them, and then re-format the partitions, on your USB drive.[/QUOTE]

I do not have copies nowhere. I am trying my best to mount.
 
Old 10-19-2017, 12:21 PM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,493

Rep: Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107
I suspect your issue might be due to core storage.

https://superuser.com/questions/9614...-on-arch-linux
https://superuser.com/questions/6576...ing-hfs-drives

As suggested it might be easier to use FAT32 instead of HFS+ if you need to transfer files back an forth between the two operating systems via "sneaker net" as long as the files are less then 4GB.

Assuming you have not corrupted the drive and it is still usable on the Mac can you copy the files back to the Mac?
Once you partitioned/reformatted the drive to FAT32 you can copy the files back and then they should be accessible on Mint.

Last edited by michaelk; 10-19-2017 at 12:39 PM.
 
1 members found this post helpful.
Old 10-19-2017, 12:27 PM   #21
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
I do not have copies nowhere. I am trying my best to mount.
Try typing the following in a terminal as the root user;

Code:
mkdir /mnt/myusbdrive
mount /dev/sdb2 /mnt/myusbdrive
I totally agree with michaelk about "core storage" (as I suggested earlier on).

Let us know how it goes...
 
Old 10-19-2017, 07:04 PM   #22
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Mac OX sees the USB directory and 30 MB size but no files in. Winsdows do not see it at all. So, doesn't is mean that the drive got corrupted?
 
Old 10-19-2017, 07:07 PM   #23
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I suspect your issue might be due to core storage.

https://superuser.com/questions/9614...-on-arch-linux
https://superuser.com/questions/6576...ing-hfs-drives

As suggested it might be easier to use FAT32 instead of HFS+ if you need to transfer files back an forth between the two operating systems via "sneaker net" as long as the files are less then 4GB.

Assuming you have not corrupted the drive and it is still usable on the Mac can you copy the files back to the Mac?
Once you partitioned/reformatted the drive to FAT32 you can copy the files back and then they should be accessible on Mint.
Michaelk and jsbjsb001
I Looked into this link
https://superuser.com/questions/6576...ing-hfs-drives
and have a question, How to find my own hard drive image name to follow the instruction ?
 
Old 10-20-2017, 12:34 AM   #24
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
Michaelk and jsbjsb001
I Looked into this link
https://superuser.com/questions/6576...ing-hfs-drives
and have a question, How to find my own hard drive image name to follow the instruction ?
I think your referring to this:

Quote:
First get the partition's information from Parted, in bytes; you need the Start and the Size numbers. Here is an example of Parted session (as you can guess, my hard drive image is /mnt/macbook.dd):
Code:
$ /sbin/parted /mnt/macbook.dd
WARNING: You are not superuser.  Watch out for permissions.
GNU Parted 2.3
Using /mnt/macbook.dd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit
Unit?  [compact]? b
(parted) p
Model:  (file)
Disk /mnt/macbook.dd: 160041885696B
Sector size (logical/physical): 512B/512B
Partition Table: gpt
If so, that is where someone has used the dd command to take an "image" of their hard drive. From my understanding, in your case, we are only talking about a USB drive, formatted with the HFS+ file system. Therefore the above would not apply to your situation, unless you have used the dd command to take an image of your hard drive's partition(s).

In relation to your USB drive, it sounds like it has been corrupted. Therefore unless you can recover said files from it, that you wish to keep, using data recovery software of some description, you may have to accept that said files, have been lost for good.

To my way of thinking, you can take one of two options:

1) Try and recover the files (if they can be recovered) using data recovery software.

2) Accept the loss and re-partition and then re-format your USB drive, with FAT32 file system (or a similar file system).

What do you want to do?
 
Old 10-23-2017, 09:33 AM   #25
mmm123
Member
 
Registered: Oct 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
[QUOTE=jsbjsb001;5771706]Try typing the following in a terminal as the root user;

Code:
mkdir /mnt/myusbdrive
mount /dev/sdb2 /mnt/myusbdrive
run it. Results: user@user-Latitude-E6440 ~ $ mkdir /mnt/myusbdrive
mkdir: cannot create directory ‘/mnt/myusbdrive’: Permission denied
user@user-Latitude-E6440 ~ $ mount /dev/sdb2 /mnt/myusbdrive
mount: only root can do that
 
Old 10-23-2017, 09:41 AM   #26
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=mmm123;5772952]
Quote:
Originally Posted by jsbjsb001 View Post
Try typing the following in a terminal as the root user;

Code:
mkdir /mnt/myusbdrive
mount /dev/sdb2 /mnt/myusbdrive
run it. Results: user@user-Latitude-E6440 ~ $ mkdir /mnt/myusbdrive
mkdir: cannot create directory ‘/mnt/myusbdrive’: Permission denied
user@user-Latitude-E6440 ~ $ mount /dev/sdb2 /mnt/myusbdrive
mount: only root can do that
While that's because you are not running the commands as root; given your Mac is having trouble mounting your USB drive, there's probably no point in trying what I suggested there (sorry).

Have you made a decision re post #24 ?
 
  


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 03:25 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