LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-22-2008, 12:13 PM   #1
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Question Problem Mounting mac File system


I am trying to mount a mac hard drive from the Slax 6.0.7 CD. Need to recover some files from the hard drive.

The CD has the hfs and hfsplus modules built and i loaded them with modprobe from the command prompt. I can see the partion in parted and it shows up there as a hfs+ partion.

But when i go to mount the drive it with the following command

mount -t hfsplus /dev/sda1 /mnt/mac

I get the following error
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error

When i do a dmesg | tail i get the following
hfs: unable to find HFS+ superblock

Am i doing something wrong. Do i not have a module loaded?

Any help would be great.
Thanks
 
Old 09-22-2008, 12:19 PM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
try just using the mount command with out the -t option. It is smart and may be able to pick the right fs type to mount it as.
 
Old 09-22-2008, 12:26 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You may be missing the hardware driver for the specific drive model that you are trying to mount. See if fdisk can read the partition table on the mac drive:

fdisk /dev/sda

------------------
Steve Stites
 
Old 09-22-2008, 12:32 PM   #4
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
fdisk gives me a waring that the device is GPT (GUID Partition Table) and to try running GNU Parted. But it still displays that there is 1 partion sda1 with a System type EFI GPT.

I run GNU parted and print out the partition table and it shoulds be a fat32 partion at sda and a hfs+ partion at sda1.

Am i missing something?
 
Old 09-22-2008, 01:00 PM   #5
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
It looks like the data part of the drive is not being see in Slax 6.0.7. I booted with Knoppix and it shows the hard drive as follows
/dev/sda
/dev/sda1
/dev/sda2 (data)

So i am wondering why i can't see the data partion on the Slax CD. Any suggestion as to why it wouldn't see the data partion of the drive?

the slax cd is uing the 2.6.24.5 kernel.
 
Old 09-22-2008, 03:06 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
In your original post you said that you were trying to mount /dev/sda1. In your third post you said that the data you want is in /dev/sda2. In your second post you said that /dev/sda is fat32 and /dev/sda1 is hfs+.

Actually /dev/sda is a device. It is not a partition.

You want to mount a partition, either /dev/sda1 or /dev/sda2. If partition /dev/sda1 is formated as fat32 then that would explain why you cannot mount it as a hfs or hfs+ file system.

If the partition /dev/sda2 is really the partition which is formatted hfs or hfs+ then I suggest that you start over with one of these this commands:

mount -t hfsplus /dev/sda2 /mnt/mac

mount -t hfs /dev/sda2 /mnt/mac

-------------------
Steve Stites
 
Old 09-22-2008, 03:12 PM   #7
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
Sorry if i was unclear. What i was trying to say was that Slax 6.0.7 does not see the /dev/sda2. When i boot into Slax i only see /dev/sda and /dev/sda1. I don't see a /dev/sda2. When i boot into Knoppix i can see both the /dev/sda1 and /dev/sda2.

Is there a reason that the Slax would not see the /dev/sda2 parition on the device?
Would there be a boot reason for the kernel not to see the /dev/sda2 partition on the drive?

Hope that cleared my problem up some.

Thanks
 
Old 09-23-2008, 08:00 AM   #8
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
Bump, I am still looking for a solution to this. Anyone have any ideas as to why Slax 6.0.7 (running kernel 2.6.24.5) doesn't give the data partition of a Macbook hard drive a device name. I am only getting /dev/sda and /dev/sda1 when Slax boots up. When i boot in Knoppix 5.1.1 (running i think 2.6.19) i get /dev/sda, /dev/sda1 (boot sector i think), and /dev/sda2 which is the data.

Any help would be great. I am missing a udev rule or something?
 
Old 09-23-2008, 12:07 PM   #9
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
It now looks like the Slax OS is not finding the second partition of data on the Mac drive. Is there something i can do to make the boot processes find this second partition?
 
Old 09-24-2008, 03:12 PM   #10
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
Figured it out. had to compile in the EFI partition support for it to work. Had to add the following config items

CONFIG_FB_EFI=y
CONFIG_EFI_PARITION=y
CONFIG_EFI=y

After that it works great.
 
  


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
problem in mounting ntfs file system after update in fc7 deyash Fedora 1 08-23-2007 11:32 AM
Really weird Mac system File?: _VUC69~7 Jared Lewis Linux - Networking 1 02-07-2006 05:33 AM
Mounting file system in a file with mount Denes Programming 6 11-11-2005 12:04 PM
mounting a binary file thats not on any file system!?!!? aXoneX Linux - General 7 10-26-2004 02:21 AM
mounting problem in local file system svyshna Linux - Newbie 0 08-03-2003 01:00 PM

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

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