Mounting HFS+ partitions in YDL
Robert E. Terry
yellowdog-newbie@lists.terrasoftsolutions.com
Mon, 13 Oct 2003 15:58:16 -0400
Early work with Troy at YDL had me address this problem with
a new version of "pdisk" that would fix an install problem which
made all of the Mac OS invisible (for a while). With a partition map
that looks like:
Partition map (with 512 byte blocks) on '/dev/hdb'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 54 @ 64
3: Apple_Driver43*Macintosh 74 @ 118
4: Apple_Driver_ATA*Macintosh 54 @ 192
5: Apple_Driver_ATA*Macintosh 74 @ 246
6: Apple_FWDriver Macintosh 200 @ 320
7: Apple_Driver_IOKit Macintosh 512 @ 520
8: Apple_Patches Patch Partition 512 @ 1032
9: Apple_Bootstrap untitled 20481 @ 1544 ( 10.0M)
10: Apple_HFS "Scratch IV" 51281642 @ 74196482 ( 24.5G)
11: Apple_HFS "OS X" 30823342 @ 125478124 ( 14.7G)
12: Apple_UNIX_SVR2 swap 524289 @ 22025 (256.0M)
13: Apple_UNIX_SVR2 untitled 73650168 @ 546314 ( 35.1G)
14: Apple_Free Extra 22 @ 156301466
and a yaboot.conf file that looks like:
boot=/dev/hdb9
device=/pci@f2000000/pci-bridge@d/mac-io@7/ata-4@1f000/disk@1:
init-message="Welcome to Yellow Dog Linux!\nHit <TAB> for boot options.\n\n"
partition=13
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
default=linux
image=/boot/vmlinux-2.4.20-8d
label=linux
root=/dev/hdb13
read-only
initrd=/boot/initrd-2.4.20-8d.img
macos=/dev/hda9
macosx=/dev/hdb11
defaultos=macos
delay=10
enablecdboot
I have no trouble mounting Mac partitions on YDL, except for the minor
annoyance that only "Root" can actually read them! A normal user can
look but not enter the directory.
Cheers,
Bob Terry
--
"Life, for ever dying to be born afresh, for ever young and eager,
will presently stand upon this earth as upon a footstool, and stretch
out its realm amidst the stars." -- H. G. Wells, 1920