Posts

Post not yet marked as solved
0 Replies
184 Views
Recently we've been working on file-based backups on macOS 10.15.7. When I finish the system volume group backup, including The system role volume, default volume name 'Untitled' usually The data role volume, default volume name 'Untitled - Data' usually Next step, I launch Migration Assistant and choose "From a Mac, Time Machine backup or startup disk" to restore volume data. But when I select the backed-up system role volume, a warning message poped up and tell me "Volume contains a macOS or OS X installation which may be damaged".   I try to rebuild folder firmlink from /usr/share/firmlinks before backing up data role volume, like the following steps: Add SF_FIRMLINK by chflags to folders on system role volume Add extened attribute com.apple.fs.firmlink which value is target file name Make sure other attributes(creation time, permission, owner, group, etc) are the same between source and destination But it still doesn't work (I check inode number on backed-up system role volume by "is -ailO").   I search some informations and find this blog: https://bombich.com/blog/2020/05/27/bug-in-macos-10.15.5-impacts-bootable-backups-weve-got-you-covered. So my question is "How do I recover firmlink between backed-up system role volume and data role volume?"   Thanks a lot
Posted Last updated
.
Post not yet marked as solved
0 Replies
225 Views
I have an *.pkg installer, and it calls osascript in the postinstall script. I double clicked the installer to install my App, and most of the time it succeeded, except for this one: On the Mac mini (late 2012, macOS 10.15.7), this installer got stuck at the postinstall stage. And I saw this in /var/log/system.log: com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.osascript.6247): Failed to bootstrap path: path = /usr/bin/osascript, error = 2: No such file or directory What does this mean? I'm pretty sure that /usr/bin/osascript does exist on the Mac. I aborted the installation process and retried, the result was the same. How to fix this?
Posted Last updated
.
Post not yet marked as solved
0 Replies
350 Views
Recently I tried to use mac asr command to backup my mac. However, I got different error on different mac devices. While I tried to asr backup my "Intel Mac 10.15.7", following is the command i used: asr restore --source {system role volume} --target {another container's volume} --toSnapshot "{snapshot I take on both system role and data role}" --erase. After running asr, it shows "Volume replication failed - error 49157" while backing up data volume. I tried another asr backup on my "M1 Mac 12", following is the command i used: asr restore --source {system role volume} --target {another container's volume} --toSnapshot "com.apple... (the snapshot that system snapshot mount)" --erase. After running asr, it shows "Couldn't embed the APFS EFI driver - error 49174" at the end of asr. (while it's 100% done) Does anyone know any detail info / document / solution about the asr error code? Currently I cannot find anything about 49157 / 49197 error code.
Posted Last updated
.
Post not yet marked as solved
3 Replies
211 Views
Hi, I got my "installer" command hangs. I have a self-built pkg and I'd like to install it via command line: sudo installer -pkg XXXX.pkg -verbose -target /   But the above command hangs for 10+ mins. Here's the ps aux | grep installer output: root 4013 0.0 0.4 4341956 15700 s000 S+ 3:02AM 0:00.73 installer -pkg XXXX.pkg -verbose -target /   I found some logs related to the installer command in /var/log/install.log 2022-01-14 03:02:10-08 cats-Mac-4 installer[4013]: Product archive /Users/test/Downloads/client/XXXX.pkg trustLevel=350 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: External component packages (2) trustLevel=350 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/test/Downloads/client/XXXX.pkg#YYYY.pkg 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/test/Downloads/client/XXXX.pkg#YYYY.pkg 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: Set authorization level to root for session 2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: Administrator authorization granted.   The self-built pkg has been signed / notarized correctly. How to dig out what cause the command hangs? Thank you!
Posted Last updated
.
Post not yet marked as solved
0 Replies
215 Views
Is there any way to get me terminal in macOS Recovery when FileVault is enabled and fails to reset account’s password? I have a 2014 Mac Mini running Big Sur 11.6. It has FileVault enabled and allows iCloud account to unlock the volume. My case is, I forget my password, and my local account (the only account) is disabled somehow. I rebooted with command + R,the screen titled “macOS Recovery” asked me to Sign In with my Apple ID, and I did. And the loading messages read “Recovery FileVault key…” and then “The recovery key was found matching the volume…” something like that. Next, I was asked to reset my account’s password but it failed with “Credential verification failed because account is disable”. There wasn’t any option or button to exit to get Recovery Utilities. If I get the terminal, I can fix my account. But I have no access to the terminal. Why didn’t it just show me the utilities after I sign in with my Apple ID? I already unlocked the volume with my iCloud account.
Posted Last updated
.