-
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!
Similar Threads
-
By don999 in forum Tips and Tricks
Replies: 0
Last Post: 09-16-2008, 05:37 PM
-
By emergingdzns in forum Hardware & Booting
Replies: 1
Last Post: 03-20-2007, 06:23 PM
-
By michapma in forum General Support
Replies: 4
Last Post: 07-24-2006, 12:41 PM
-
By dysfunctional in forum Hardware & Booting
Replies: 3
Last Post: 06-07-2006, 09:39 AM
-
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
-
Forum Rules
Intel Xeon E5-2690 v2 10-Core 3.0GHz 25M 8GTs LGA2011 Server CPU Processor SR1A5
$69.99
Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables
$120.00
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
Dell Precision 7810 TOWER 2x Xeon E5-2640 v4 64GB RAM Quadro M2000 NO HDD/OS
$279.99
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.38
Genuine Intel Xeon E5-2680V4 2.40Ghz 14-Core 35MB LGA2011 CPU P/N: SR2N7
$14.99
Intel SR1XD Xeon E5-2699V3 2.30Ghz 18-Core Socket 2011 CPU Processor Haswell
$35.00
Intel Xeon E5-2683 v4 2.1GHz 16-Core 40MB LGA2011 Server CPU P/N: SR2JT Tested
$19.99
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00