[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I read a Mac disk on Linux.



John Summerfield wrote:
I have an external (USB)  disk that has Linux files iin a Mac HFS+ disk.

It's connected to my IA32 peecee:

Parted sees it thus:
Echidna:~# parted /dev/sda
GNU Parted 1.4.24
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/sda
Information: The operating system thinks the geometry on /dev/sda is
30401/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) print
Disk geometry for /dev/sda: 0.000-238475.179 megabytes
Disk label type: mac
Minor    Start       End     Filesystem  Name                  Flags
1          0.000      0.031              Apple
3        128.031 238475.171              Apple_HFS_Untitled_2
(parted)

I've installed hfsplus and hfsutils but I don't see how to access it.

The peecee is running Woody.

Is there a way to access the data on the disk w/o attaching it to my powerbook?
(using the powerbook entails a visit to the site).

  did you try to mount the disk?

  from partition table it looks like this might work:

mount -t hfsplus /dev/sda3 /mnt/macDisk

you need mac partition support in kernel (looks like you have that otherwise parted would not recognize partitions, I guess) and hfsplus filesystem support in kernel. You also need support for USB mass storage (these appear as scsi disks, e.g. /dev/sda)

	erik



Reply to: