Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apple Partition Scheme - any way to mount it?
Date: Thu, 20 Oct 2005 00:01:45
Message-Id: 5bdc1c8b0510191657m66771af5xb809698cdcf7849c@mail.gmail.com
In Reply to: Re: [gentoo-user] Apple Partition Scheme - any way to mount it? by Martin Ullrich
1 On 10/19/05, Martin Ullrich <martin.andreas.ullrich@×××××.com> wrote:
2 > As far as I know, MacOS should be able to read/write ext2/3
3 > filesystems even on dirves with "PC-style" partition tables. And there
4 > are some ext2/3 drivers for Windows too. If you just do all the
5 > formatting with Linux or Windows (you'll need some special software
6 > for creating ext2/3 partitions with Windows - PowerQuest
7 > PartitionMagic has always worked for my purposes; so it would be
8 > better to use Linux).
9 > I don't know whether it'll work or not, but I think it's worth a try ;-).
10 >
11 > Martin
12
13 Martin,
14 Here's what I've learned, mostly from the Unix section on Apple's
15 OS X forums:
16
17 1) Apple does not support ext2 or ext3. To the best of their knowledge
18 everyone tells me that this has always been the case.
19
20 2) There is a Sourceforge project that provides an ext2 driver for OS
21 X 10.3 but it doesn't work with 10.4, the current version of OS X.
22
23 http://sourceforge.net/projects/ext2fsx
24
25 3) It is not possible, at least with Applie's GUI called 'Disk
26 Utility' to use the PC Partition Scheme and format a 1394 drive with
27 anything other than FAT32.
28
29 4) It is possible using Disk Utility to use the Apple Partition Scheme
30 and format a 1394 drive with a number of Apple HFSP formats.
31
32 5) It is possible to get Linux to recognise the above formats if you
33 enable the Apple Partition option in the kernel.
34
35 6) I have not yet determined if it is possible to mount the HFS+
36 partition, but I'm told it is by one fellow in the Apple forums.
37
38 7) One downside of using Apple's Disk Utility when doing FAT32
39 partitions is that fdisk complains that partitions do not end on
40 cylinder boundaries. I do not know if this is really a problem but I
41 do not like the warning.
42
43 8) Worst of all, so far hpmount, part of the hfsplustools pckage says
44 it won't mount the HFS+ partitions created by the Mac.
45
46 9) There is something called mac-fdisk but it won't build on my AMD64
47 platform. It does build on IA32 but I don't have 1394 in that box.
48
49 I own a copy of System Commander for Windows which includes
50 Partition Commander but it won't work with 1394 drives. Only EIDE.
51
52 So, some headway, but still no real good results.
53
54 Cheers,
55 Mark
56
57 >
58 >
59 > 2005/10/18, Mark Knecht <markknecht@×××××.com>:
60 > > Hi,
61 > > I'm playing around with some external 1394 drives. The purpose is
62 > > to find the best setup to allow a given drive to be mounted on my
63 > > Gentoo boxes, my last Win XP system and my new Mac Mini. Obviously not
64 > > all file system types are going to work everywhere. So far it seems
65 > > that only FAT32 is supported by all 3, but I cannot use FAT32, AFAICT,
66 > > due to path length name restrictions for instance.
67 > >
68 > > Anyway, I've emerged the HFS+ tools package on Gentoo, but it turns
69 > > out that Apple's GUI will only put HFS+ on a 1394 drive that uses the
70 > > 'Apple Partition Scheme', and when I plug this drive into my Gentoo
71 > > box it tells me that it doesn't recognize the partition format.
72 > >
73 > > In my kernel config I have included both:
74 > >
75 > > <*> Apple Macintosh file system support (EXPERIMENTAL)
76 > > <*> Apple Extended HFS file system support
77 > >
78 > > thinking this would get me there, but when I plug the drive in all I
79 > > see is this in dmesg:
80 > >
81 > > scsi5 : SCSI emulation for IEEE-1394 SBP-2 Devices
82 > > ieee1394: sbp2: Logged into SBP-2 device
83 > > ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
84 > > ieee1394: sbp2: aborting sbp2 command
85 > > scsi5 : destination target 0, lun 0
86 > > command: cdb[0]=0x12: 12 00 00 00 24 00
87 > > Vendor: IC35L080 Model: AVVA07-0 Rev:
88 > > Type: Direct-Access-RBC ANSI SCSI revision: 04
89 > > SCSI device sdc: 160836480 512-byte hdwr sectors (82348 MB)
90 > > sdc: asking for cache data failed
91 > > sdc: assuming drive cache: write through
92 > > SCSI device sdc: 160836480 512-byte hdwr sectors (82348 MB)
93 > > sdc: asking for cache data failed
94 > > sdc: assuming drive cache: write through
95 > > sdc: unknown partition table
96 > > Attached scsi disk sdc at scsi5, channel 0, id 0, lun 0
97 > > mark@lightning ~ $
98 > >
99 > > and when I try to run fdisk I get this:
100 > >
101 > > lightning ~ # fdisk -l /dev/sdc
102 > >
103 > > Disk /dev/sdc: 82.3 GB, 82348277760 bytes
104 > > 255 heads, 63 sectors/track, 10011 cylinders
105 > > Units = cylinders of 16065 * 512 = 8225280 bytes
106 > >
107 > > Disk /dev/sdc doesn't contain a valid partition table
108 > > lightning ~ #
109 > >
110 > > Does anyone know the trick to make Apple's HFS+ mount on Gentoo? Do
111 > > I have to format the drive on Gentoo and then use it on the Mac? Can
112 > > Apple's Partition Scheme be used at all under Linux?
113 > >
114 > > Thanks,
115 > > Mark
116 > >
117 > > --
118 > > gentoo-user@g.o mailing list
119 > >
120 > >
121 >
122 > --
123 > gentoo-user@g.o mailing list
124 >
125 >
126
127 --
128 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Apple Partition Scheme - any way to mount it? Nick Rout <nick@×××××××.nz>
Re: [gentoo-user] Apple Partition Scheme - any way to mount it? Neil Bothwick <neil@××××××××××.uk>