M
MBP-de-ni00ja:~ niooja$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh 159.3 GB disk0s2
3: Apple_HFS Recovery HD 649.9 MB disk0s6
4: Apple_CoreStorage BIS 158.6 GB disk0s4
5: Apple_Boot Recovery HD 650.0 MB disk0s5
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS BIS +158.2 GB disk1
Logical Volume on disk0s4
B91FAB50-3162-48FA-88DD-4BF143614386
Unencrypted
MBP-de-ni00ja:~ niooja$
3: Apple_HFS Recovery HD 649.9 MB disk0s6
diskutil mount disk0s5 ; sudo asr restore --s /Volumes/"Recovery HD 1" --t /Volumes/"Recovery HD" --erase --noprompt
MBP-de-ni00ja:~ niooja$ diskutil mount disk0s5 ; sudo asr restore --s /Volumes/"Recovery HD 1" --t /Volumes/"Recovery HD" --erase --noprompt
Volume Recovery HD on disk0s5 mounted
Password:
Validating target...done
Validating source...done
Validating sizes...
Not enough space on /dev/disk0s6 to restore
MBP-de-ni00ja:~ niooja$
df -H
Last login: Thu Nov 8 23:20:16 on ttys000
MBP-de-ni00ja:~ niooja$ df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 159G 57G 103G 36% 460019 4294507260 0% /
devfs 187k 187k 0B 100% 634 0 100% /dev
/dev/disk1 158G 16G 142G 10% 435220 4294532059 0% /Volumes/BIS
map -hosts 0B 0B 0B 100% 0 0 100% /net
map auto_home 0B 0B 0B 100% 0 0 100% /home
/dev/disk0s6 650M 25M 625M 4% 85 4294967194 0% /Volumes/Recovery HD
MBP-de-ni00ja:~ niooja$
diskutil mount disk0s5 ; sudo cp -av /Volumes/"Recovery HD 1"/* /Volumes/"Recovery HD"
ls -R /Volumes/"Recovery HD"
MBP-de-ni00ja:~ niooja$ ls -R /Volumes/"Recovery HD"
System com.apple.boot.P com.apple.recovery.boot
/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.P:
Library System usr
/Volumes/Recovery HD/com.apple.boot.P/Library:
Preferences
/Volumes/Recovery HD/com.apple.boot.P/Library/Preferences:
SystemConfiguration
/Volumes/Recovery HD/com.apple.boot.P/Library/Preferences/SystemConfiguration:
com.apple.Boot.plist
/Volumes/Recovery HD/com.apple.boot.P/System:
Library
/Volumes/Recovery HD/com.apple.boot.P/System/Library:
PrelinkedKernels
/Volumes/Recovery HD/com.apple.boot.P/System/Library/PrelinkedKernels:
prelinkedkernel
/Volumes/Recovery HD/com.apple.boot.P/usr:
standalone
/Volumes/Recovery HD/com.apple.boot.P/usr/standalone:
i386
/Volumes/Recovery HD/com.apple.boot.P/usr/standalone/i386:
EfiLoginUI
/Volumes/Recovery HD/com.apple.boot.P/usr/standalone/i386/EfiLoginUI:
Lucida13.efires disk_passwordUI.efires recoveryUI.efires
Lucida13White.efires flag_picker.efires recovery_user.efires
appleLogo.efires guest_userUI.efires sound.efires
battery.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.plist
MBP-de-ni00ja:~ niooja$
sudo rm -rf /Volumes/"Recovery HD"/com.apple.boot.P
sw_vers -productVersion
sudo bless --folder /Volumes/"Recovery HD"/com.apple.recovery.boot --file /Volumes/"Recovery HD"/com.apple.recovery.boot/boot.efi --label "Récupération 10.13.6"
bless --info /Volumes/"Recovery HD"
MBP-de-ni00ja:~ niooja$ sudo bless --folder /Volumes/"Recovery HD"/com.apple.recovery.boot --file /Volumes/"Recovery HD"/com.apple.recovery.boot/boot.efi --label "Récupération 10.13.6"
Password:
MBP-de-ni00ja:~ niooja$ bless --info /Volumes/"Recovery HD"
finderinfo[0]: 157 => Blessed System Folder is /Volumes/Recovery HD/com.apple.recovery.boot
finderinfo[1]: 162 => Blessed System File is /Volumes/Recovery HD/com.apple.recovery.boot/boot.efi
finderinfo[2]: 0 => Open-folder linked list empty
finderinfo[3]: 0 => No alternate OS blessed file/folder
finderinfo[4]: 0 => Unused field unset
finderinfo[5]: 157 => OS X blessed folder is /Volumes/Recovery HD/com.apple.recovery.boot
64-bit VSDB volume id: 0xEA0861221AEC775B
MBP-de-ni00ja:~ niooja$
diskutil list
diskutil cs list
Last login: Fri Nov 9 11:01:56 on console
MBP-de-ni00ja:~ niooja$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh 159.3 GB disk0s2
3: Apple_HFS Recovery HD 649.9 MB disk0s3
4: Apple_CoreStorage BIS 158.6 GB disk0s4
5: Apple_Boot Recovery HD 650.0 MB disk0s5
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS BIS +158.2 GB disk1
Logical Volume on disk0s4
B91FAB50-3162-48FA-88DD-4BF143614386
Unencrypted
MBP-de-ni00ja:~ niooja$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group F6B6A23E-F403-46C0-9A21-AE892341CA47
=========================================================
Name: BIS
Status: Online
Size: 158563217408 B (158.6 GB)
Free Space: 18919424 B (18.9 MB)
|
+-< Physical Volume A2C76025-FBF1-49FD-B276-051CC9D24D89
| ----------------------------------------------------
| Index: 0
| Disk: disk0s4
| Status: Online
| Size: 158563217408 B (158.6 GB)
|
+-> Logical Volume Family 58F03C31-1727-439D-8289-8BE688C33E05
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume B91FAB50-3162-48FA-88DD-4BF143614386
---------------------------------------------------
Disk: disk1
Status: Online
Size (Total): 158191976448 B (158.2 GB)
Revertible: Yes (no decryption required)
LV Name: BIS
Volume Name: BIS
Content Hint: Apple_HFS
MBP-de-ni00ja:~ niooja$
diskutil coreStorage deleteLVG F6B6A23E-F403-46C0-9A21-AE892341CA47 ; diskutil list
MBP-de-ni00ja:~ niooja$ diskutil coreStorage deleteLVG F6B6A23E-F403-46C0-9A21-AE892341CA47 ; diskutil list
Started CoreStorage operation
Unmounting Logical Volumes
Destroying Logical Volume Group
Erasing disk0s4
Initialized /dev/rdisk0s4 as a 148 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
Finished CoreStorage operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh 159.3 GB disk0s2
3: Apple_HFS Recovery HD 649.9 MB disk0s3
4: Apple_HFS Untitled 158.6 GB disk0s4
MBP-de-ni00ja:~ niooja$