LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > robinherbots
User Name
Password

Notices



Rate this Entry

Copy / Access Mac OSX Partition from the Install DVD in Linux

Posted 12-17-2009 at 08:31 AM by robinherbots
Updated 04-24-2013 at 08:19 AM by robinherbots

If you insert the Mac OSX (Leopard) Install DVD; the only thing you see is the WindowsSupport part of the DVD. If you want to access the OSX Install content of the DVD you need some extra tools.
  • download & install multipath-tools
    (http://christophe.varoqui.free.fr/)
    In a terminal as root
    • tar -xjf multipath-tools-0.4.8.tar.bz2
    • cd multipath-tools-0.4.8
    • make && make install
  • Map the dvd to a loop-device
    losetup /dev/loop0 /dev/sr0 (/dev/sr0 = dvd device)
  • kpartx -l /dev/loop0
    to view the different sessions on the DVD
  • kpartx -i /dev/loop0
    to actually map the sessions
  • file -s /dev/mapper/loop0p3
    gives some info about the session
    /dev/mapper/loop0p3: Macintosh HFS Extended version 4 data last mounted by: '10.0', ...
  • To create an iso
    dd if=/dev/mapper/loop0p3 of=./Leopard_osx.iso
  • To mount
    mount /dev/mapper/loop0p3 /mnt/osx (or to whatever)
Posted in Linux
Views 2154 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration