Mv /tmp/Yosemite.cdr ~/Desktop/Yosemite.iso # Rename the ISO and move it to the desktop: Hdiutil convert /tmp/Yosemite.sparseimage -format UDTO -o /tmp/Yosemite # Convert the sparse bundle to ISO/CD master: Hdiutil resize -size $(hdiutil resize -limits /tmp/Yosemite.sparseimage | tail -n 1 | awk '')b /tmp/Yosemite.sparseimage # Resize the partition in the sparse bundle to remove any free space: # Unmount both the installer image and the target sparse bundle: # shareware, not free/open source software, your ideological # /Volumes/install_app/Packages/Essentials.pkg package, # necessary files (/System/Library/Kernels/*) from the # the installer being prepared, one may copy the # NOTE: If the running OS X version is not identical to that of # a version EXACTLY matching that of the installer we're preparing:Ĭp -rp /System/Library/Kernels /Volumes/install_build/System/Library/ # Assuming we're executing these steps on a Yosemite machine with # NEW: As of Yosemite, we also need a kernel image! # NEW: As of Yosemite, there are additional installer dependencies:Ĭp -rp /Volumes/install_app/BaseSystem* /Volumes/install_build/ Rm /Volumes/install_build/System/Installation/PackagesĬp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/ # Remove Package link and replace with actual files: Hdiutil attach /tmp/Yosemite.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build # Mount the sparse bundle target for further processing: Hdiutil resize -size 8g /tmp/Yosemite.sparseimage # Increase the sparse bundle capacity for packages, kernel, etc.: Hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Yosemite # Convert the boot image to a sparse bundle: Hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app # As of Yosemite, this really only works if executed as root, Starting with Lion (10.7), an install DVD (.iso) image may be generated on an OS X machine by following the steps below (Thanks Dick Marinus for pointing out the Yosemite-specific updates!): SnowLeopard (10.6) was the last OS X version released in DVD format. A binary OVMF blob built by applying my patches on top of the current edk2 master branch (as indicated by the abbreviated commit ID in the file name) is available to help speed things up, but you're strongly encouraged to build your own :) The result of this process is a firmware blob named OVMF.fd, which will be copied to your home directory by the last command shown above. To build the patched OVMF firmware blob, follow these instructions:īuild -a X64 -t GCC5 -p OvmfPkg/OvmfPkgX64.dsc Anything close to it in terms of "freshness" should likely do just fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |