MDS Install Error : startosinstall with return code 5

Hello Everyone,

I have run into a issue recently with MDS that I didnt have before. Before this occured i did about 6 different MDS Installs on my Test Macbook as i was trying out new Workflows and getting to know the program. Everytime i try to do a BigSur MDS Installation now, through a USB Stick i run into this error :

“startosinstall failed with return code 5. Please look at this terminal output or check /var/log/install.log for more details”

This is accompanied by a bunch of Errors in the disk file system that go like this :

From disk 3 to disk 21 downward for example the error messages are,

“isConvertabletoAPFS was called on disk3, an APFS disk
disk3 is not convertible to APFS: This Volume is not formatted as Mac OS Extended Journaled”

I am not sure if this is the root of the issue but its what caught my attention as i didnt see these logs during my other installations or frankly i didnt put much attention into the terminal as the first installations worked really well.

I tried to go for a Network installation instead a few minutes ago but just got an authentication error as i was running the Hdiutil command to my DMG File i put in the Web Folder.

These issues started popping up as i was trying different things to get Munki Admin and Guided Software Catalogue to run or rather actually have my Applications show up in the program, so it may just be a configuration error on my side as i was trying different ways to deploy Software Packages.

I dont have the full log at hand now but will attach it later, i will try for another installation in a bit.

Kind regards

Hi again,

I tried another install but this time i unchecked the Erase HDD and Rename Option in the hopes i could fix the issue with that for now but i ran into the same error. Here are parts from the Install log from that try :

Summary

2021-12-14 08:51:51+00 MacBook-Pro powerd[199]: Assertion Created. Type:InternalPreventSleep Name:‘com.apple.powermanagement.acwakelinger’ Id:0xd0000803d Process:powerd [System: SRPrevSleep kCPU]
2021-12-14 08:51:51+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 08:51:51+00 MacBook-Pro configd[198]: LINKLOCAL en0: status = ‘success’
2021-12-14 08:51:51+00 MacBook-Pro opendirectoryd[212]: [session] Received power notification (system has powered on)
2021-12-14 08:51:51+00 MacBook-Pro configd[198]: DHCP bridge0: status = ‘network changed’
2021-12-14 08:51:53+00 MacBook-Pro powerd[199]: Assertion Released. Type:MaintenanceWake Name:‘mDNSResponder:maintenance’ Id:0xd0000803b Process:mDNSResponder [System: SRPrevSleep kCPU]
2021-12-14 08:52:37+00 MacBook-Pro powerd[199]: Assertion TimedOut. Type:InternalPreventSleep Name:‘com.apple.powermanagement.acwakelinger’ Id:0xd0000803d Process:powerd [System: SRPrevSleep kCPU]
2021-12-14 09:01:36+00 MacBook-Pro powerd[199]: Display is turned off
2021-12-14 09:01:50+00 MacBook-Pro powerd[199]: Assertion Released. Type:Idle Sleep Preventer Name:‘IODisplayWrangler’ Id:0x0 Process: [System: No Assertions]
2021-12-14 09:01:50+00 MacBook-Pro powerd[199]: Assertion Created. Type:InternalPreventSleep Name:‘com.apple.powermanagement.darkwakelinger’ Id:0xd00008040 Process:powerd [System: SRPrevSleep kCPU]
2021-12-14 09:02:05+00 MacBook-Pro powerd[199]: Assertion TimedOut. Type:InternalPreventSleep Name:‘com.apple.powermanagement.darkwakelinger’ Id:0xd00008040 Process:powerd [System: SRPrevSleep kCPU]
2021-12-14 09:02:05+00 MacBook-Pro powerd[199]: Entering Sleep state due to ‘Idle Sleep’: battCap:64 pwrSrc: AC
2021-12-14 09:02:05+00 MacBook-Pro opendirectoryd[212]: [session] Received power notification - disabling network activity
2021-12-14 09:02:05+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 09:04:43+00 MacBook-Pro opendirectoryd[212]: [session] Received power notification - enabling network activity
2021-12-14 09:04:43+00 MacBook-Pro powerd[199]: Assertion Created. Type:MaintenanceWake Name:‘mDNSResponder:maintenance’ Id:0xd00008047 Process:mDNSResponder [System: SRPrevSleep kCPU]
2021-12-14 09:04:43+00 MacBook-Pro powerd[199]: Display is turned on
2021-12-14 09:04:43+00 MacBook-Pro powerd[199]: Wake from Safe Sleep [CDNVA] : due to XHC1/HID Activity
battCap:66 pwrSrc: AC
2021-12-14 09:04:43+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 09:04:43+00 MacBook-Pro configd[198]: LINKLOCAL en0: status = ‘success’
2021-12-14 09:04:43+00 MacBook-Pro powerd[199]: Assertion Created. Type:InternalPreventSleep Name:‘com.apple.powermanagement.acwakelinger’ Id:0xd00008049 Process:powerd [System: SRPrevSleep kCPU]
2021-12-14 09:04:43+00 MacBook-Pro opendirectoryd[212]: [session] Received power notification (system has powered on)
2021-12-14 09:04:43+00 MacBook-Pro configd[198]: DHCP bridge0: status = ‘network changed’
2021-12-14 09:04:45+00 MacBook-Pro powerd[199]: Assertion Released. Type:MaintenanceWake Name:‘mDNSResponder:maintenance’ Id:0xd00008047 Process:mDNSResponder [System: SRPrevSleep kCPU]
2021-12-14 09:04:45+00 MacBook-Pro powerd[199]: Assertion Created. Type:UserIsActive Name:‘com.apple.iohideventsystem.queue.tickle serviceID:100000359 name:NULL product:Apple Internal Keyb eventType:11’ Id:0x90000804c Process:hidd [System: DeclUser SRPrevSleep kCPU kDisp]
2021-12-14 09:04:48+00 MacBook-Pro powerd[199]: Assertion Created. Type:ExternalMedia Name:‘com.apple.powermanagement.externalmediamounted’ Id:0x80000804d Process:powerd [System: DeclUser SRPrevSleep kCPU kDisp]
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: no SSID
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0 link INACTIVE
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: no SSID
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: link inactive timer fired
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: DHCP en0: removing 192.168.20.127
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: removed IP address 192.168.20.127
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: DHCP en0: status = ‘media inactive’
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: LINKLOCAL en0: status = ‘media inactive’
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: AUTOMATIC-V6 en0: status = ‘media inactive’
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: LINKLOCAL en0: status = ‘success’
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: network changed: v4(en0-:192.168.20.127) DNS- Proxy-
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0 link ACTIVE
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: DHCP en0: status = ‘network changed’
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: AUTOMATIC-V6 en0: status = ‘network changed’
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: DHCP en0: setting 192.168.20.127 netmask 255.255.255.0 broadcast 192.168.20.255
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: DHCP en0: publish success
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: LINKLOCAL en0: status = ‘success’
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: network changed: v4(en0+:192.168.20.127) DNS+ Proxy+ SMB
2021-12-14 09:05:21+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: Publishing data to agent DNSAgent-_defaultDNS (79 bytes)
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: Publishing data to agent DNSAgent-@en0 (79 bytes)
2021-12-14 09:05:21+00 MacBook-Pro configd[198]: en0: SSID Liwicom_Guest BSSID 70:6b:b9:83:f4:6e
2021-12-14 09:05:22+00 MacBook-Pro opendirectoryd[212]: [session] Received a network change notification
2021-12-14 09:05:24+00 MacBook-Pro configd[198]: DHCP en0: publish success
2021-12-14 09:05:26+00 MacBook-Pro opendirectoryd[212]: [session] Processing a network change notification
2021-12-14 09:05:29+00 MacBook-Pro powerd[199]: Assertion TimedOut. Type:InternalPreventSleep Name:‘com.apple.powermanagement.acwakelinger’ Id:0xd00008049 Process:powerd [System: DeclUser SRPrevSleep kCPU kDisp]
2021-12-14 09:05:31+00 MacBook-Pro Imagr[728]: Use NVRAM prev-lang:kbd value (92) as default ASCII input source: Austrian
2021-12-14 09:06:21+00 MacBook-Pro startosinstall[863]: No need to copy app bundle. OS is too old.
2021-12-14 09:06:21+00 MacBook-Pro startosinstall[863]: OSInstallerSetup build: 1
2021-12-14 09:06:21+00 MacBook-Pro startosinstall[863]: No compatibility bundle on this version of macOS. Will assume compatible.
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: IA RamDisk: RAMDisk /var/tmp/IARecoveryDisk 40960
Creating RAM Disk for /var/tmp/IARecoveryDisk
Initialized /dev/rdisk26 as a 20 MB case-insensitive HFS Plus volume
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: BaseSystem clock appears to be correct
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: OSISSoftwareUpdateController: Using catalog (source: GM Default): https://swscan.apple.com/content/catalogs/others/index-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: mountDiskImageWithPath: /Volumes/Install_macOS_11.6-20G165/Applications/Install macOS Big Sur.app/Contents/SharedSupport/SharedSupport.dmg
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: Mounting disk image complete, results dict = {
“system-entities” = (
{
“content-hint” = EFI;
“dev-entry” = “/dev/disk27s1”;
“potentially-mountable” = 1;
“unmapped-content-hint” = “C12A7328-F81F-11D2-BA4B-00A0C93EC93B”;
“volume-kind” = msdos;
},
{
“content-hint” = “Apple_HFS”;
“dev-entry” = “/dev/disk27s2”;
“mount-point” = “/Volumes/Shared Support”;
“potentially-mountable” = 1;
“unmapped-content-hint” = “48465300-0000-11AA-AA11-00306543ECAC”;
“volume-kind” = hfs;
},
{
“content-hint” = “GUID_partition_scheme”;
“dev-entry” = “/dev/disk27”;
“potentially-mountable” = 0;
“unmapped-content-hint” = “GUID_partition_scheme”;
}
);
}
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: Mount point /Volumes/Shared Support
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: recoveryOS UpdateBrain path: /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/UpdateBrain
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: Will extract Info.plist from: /Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/4fed87788d91387e294dbe6911b54d2a392a57bf.zip toPath: /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/ExtractedFiles
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: Extracted Info.plist to path: /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/ExtractedFiles/Info.plist
2021-12-14 09:06:24+00 MacBook-Pro osinstallersetupd[865]: OSISSoftwareUpdateController: Loaded catalog https://swscan.apple.com/content/catalogs/others/index-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz (614 products)
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Extracted BuildManifest,plist to path: /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/ExtractedFiles/AssetData/boot/BuildManifest.plist
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Extracting brain /Volumes/Shared Support/UpdateBrain.zip → /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/UpdateBrain
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Extracting /Volumes/Shared Support/UpdateBrain.zip → /var/tmp/IARecoveryDisk/IAMSUProduct-865.JNsdnOkA/UpdateBrain
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Finished extracting: succeeded
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Skipping starting the brain because we’re not on a new enough macOS.
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Adding MobileSoftwareUpdate product: OSISMobileSoftwareUpdateProduct <brain: /Volumes/Shared Support/UpdateBrain.zip, bundle: /Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/4fed87788d91387e294dbe6911b54d2a392a57bf.zip, SFR: /Volumes/Shared Support/SFR/com_apple_MobileAsset_SFRSoftwareUpdate/02c995f22e4f8fc4bb3802ec43eedf9957d8b1d9.zip>
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: already using MSU springboard, skipping SUMAC
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: osinstallersetupd registered client
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Will purge all copies expect: /Volumes/Install_macOS_11.6-20G165/Applications/Install macOS Big Sur.app/Contents/Frameworks/OSInstallerSetup.framework/Versions/A/Resources
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: isConvertableToAPFS: was called on disk26, an APFS disk.
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: disk26 is not convertible to APFS: Dieses Volume ist nicht als Mac OS Extended (Journaled) formatiert.
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: ROM Features returned: 60046439799
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: mountDiskImageWithPath: /Volumes/Install_macOS_11.6-20G165/Applications/Install macOS Big Sur.app/Contents/SharedSupport/SharedSupport.dmg
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Disk disk25s2 is not suitable because DMError: -69837
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: disk25s2 is not convertible to APFS: Die Installation auf diesem Volume ist nicht möglich, da es nicht in das Apple-Dateisystem (APFS) konvertiert werden kann.
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: Disk disk1s1 is not suitable because DMError: -69837
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: disk1s1 is not convertible to APFS: Die Installation auf diesem Volume ist nicht möglich, da es nicht in das Apple-Dateisystem (APFS) konvertiert werden kann.
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] UID: 0, EUID: 0, GID: 0, EGID: 0, PID: 865, PROC: osinstallersetupd ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Local/Target, Options: 0x0
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] caller is using legacy node name of ‘/Local/Target’, should use ‘/Local/Default’ instead
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] node assigned UUID - 6FD578FE-FB19-4DCA-824D-7078CD0F7B9E
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] ODNodeCreateWithNameAndOptions completed
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] UID: 0, EUID: 0, GID: 0, EGID: 0, PID: 865, PROC: osinstallersetupd ODQueryCreateWithNode request, NodeID: 6FD578FE-FB19-4DCA-824D-7078CD0F7B9E, RecordType(s): dsRecTypeStandard:Users, Attribute: dsAttrTypeStandard:RecordName, MatchType: Any, Equality: CaseIgnore, Value(s): dsRecordsAll, Requested Attributes: dsAttributesAll, Max Results: 2147483647
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] queuing request to connection - 75D0F8BE-4970-494E-B43A-99B72F22E33B - CFBundle 0x7f8e85905430 </System/Library/OpenDirectory/Modules/PlistFile.bundle> (bundle, loaded)
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] ODQueryCreateWithNode completed, delivered 100 results
2021-12-14 09:06:25+00 MacBook-Pro osinstallersetupd[865]: ROM Features returned: 60046439799
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] PID: 865, Client: ‘osinstallersetupd’, exited with 0 session(s), 1 node(s) and 0 active request(s)
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] Internal: ODNodeRelease request, NodeID: 6FD578FE-FB19-4DCA-824D-7078CD0F7B9E
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] ODNodeRelease completed
2021-12-14 09:06:25+00 MacBook-Pro opendirectoryd[212]: [session] closed nodeID 6FD578FE-FB19-4DCA-824D-7078CD0F7B9E
2021-12-14 09:07:36+00 MacBook-Pro powerd[199]: Assertion Released. Type:PreventUserIdleSystemSleep Name:‘com.apple.diskmanagementd’ Id:0x10000804e Process:diskmanagementd [System: PrevIdle DeclUser kDisp]
2021-12-14 09:07:38+00 MacBook-Pro com.apple.appkit.xpc.openAndSavePanelService[1077]: Use NVRAM prev-lang:kbd value (92) as default ASCII input source: Austrian
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] UID: 0, EUID: 0, GID: 0, EGID: 0, PID: 1077, PROC: com.apple.appkit.xpc.openAndSav ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Local/Default, Options: 0x0
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] node assigned UUID - 3A5AA0F5-D72F-40DB-BF35-B0B502953137
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] ODNodeCreateWithNameAndOptions completed
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] UID: 0, EUID: 0, GID: 0, EGID: 0, PID: 1077, PROC: com.apple.appkit.xpc.openAndSav ODQueryCreateWithNode request, NodeID: 3A5AA0F5-D72F-40DB-BF35-B0B502953137, RecordType(s): dsRecTypeStandard:SharePoints, Attribute: dsAttrTypeStandard:RecordName, MatchType: Any, Equality: CaseExact, Value(s): dsRecordsAll, Requested Attributes: afp_use_parent_privs,dsAttrTypeStandard:GeneratedUID,afp_name,smb_inherit_permissions,dsAttrTypeStandard:AppleMetaNodeLocation,afp_shared,dsAttrTypeStandard:RecordType,sharepoint_version,smb_directorymask,smb_name,directory_path,dsAttrTypeStandard:RecordName,afp_use_parent_owner,ftp_shared,smb_shared,smb_guestaccess,smb_oplocks,afp_guestaccess,dsAttrTypeStandard:AppleMetaRecordName,com_apple_sharing_uuid,ftp_guestaccess,smb_strictlocking,ftp_name,sharepoint_account_uuid,smb_createmask,sharepoint_group_id, Max Results: 2147483647
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] queuing request to connection - 75D0F8BE-4970-494E-B43A-99B72F22E33B - CFBundle 0x7f8e85905430 </System/Library/OpenDirectory/Modules/PlistFile.bundle> (bundle, loaded)
2021-12-14 09:07:40+00 MacBook-Pro opendirectoryd[212]: [session] ODQueryCreateWithNode completed
2021-12-14 09:07:41+00 MacBook-Pro com.apple.appkit.xpc.openAndSavePanelService[1077]: Use NVRAM prev-lang:kbd value (92) as default ASCII input source: Austrian

Another Update to this,

I managed to get a BigSur install going with a few packages again. I am not really sure what “fixed” it but what I did was delete the Certificate i created through MDS under the Security Tab on my Host-Macbook Client and generating a new one, i also unchecked the Sign Packages Box in the settings. On top of that I created a BigSur Installer and installed that before doing the MDS Setup as i was suspecting that it might have been an issue with installing from Catalina. Since I wanted to do a clean install anyway what i also did was go into Disk Utility in the Recovery Menu and Delete Macintosh HD → Erase Volume Group, before running the /Volumes/MDS/run command. Sadly enough Managed Software Center still did not recognize the Applications I set up in Munki Admin. Its checking for software but cant find any packages. I can manually connect to the Munki Repo through the Host URL https://mymacbook.local:4443 but it also asks to trust the repo beforehand, which I dont think was a popup that came up on the previous installs as i was checking the repo.

1 Like