kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
420 stars 103 forks source link

workaround for executing on Mojave #161

Closed taniguti closed 3 years ago

taniguti commented 3 years ago

Fixed #160

=====

ladmin@vmac02:macOSUpgrade/[181]$ sw_vers; df -H
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G6042
Filesystem                     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1                   107G    52G    54G    49%  536561 9223372036854239246    0%   /
devfs                          188k   188k     0B   100%     640                   0  100%   /dev
/dev/disk1s4                   107G    20k    54G     1%       0 9223372036854775807    0%   /private/var/vm
map -hosts                       0B     0B     0B   100%       0                   0  100%   /net
map auto_home                    0B     0B     0B   100%       0                   0  100%   /home
.host:/VMware Shared Folders   2.0T   2.0T    40G    99%       0                   0  100%   /Volumes/VMware Shared Folders
ladmin@vmac02:macOSUpgrade/[182]$ ./helper-tools/prepare-jamf-policy.sh /Applications/Inst
Install macOS Big Sur.app/  Install macOS Catalina.app/
ladmin@vmac02:macOSUpgrade/[182]$ ./helper-tools/prepare-jamf-policy.sh /Applications/Install\ macOS\ Big\ Sur.app/
Wait seconds, getting checksum...

=====================================================
Parameters for JamfPro policy:
Parameter 4: /Applications/Install macOS Big Sur.app
Parameter 5: 11.0.1
Parameter 6: (Your download trigger policy)
Parameter 7: b5df443ec0ead5e8daac39fba6bc401e
=====================================================

Would you need a DMG file of Install macOS Big Sur.app? [y/n]: y
Ok, building DMG file of Install macOS Big Sur.app. Wait few minutes.
Done. /Users/ladmin/Downloads/Install macOS Big Sur.app.11.0.1.dmg
ladmin@vmac02:macOSUpgrade/[183]$
ladmin@vmac06:Documents/macOSUpgrade[195]% sw_vers; df -H
ProductName:    Mac OS X
ProductVersion: 10.15.7
BuildVersion:   19H15
Filesystem                     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s5                   107G    11G    76G    13%  488300 1046039300    0%   /
devfs                          191k   191k     0B   100%     650          0  100%   /dev
/dev/disk1s1                   107G    19G    76G    20%  166410 1046361190    0%   /System/Volumes/Data
/dev/disk1s4                   107G   1.1M    76G     1%       1 1046527599    0%   /private/var/vm
.host:/VMware Shared Folders   2.0T   2.0T    46G    98%       0          0  100%   /Volumes/VMware Shared Folders
map auto_home                    0B     0B     0B   100%       0          0  100%   /System/Volumes/Data/home
ladmin@vmac06:Documents/macOSUpgrade[196]% ./helper-tools/prepare-jamf-policy.sh /Applications/Install\ macOS\ Big\ Sur.app
Wait seconds, getting checksum...

=====================================================
Parameters for JamfPro policy:
Parameter 4: /Applications/Install macOS Big Sur.app
Parameter 5: 11.0.1
Parameter 6: (Your download trigger policy)
Parameter 7: b5df443ec0ead5e8daac39fba6bc401e
=====================================================

Would you need a DMG file of Install macOS Big Sur.app? [y/n]: y
Ok, building DMG file of Install macOS Big Sur.app. Wait few minutes.
Done. /Users/ladmin/Downloads/Install macOS Big Sur.app.11.0.1.dmg
ladmin@vmac06:Documents/macOSUpgrade[197]%
kc9wwh commented 3 years ago

All tests passed on 10.15.5 and 11.0.1. Wasn't able to test on Mojave as my VM is having issues...waiting on re-build.

admin@macOSUpgrade-10 ~ % sw_vers; df -H
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s5     86G    11G    43G    21%  487560  836324840    0%   /
devfs           190k   190k     0B   100%     645          0  100%   /dev
/dev/disk1s1     86G    30G    43G    41%   52621  836759779    0%   /System/Volumes/Data
/dev/disk1s4     86G   1.1G    43G     3%       2  836812398    0%   /private/var/vm
map auto_home     0B     0B     0B   100%       0          0  100%   /System/Volumes/Data/home
/dev/disk2s2     13G    12G   366M    98%      15 4294967264    0%   /Volumes/Shared Support
admin@macOSUpgrade-10 ~ % ~/Desktop/prepare-jamf-policy.sh /Applications/Install\ macOS\ Big\ Sur.app 
Wait seconds, getting checksum...

=====================================================
Parameters for JamfPro policy:
Parameter 4: /Applications/Install macOS Big Sur.app
Parameter 5: 11.0.1
Parameter 6: (Your download trigger policy)
Parameter 7: b5df443ec0ead5e8daac39fba6bc401e
=====================================================

Would you need a DMG file of Install macOS Big Sur.app? [y/n]: y
Ok, building DMG file of Install macOS Big Sur.app. Wait few minutes.
Done. /Users/admin/Downloads/Install macOS Big Sur.app.11.0.1.dmg
josh.roskos@MarvinsessedMBP ~ % sw_vers; df -H
ProductName:    macOS
ProductVersion: 11.0.1
BuildVersion:   20B50
Filesystem       Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1s1   500G    15G   258G     6%  563932 4881888948    0%   /
devfs            193k   193k     0B   100%     653          0  100%   /dev
/dev/disk1s4     500G    29G   258G    11%      27 4882452853    0%   /System/Volumes/VM
/dev/disk1s2     500G   281M   258G     1%     766 4882452114    0%   /System/Volumes/Preboot
/dev/disk1s6     500G   918k   258G     1%      13 4882452867    0%   /System/Volumes/Update
/dev/disk1s7     500G   197G   258G    44%  865331 4881587549    0%   /System/Volumes/Data
map auto_home      0B     0B     0B   100%       0          0  100%   /System/Volumes/Data/home
josh.roskos@MarvinsessedMBP ~ % ~/Desktop/prepare-jamf-policy.sh /Applications/Install\ macOS\ Big\ Sur.app 
Wait seconds, getting checksum...

=====================================================
Parameters for JamfPro policy:
Parameter 4: /Applications/Install macOS Big Sur.app
Parameter 5: 11.0.1
Parameter 6: (Your download trigger policy)
Parameter 7: b5df443ec0ead5e8daac39fba6bc401e
=====================================================

Would you need a DMG file of Install macOS Big Sur.app? [y/n]: y
Ok, building DMG file of Install macOS Big Sur.app. Wait few minutes.
Done. /Users/josh.roskos/Downloads/Install macOS Big Sur.app.11.0.1.dmg