Error The installer can't create the folder
I'm getting the below error while trying to open the .pkg file to create the user. I've compiled the updated .pkg file using the updated code from the repository. Can anyone guide me what this issue could be?
The device is MacBook Pro (M3 Pro 2023) in Recovery Mode Terminal.
This is not an issue with munkipkg.
You mention that you are in Recovery Mode, which adds additional complexity. Are you certain /Volumes/Macintosh HD is mounted read-write?
(a test you can do is to install this package when not in Recovery Mode...)
(a test you can do is to install this package when not in Recovery Mode...)
without recovery mode it is working fine.
This is not an issue with munkipkg.
You mention that you are in Recovery Mode, which adds additional complexity. Are you certain /Volumes/Macintosh HD is mounted read-write?
How can I check that? All I wanted is I have OS Installed, I wanted to create the user and skip the setup assistant. That's why I booted into recovery and tried to execute the .pkg file but I got this error
$ mount
/dev/disk3s1s1 on / (apfs, sealed, local, read-only, journaled)
Note the "read-only"
$ mount /dev/disk3s1s1 on / (apfs, sealed, local, read-only, journaled)Note the "read-only"
What could be the possible workaround? Do you have any idea about it? Any help would be appreciated. Thanks
Have you tried use Disk Utility to eject and remount it read/write?
Have you tried use Disk Utility to eject and remount it read/write?
Another question, If I run this pkg file in recovery mode will it create the user?
I've successfully used pkgs created with this tool to create users while in Recovery, but I have not done so for several years, and don't know if Apple has changed things in recent OSes that might cause this to fail.