M 
		
				
				
			
		MacBook-Pro-de-franz-2:~ franzbis$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            250.1 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS FRANZ                   499.8 GB   disk1s2diskutil listdiskutil mount disk0s3ls -R /Vol*/Reco*MacBook-Pro-de-franz-2:~ franzbis$ ls -R /Vol*/Reco*
AdminInfo.plist        com.apple.boot.S
System            com.apple.recovery.boot
ls: .Trashes: Permission denied
/Volumes/Recovery HD/System:
Library
/Volumes/Recovery HD/System/Library:
CoreServices
/Volumes/Recovery HD/System/Library/CoreServices:
PlatformSupport.plist    SystemVersion.plist    boot.efi
/Volumes/Recovery HD/com.apple.boot.S:
Library    System    usr
/Volumes/Recovery HD/com.apple.boot.S/Library:
Preferences
/Volumes/Recovery HD/com.apple.boot.S/Library/Preferences:
SystemConfiguration
/Volumes/Recovery HD/com.apple.boot.S/Library/Preferences/SystemConfiguration:
com.apple.Boot.plist
/Volumes/Recovery HD/com.apple.boot.S/System:
Library
/Volumes/Recovery HD/com.apple.boot.S/System/Library:
Caches
/Volumes/Recovery HD/com.apple.boot.S/System/Library/Caches:
com.apple.kext.caches
/Volumes/Recovery HD/com.apple.boot.S/System/Library/Caches/com.apple.kext.caches:
Startup
/Volumes/Recovery HD/com.apple.boot.S/System/Library/Caches/com.apple.kext.caches/Startup:
kernelcache
/Volumes/Recovery HD/com.apple.boot.S/usr:
standalone
/Volumes/Recovery HD/com.apple.boot.S/usr/standalone:
i386
/Volumes/Recovery HD/com.apple.boot.S/usr/standalone/i386:
EfiLoginUI
/Volumes/Recovery HD/com.apple.boot.S/usr/standalone/i386/EfiLoginUI:
Lucida13.efires        flag_picker.efires    recoveryUI.efires
battery.efires        guest_userUI.efires    recovery_user.efires
disk_passwordUI.efires    loginui.efires        unknown_userUI.efires
/Volumes/Recovery HD/com.apple.recovery.boot:
BaseSystem.chunklist    SystemVersion.plist    prelinkedkernel
BaseSystem.dmg        boot.efi
PlatformSupport.plist    com.apple.Boot.plistLast login: Wed Apr 29 15:53:15 on ttys000
MacBook-Pro-de-franz-2:~ franzbis$ /Users/franzbis/Desktop/dmtest ; exit;
dmtest
Utility to test and do private operations with the DiskManagement.framework
Most options require execution as root
Usage:  dmtest <verb> <options>, where <verb> is as follows:
     ensureRecoveryPartition            (Installer ESD partition adder)
dmtest <verb> with no options will provide help on that verb
dmtest with no options will provide this help message
DiskManagement.framework Logging (DiskManagement Development Builds only):
To enable|disable DiskManagement.framework and diskmanagementd logging:
   $ defaults write com.apple.DiskManagement Log YES|NO
   $ sudo defaults write com.apple.DiskManagement Log YES|NO
Logs will go to the "/Library/Logs/DiskManagement.log" file.
To cause diskmanagementd to wait 20 seconds near its beginning before
accepting client sessions:
   $ sudo defaults write com.apple.DiskManagement Wait YES
To cause diskmanagementd to keep running even if no more
client sessions exist:
   $ sudo defaults write com.apple.DiskManagement Stay YES
Additionally, a separate "/Library/Logs/DiskManagementTest.log"
file is always active for the "dmtest test" verbs.
logout
[Opération terminée]sudo ~/Desktop/dmtest ensureRecoveryPartition /Volumes/FRANZ /Volumes/"Recovery HD"/com.apple.recovery.boot/BaseSystem.dmg 0 0 /Volumes/"Recovery HD"/com.apple.recovery.boot/BaseSystem.chunklistDonor=disk1s2 Image=/Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg DoVerifyImage=0 DoRepairDonor=0
 ChunkList=/Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.chunklist
Creating recovery partition: async call initiate
Creating recovery partition: async call exit success; operation now in progress
->-[Local dmAsyncStartedForDisk:]: del callback: DADR=0x7fb5fa614e80
<--[Local dmAsyncStartedForDisk:]
->-[Local dmAsyncMessageForDisk:string:dictionary:]: del callback: DADR=0x7fb5fa41bb70=disk1s2 str=Attaching disk image /Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg dict=(null)
<--[Local dmAsyncMessageForDisk:string:dictionary:]
->-[Local dmAsyncProgressForDisk:barberPole:percent:]: del callback: DADR=0x0=(null) pole/pct=0/6.000000
<--[Local dmAsyncProgressForDisk:barberPole:percent:]
->-[Local dmAsyncProgressForDisk:barberPole:percent:]: del callback: DADR=0x0=(null) pole/pct=0/12.000000
<--[Local dmAsyncProgressForDisk:barberPole:percent:]
->-[Local dmAsyncMessageForDisk:string:dictionary:]: del callback: DADR=0x7fb5fa614e80=disk2 str=Detaching Base System disk image dict=(null)
<--[Local dmAsyncMessageForDisk:string:dictionary:]
->-[Local dmAsyncProgressForDisk:barberPole:percent:]: del callback: DADR=0x7fb5fa41bb70=disk1s2 pole/pct=0/100.000000
<--[Local dmAsyncProgressForDisk:barberPole:percent:]
->-[Local dmAsyncFinishedForDisk:mainError:detailError:dictionary:]: del callback: DADR=0x7fb5fa41bb70=disk1s2 errMain=-69735 errAux=0 infoDict=(null)
<--[Local dmAsyncFinishedForDisk:mainError:detailError:dictionary:]
Creating recovery partition: finished
Error (async): The provided disk image is not a bootable Mac OS X system volume (-69735)Error (async): The provided disk image is not a bootable Mac OS X system volume (-69735)diskutil listMacBook-Pro-de-franz-2:~ franzbis$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            250.1 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                  Apple_HFS FRANZ                   499.8 GB   disk1s2 
	