newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted

Discussion in 'macOS High Sierra (10.13)' started by CYBERNEURONES, May 6, 2018.

  1. CYBERNEURONES macrumors newbie

    CYBERNEURONES

    Joined:
    May 6, 2018
    Location:
    France
    #1
    Hi,
    I have an issue with partition /dev/rdisk0s3 and I can't do an update.
    I do a post (in french) on my blog : http://www.cyber-neurones.org/2018/05/macos-10-13-3-impossible-de-faire-la-derniere-mise-a-jours/ .... but the command and the logs are in English ;)
    The error when I do the update :
    softwareupdate_notify_agent[773]: Notifying with params: {
    PostLogoutUpdatesInstalled = {
    "091-76232" = {
    ErrorCode = 112;
    ErrorDomain = PKInstallErrorDomain;
    InstalledLater = 0;
    State = Error;
    };
    };
    UpdateNotificationsOnly = 1;
    }
    And it's due to the partition /dev/rdisk0s3 :
    ...
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureBooter:storage:phyUDS:logUDS:phyREF:logREF:copierForRecoveryFiles:hostOSXForBootRootFiles:recBSD:percentBegin:percentEnd:]: READY TO DO CASE: case=Reuse spaceDeltaB=0 booterDeltaB=0 (adviceIfUnable=-69886)
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition populateBooter:verifyType:verifyMinSize:clearMode:copierForRecoveryFiles:hostOSXForBootRootFiles:statusReportingDisk:percentBegin:percentEnd:]: inPartitionUDS=0x70000d1396a0=disk0s3 inVfyType/MinSize=Apple_Boot/650002432 inClearMode=RepairDeletefiles inRecCopier=0x7ff157a07840 inBRHostMP=/ inStatusDisk=0x7ff157b07328=disk0s2=Macintosh HD inPct=23..87
    2018-05-05 15:36:46+02 XXXX diskmanagementd[708]: diskmanagement: rawLaunch: execve(2) pid=708 /System/Library/Filesystems/hfs.fs/Contents/Resources/newfs_hfs -J -U 0 -G 0 -v Recovery HD /dev/rdisk0s3 .
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: rawLaunch_block_invoke: waitpid(2) pid=708 ret/errno=708/10 status=0x00000100 exit=1
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition populateBooter:verifyType:verifyMinSize:clearMode:copierForRecoveryFiles:hostOSXForBootRootFiles:statusReportingDisk:percentBegin:percentEnd:]: retErr=-69832
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureBooter:storage:phyUDS:logUDS:phyREF:logREF:copierForRecoveryFiles:hostOSXForBootRootFiles:recBSD:percentBegin:percentEnd:]: retErr=-69832 outDisk=(null)
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:]: at exit; err=-69832
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:]: output recoveryDiskBSD=(null) physicalDonorBSD=disk0s2
    2018-05-05 15:36:46+02 XXXX diskmanagementd[454]: diskmanagement: [DMToolRecoveryPartition ensureRecoveryPartitionForVolume:]
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Error: File system formatter failed (-69832)
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: ./Tools/dm - dm - Version 5
    ...
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Vérification et réutilisation du booter
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Réparation du système de fichiers.
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Formatage du booter
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted
    2018-05-05 15:36:46+02 XXXX system_installd[459]: replaceRecovery: HFS/CS EnsureRecoveryPartition: Operation 95.0% complete
    ...
    2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: releasing backupd
    2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: allow user idle system sleep
    2018-05-05 15:36:46+02 XXXX system_installd[459]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Une erreur s’est produite pendant l’exécution des scripts du paquet « macOSUpd10.13.4.RecoveryHDUpdate.pkg »." UserInfo={NSFilePath=replaceRecovery, NSURL=file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg, PKInstallPackageIdentifier=com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199, NSLocalizedDescription=Une erreur s’est produite pendant l’exécution des scripts du paquet « macOSUpd10.13.4.RecoveryHDUpdate.pkg ».} {
    NSFilePath = replaceRecovery;
    NSLocalizedDescription = "Une erreur s\U2019est produite pendant l\U2019ex\U00e9cution des scripts du paquet \U00ab\U00a0macOSUpd10.13.4.RecoveryHDUpdate.pkg\U00a0\U00bb.";
    NSURL = "file:///Library/Updates/091-76232/macOSUpd10.13.4.RecoveryHDUpdate.pkg";
    PKInstallPackageIdentifier = "com.apple.pkg.macOSUpd10.13.4.RecoveryHDUpdate.17E199";
    }
    ......

    Any idea ?

    Thanks.
     
  2. BLUEDOG314 macrumors 6502

    BLUEDOG314

    Joined:
    Dec 12, 2015
    #2
    So im not entirely sure what you mean here but I'm going to assume you want to partition the drive with the hfs+ filesystem and are aware all the data will be erased? Could you first run "diskutil list" and "diskutil cs list" in terminal and post output here.
     
  3. CYBERNEURONES thread starter macrumors newbie

    CYBERNEURONES

    Joined:
    May 6, 2018
    Location:
    France
    #3
    Yes, no problem.
     

Share This Page