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 |
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.
|
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 |
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? |
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. |
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 |
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 |
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? |
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?
|
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. |
All times are GMT -5. The time now is 10:53 PM. |