воскресенье, августа 13, 2006

Reading Macintosh Disk Under Windows. For Free.

It's not straight forward, but yet it works.

  1. Download VMWare Player from VMWare.
  2. Download one of the Linux Rescue bootable CD images. Most would do. Requirements: support for HFS/HFS+ and networked service. For sake of example I would use PLD LINUX Rescue CD.
  3. Go to www.vmwarez.com and download "LiveCD Player Virtual Machine" from PRe-Built VMs section. Unpack it to some directory.
  4. Copy rescue CD image to the directory of our virtual machine and rename it to "livecd.iso"
  5. Open the virtual machine with VMWare Player. Wait for PLD LINUX to boot up. Network needs to be enabled - any of NAT and host-only would do.
  6. Now tell VMWare to share the Mac volume with the VM. In case of USB device, it would most likely appear as /dev/sda device under Linux. You can always check inside VM "dmesg" to see where the volume is.
  7. Inside of VM, give root some password with command "passwd".
  8. Inside of VM, mount the volume inside of VM: "mount -t hfsplus -o ro /dev/sda /media/floppy". /media/floppy is just random unused directory. Do "ls /media/floppy" to see that all is in place.
  9. Inside of VM, launch ftp daemon. In case of PLD LINUX it is "pure-ftpd" - and to launch it "pure-ftpd &" command is sufficient. ('&' to put the daemon into backgraound)
  10. Inside of VM, execute "ifconfig eth0" and see the IP address VMWare had given to virtual machine.
  11. Now under Windows launch your favorite FTP client. Connect to IP address you have seen on step above. Use root account with the password you have given before. Go to remote directory /media/floppy - there you would have it.
And that's it.