Is there a way to re-download macOS Catalina 10.15 Beta?
MacOS – Re-download macOS Catalina 10.15 Beta
betacatalinamacos
Related Solutions
Your existing installation won't be blindly updated. The macOS 10.15 Catalina beta installer will launch as soon as it is downloaded.
You can create a bootable USB installer by plugging in a USB flash drive and running the following in Terminal:
sudo /Applications/Install\ macOS\ 10.15\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/DRIVE
where DRIVE
in the name of your external USB drive
You can choose to install macOS Catalina on an external drive, if you don't wish to interfere with your current installation.
I cracked the code!
Preface
This seems to have worked fine for me, but there are no guarantees. DO NOT PROCEED WITHOUT A BACKUP OF YOUR DATA. Then again, you know that, you voluntarily installed a beta operating system. ?
The root of this issue seems to be a failure in deleting APFS snapshots made by Time Machine. Under healthy operation, old snapshots are deleted as necessary whenever new disk space is required. However, this process failed, as we'll see below.
Symptoms
- Deleting files doesn't increase free space on the disk.
- Daisy Disk reports a large "hidden space". Deleting a file of X bytes would increase the size of this "hidden space" by X bytes.
First try thinning
Firstly, I would try to manually thin out the Time Machine snapshots. This requests Time Machine to automatically clean out enough snapshots to free a desired amount of space, in this case, 100 GB.
$ tmutil thinlocalsnapshots 100g 1
If this succeeded, it should say something like
Thinned local snapshots:
com.apple.TimeMachine.2019-06-21-141250.local
Listing some number of deleted snapshots. However, I doubt this will help. If the system could get this to work automatically, I don't see why manually invoking it would help. But YMMV, so it's worth a shot.
Manual snapshot deletion
After some number of snapshots were deleted, some space was freed up, but not much. the issue is that deleting any number of snapshots won't matter if even one snapshot exists holding onto the same data. In my case, there were two snapshots remaining that persisted even after thinning:
$ tmutil listlocalsnapshotdates
Snapshot dates for all disks:
2019-06-11-214224
2019-06-21-233121
I tried manually deleting these:
$ sudo tmutil deletelocalsnapshots 2019-06-21-233121
Deleted local snapshot '2019-06-21-233121'
$ sudo tmutil deletelocalsnapshots 2019-06-11-214224
Deleted local snapshot '2019-06-11-214224'
The response says they were deleted, but they actually weren't:
$ tmutil listlocalsnapshotdates
Snapshot dates for all disks:
2019-06-11-214224
2019-06-21-233121
At this point, I start going the nuclear route: directly using diskutil
to delete the APFS snapshots, without Time Machine's blessing to do so. First, I listed the APFS snapshots to see their UUIDs:
$ sudo diskutil apfs listSnapshots /System/Volumes/Data
Snapshots for disk1s1 (2 found)
|
+-- BFD78F4F-99BB-4D5B-AE16-5367DC9C615E
| Name: com.apple.TimeMachine.2019-06-11-214224.local
| XID: 10440723
| Purgeable: Yes
|
+-- 611E5357-8D10-4ABE-95F3-BE98C2DFCA3F
Name: com.apple.TimeMachine.2019-06-21-233121.local
XID: 10492913
Purgeable: Yes
NOTE: This snapshot limits the minimum size of APFS Container disk1
Then I tried deleting them manually:
$ sudo diskutil apfs deleteSnapshot disk1s1 -uuid BFD78F4F-99BB-4D5B-AE16-5367DC9C615E
Deleting APFS Snapshot BFD78F4F-99BB-4D5B-AE16-5367DC9C615E "com.apple.TimeMachine.2019-06-11-214224.local" from APFS Volume disk1s1
Started APFS operation
Error: -69863: Insufficient privileges
Strangely, even though I'm using sudo
to run the command as root, I'm told I have insufficient privileges. This might have something to do with the read-onliness of the system volume, or to do with it being the actively booted volume, but I don't know.
Going nuclear
I loaded up into recovery mode, and went to the command line. From there, I did a similar process to try to delete the snapshots. However, this required first unlocking and mounting the relevant volumes.
Running
diskutil list
, I found that my data and system volumes were assigned the labelsdisk1s1
anddisk2s5
, respectively.I think (I don't remember precisely) unlocked the volumes with:
-bash-3.2# diskutil apfs unlockVolume disk1s1 Password: -bash-3.2# diskutil apfs unlockVolume disk1s5 Password:
Then I mounted them:
-bash-3.2# diskutil mount disk1s1 -bash-3.2# diskutil mount disk1s5
I listed their snapshots:
-bash-3.2# diskutil apfs listSnapshots disk2s1 Snapshots for disk2s1 (2 found) | +-- Name: com.apple.TimeMachine.2019-06-11-214224.local | XID: 10440723 | +-- Name: com.apple.TimeMachine.2019-06-21-233121.local XID: 10492913 NOTE: This snapshot sets the minimal allowed size of APFS Container disk2 -bash-3.2# diskutil apfs listSnapshots disk2s5 Snapshot for disk2s5 (2 found) | +-- Name: com.apple.TimeMachine.2019-06-11-214224.local | XID: 187251 | +-- Name: com.apple.TimeMachine.2019-06-21-233121.local XID: 10492911 NOTE: This snapshot sets the minimal allowed size of APFS Container disk2
I tried deleting the snapshots by their "XID", but that didn't seem to work for all of them, so I instead deleted them by name:
-bash-3.2# diskutil apfs deleteSnapshot disk2s1 -name com.apple.TimeMachine.2019-06-11-214224.local Deleting APFS Snapshot XID 10440723 "com.apple.TimeMachine.2019-06-11-214224.local" from APFS Volume disk2s1 Started APFS operation Finished APFS operation -bash-3.2# diskutil apfs deleteSnapshot disk2s1 -name com.apple.TimeMachine.2019-06-21-233121.local Deleting APFS Snapshot XID 10492913 "com.apple.TimeMachine.2019-06-21-233121.local" from APFS Volume disk2s1 Started APFS operation Finished APFS operation -bash-3.2# diskutil apfs deleteSnapshot disk2s5 -name com.apple.TimeMachine.2019-06-11-214224.local Deleting APFS Snapshot XID 187251 "com.apple.TimeMachine.2019-06-11-214224.local" from APFS Volume disk2s5 Started APFS operation Finished APFS operation -bash-3.2# diskutil apfs deleteSnapshot disk2s5 -name com.apple.TimeMachine.2019-06-21-233121.local Deleting APFS Snapshot XID 10492911 "com.apple.TimeMachine.2019-06-21-233121.local" from APFS Volume disk2s5 Started APFS operation Finished APFS operation
Once this was done, I confirmed that the snapshots were gone:
-bash-3.2# diskutil apfs listSnapshots disk2s1 No snapshots for disk2s1 -bash-3.2# diskutil apfs listSnapshots disk2s5 No snapshots for disk2s5
And I confirmed that the space was in fact freed with
diskutil apfs list
.I restarted, and my Mac was back to normal. The space of all of the files I previously deleted is now visible and available.
And they lived happily ever after...
Related Question
- MongoDB doesnt’ work after update to macOS Catalina 10.15
- IPad – download iPad apps in macOS Catalina Beta
- MacOS Catalina beta could not be verified
- Cannot drag a window in Catalina Beta
- MacOS – What version of OpenSSH is included with macOS Catalina (10.15) beta
- MacOS – Safari not opening local html files after upgrading to macOS Catalina Beta
- MacOS – Can’t upgrade to Catalina – only Catalina Beta is available
Best Answer
You may be able to download Catalina from the Mac App Store: macOS Catalina Beta Credit to Thomas Nelson for finding the Mac App Store download link.