Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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 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.
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?
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:
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.