Results 1 to 3 of 3

Thread: Mounting apple hfsplus partitions on knoppix

  1. #1
    Member registered user
    Join Date
    Apr 2007
    Posts
    93

    Mounting apple hfsplus partitions on knoppix

    So I've got a macintosh SCSI drive that has an apple hfsplus partition I'd like to mount.

    Let's say it's on /dev/sda

    so I run "hexdump -C /dev/sda | less" and look at the output

    *
    00000c00 50 4d 00 00 00 00 00 07 00 00 04 c0 00 61 6b 4f |PM...........akO|
    00000c10 75 6e 74 69 74 6c 65 64 00 00 00 00 00 00 00 00 |untitled........|
    00000c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000c30 41 70 70 6c 65 5f 48 46 53 00 00 00 00 00 00 00 |Apple_HFS.......|
    00000c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000c50 00 00 00 00 00 61 6b 4f 44 00 03 7f 00 00 00 00 |.....akOD.......|
    00000c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|


    what you're looking for is the apple_HFS part, and zero in on the PM line


    00000c00 50 4d 00 00 00 00 00 07 00 00 04 c0 00 61 6b 4f |PM...........akO|
    ^^^^^^^
    This is the starting block of the partition = 04C0

    so drop out of less and run "bc"
    type "ibase=16" and hit enter (this will set you up in hexadecimal)
    type "4C0*200" which is multiplying 4C0 by 200 (ie multiply by 512 bytes)
    bc will tell you the result 622592
    type "quit" to drop out of bc

    before you proceed, "modprobe hfsplus" (works for me on knoppix 5.1)

    now "mkdir /mnt/a"
    then "mount /dev/sda /mnt/a -o offset 622592,ro -t hfsplus"

    (I added the ro to make it read only)

    and you should have the apple partition mounted.

    Man do I love knoppix!

  2. #2
    Member registered user
    Join Date
    Apr 2007
    Posts
    93
    oops sorry that should be

    "mount /dev/sda /mnt/a -o offset=622592,ro -t hfsplus"

    I left off the equals sign

  3. #3
    Member registered user
    Join Date
    Apr 2007
    Posts
    93
    00000c00 50 4d 00 00 00 00 00 07 00 00 04 c0 00 61 6b 4f |PM...........akO|
    _____________________________^^^^^^^^
    ________________________________________^^^^^^^^

    (my arrows didn't come through very well, I'll try underlines)


    with regards to apple partitions

    the start block of this partition is 00 00 04 c0

    and the length of this partition is 00 61 6b 4f

    but all you really need is the start block number to calculate the offset

Similar Threads

  1. Replies: 0
    Last Post: 09-16-2008, 05:37 PM
  2. Help mounting FBSD partitions
    By emergingdzns in forum Hardware & Booting
    Replies: 1
    Last Post: 03-20-2007, 06:23 PM
  3. mounting BSD partitions
    By michapma in forum General Support
    Replies: 4
    Last Post: 07-24-2006, 12:41 PM
  4. Mounting CCISS-partitions ?
    By dysfunctional in forum Hardware & Booting
    Replies: 3
    Last Post: 06-07-2006, 09:39 AM
  5. Mounting /var /tmp /home etc on different partitions..?
    By Chefren in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-29-2005, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$35.99



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G picture

A-Tech 32GB 2x 16GB PC4-25600 Laptop SODIMM DDR4 3200 MHz Non-ECC Memory RAM 32G

$59.99