Upload
amir-saman-memaripour
View
253
Download
0
Embed Size (px)
Citation preview
7/31/2019 Installing Mac OS
1/17
Installing Mac OS Xin a Virtual Machine
Operating Systems Laboratory
Amir Saman Memaripour
7/31/2019 Installing Mac OS
2/17
What You Need?1. Working Snow Leopard Virtual Machine in VMware or
VirtualBox.Install Snow Leopard on VMware or on VirtualBox
2. Lion Leopard Installation DMG (Available fordevelopers in Apple site and some torrents sites). Youcan use the original retail DVD after the final release.
2
http://www.sysprobs.com/fresh-snow-leopard-1064-installation-vmware-player-3-intel-amd-pchttp://www.sysprobs.com/install-mac-snow-leopard-1063-oracle-virtualbox-32-apple-intel-pchttp://www.sysprobs.com/install-mac-snow-leopard-1063-oracle-virtualbox-32-apple-intel-pchttp://www.sysprobs.com/fresh-snow-leopard-1064-installation-vmware-player-3-intel-amd-pc7/31/2019 Installing Mac OS
3/17
Why You Need This InstallerImage?
1. There are no boot loaders available to boot the originalLion installer in VMware.
2. The installation package available in DMG file cant be
installed in virtualization platform.
3
7/31/2019 Installing Mac OS
4/17
Steps to Follow (1)Attach a 5GB new virtual hard disk (VMDK) file to working
Snow leopard Virtual machine.
4
7/31/2019 Installing Mac OS
5/17
Steps to Follow (2)Press Initialize when you start the Mac OS X virtual
machine. Create a partition with following configurationin newly attached 5GB virtual hard disk.
Name LionInstaller
Format: Mac OS X Extended
Partitions: Single partition Apple Partition Map
5
7/31/2019 Installing Mac OS
6/17
Steps to Follow (2)
6
7/31/2019 Installing Mac OS
7/17
Steps to Follow (3)Now attach the Lion Installation DMG or ISO you
downloaded from Apple or Torrent sites to VMwarevirtual machines CD drive. Once you connect, it will beautomatically mounted in SL virtual machine.
Convert DMG file to ISO in Windows host as shown here.The file is mounted as Mac OS X Install ESD underVolumes.
7
http://www.sysprobs.com/convert-mac-dmg-iso-windowshttp://www.sysprobs.com/convert-mac-dmg-iso-windows7/31/2019 Installing Mac OS
8/17
Steps to Follow (4)We need to copy the base system image from mounted
ISO to our LionInstaller (new VMDK file). Mount thebase system image from terminal and run the followingcommand.
cd "/Volumes/Mac OS X Install ESD
open BaseSystem.dmg
8
7/31/2019 Installing Mac OS
9/17
Steps to Follow (4)
This will mount it as Mac OS X Base System in desktopand under Volumes.
9
7/31/2019 Installing Mac OS
10/17
Steps to Follow (5)After Base System mounted, we can use Restore feature
under disk utility to copy the entire data.
Go to Disk Utilities and select the source and destination
as shown below to start the restore this will copy theentire base system to 5GB hard disk.
Provide the root access password.
10
7/31/2019 Installing Mac OS
11/17
Steps to Follow (5)
11
7/31/2019 Installing Mac OS
12/17
Steps to Follow (6)Copy the kernelcache files with following command.
cp "/Volumes/Mac OS X Install ESD/kernelcache"/Volumes/LionInstaller/kernelcache
12
7/31/2019 Installing Mac OS
13/17
Steps to Follow (7)Modify the plist file to enable the kernelcahce we copied
in new installer disk.
Go to
/Volumes/LionInstaller/Library/Preferences/SystemConfiguration/and opencom.apple.Boot.plist file with TextEdit.
Enter following string and save the file.
Kernel Cache
\kernelcache
13
7/31/2019 Installing Mac OS
14/17
Steps to Follow (8)Now copy the installation packages by following
commands.
sudo rm
/Volumes/LionInstaller/System/Installation/Packages
sudo cp -R "/Volumes/Mac OS X Install ESD/Packages"/Volumes/LionInstaller/System/Installation/Packages
Second command will copy large size of data to newVMDK file. Wait for some time.
14
7/31/2019 Installing Mac OS
15/17
Steps to Follow (9)We are almost done. Since VMware supports Mac OS X
server versions only, newly created installation imageshould be flagged as server version.
Run the following command.
cd /Volumes/LionInstaller/System/Library/CoreServices
sudo touch ServerVersion.plist
15
7/31/2019 Installing Mac OS
16/17
Steps to Follow (9)Thats it, our bootable Lion installer image is ready and it
can boot in VMware without any boot loaders.Shutdown the running Snow Leopard virtual machineand remove the 5GB VMDK file from virtual machine.
This VMDK file can be attached to other new Lion VMto boot and install.
16
7/31/2019 Installing Mac OS
17/17
http://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computers
17
http://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computershttp://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computershttp://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computershttp://www.sysprobs.com/create-bootable-lion-os-installer-image-vmware-windows-intel-based-computers