1
Niphor 2014-07-03 10:28:30 +08:00
没啥变化,解压dmg,替换 link 链接 为实体目录,打包dmg
vmware打补丁,载入dmg安装 不过 新版的Vmware好像和 华硕用的lucidlogix virtu mvp有冲突,3D加速会报错 记得在 mvp里面 添加vmware的黑名单。 |
2
Niphor 2014-07-03 10:29:39 +08:00 1
Vmware Fusion 里面似乎还有个脚本,帮你转的。。。
|
3
qq2511296 2014-07-03 10:39:07 +08:00
vm好像有个补丁吧?
要么直接选择所有文件 选择这个dmg 看看能不能装 我用cdr格式都可以直接装 |
4
lesswest 2014-07-03 14:44:35 +08:00
.dmg文件解压出.app 能直接装的 我试过
|
9
Niphor 2014-07-04 09:27:59 +08:00
@goldenapp
忘记在哪找的了,直接贴出来吧... 前提是你有原始的dmg或者.app 我是在osx下面转换的,然后vmware里面装的,可以用 只是vmware,多数要选默认项,别去改USB3支持什么的,不然鼠标什么的不能用。 ``` #!/bin/bash # # This executable converts a Mavericks .app (which allows to upgrade a machine # from Mac OS 10.6.7+ to Mavericks) into a Mavericks .dmg (which allows to # install Mavericks from scratch on a machine). # # It has been tested with "Install OS X 10.9 Developer Preview.app" (build # 13A476u). # set -x set -e # The first argument is the path to the .app bundle (the input of the # executable). inputApp="$1" # The second argument is the path to the .dmg file (the output of the # executable), which must end with ".dmg". outputDmg="$2" [ "${outputDmg: -4}" = .dmg ] # # The problem: /System/Installation/Packages inside /BaseSystem.dmg inside # "$inputApp"/Contents/SharedSupport/InstallESD.dmg is a dangling symlink, # which prevents installing Mavericks from scratch. # The solution: Replace the symlink with the /Packages directory inside # "$inputApp"/Contents/SharedSupport/InstallESD.dmg. # tmpDir=`mktemp -d -t 'Create Mavericks Installer'` installMnt="$tmpDir"/install installPkg="$installMnt"/Packages outputMnt="$tmpDir"/output outputPkg="$outputMnt"/System/Installation/Packages cleanup() { if [ -d "$outputMnt" ]; then hdiutil detach "$outputMnt" fi if [ -d "$installMnt" ]; then hdiutil detach "$installMnt" fi rmdir -- "$tmpDir" } # Cleanup on failure. trap cleanup ERR # Mount InstallESD.dmg so we can access /BaseSystem.dmg and /Packages inside. hdiutil attach "$inputApp"/Contents/SharedSupport/InstallESD.dmg \ -mountpoint "$installMnt" -nobrowse # Create "$outputDmg", a read/write copy of the read-only BaseSystem.dmg. hdiutil convert "$installMnt"/BaseSystem.dmg -format UDRW -o "$outputDmg" # Enlarge "$outputDmg" to accommodate for our modifications. The UDRW image # format is not sparse, so we must precisely compute the new size. curSectors=`hdiutil resize "$outputDmg" -limits | tail -1 | awk '{ print $2 }'` extraSectors=`BLOCKSIZE=512 du -s -- "$installPkg" | awk '{ print $1 }'` hdiutil resize "$outputDmg" -sectors $((curSectors + extraSectors)) # Mount "$outputDmg". hdiutil attach "$outputDmg" -mountpoint "$outputMnt" -nobrowse # Modify "$outputDmg". rm -- "$outputPkg" cp -r -- "$installPkg" "$outputPkg" # Cleanup on success. trap ERR; cleanup ls -alh -- "$outputDmg" ``` |
10
Niphor 2014-07-04 09:33:48 +08:00
|
11
lesswest 2014-07-04 10:24:15 +08:00
|