Peut importe. Dis moi. Je l’amene demain au bureau, je la branche au mac et je recupere le fichier que tu m’indiques.
sudo cp /usr/bin/du /Volumes/KINGSTON
sudo cp /usr/bin/du ~/Desktop
diskutil list
-bash-3.2# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *1.4 GB disk0
1: Apple_partition_map 30.7 KB disk0s1
2: Apple_Driver_ATAPI 2.0 KB disk0s2
3: Apple_HFS Mac OS X Base System 1.4 GB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk1
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk2
1: EFI 209.7 MB disk2s1
2: Apple_HFS Antoni 499.2 GB disk2s2
3: Apple_Boot Recovery HD 650.0 MB disk2s3
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk3
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk4
/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk5
/dev/disk6
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk6
/dev/disk7
#: TYPE NAME SIZE IDENTIFIER
0: untitled *6.3 MB disk7
/dev/disk8
#: TYPE NAME SIZE IDENTIFIER
0: untitled *2.1 MB disk8
/dev/disk9
#: TYPE NAME SIZE IDENTIFIER
0: untitled *1.0 MB disk9
/dev/disk10
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk10
/dev/disk11
#: TYPE NAME SIZE IDENTIFIER
0: untitled *524.3 KB disk11
/dev/disk12
#: TYPE NAME SIZE IDENTIFIER
0: untitled *1.0 MB disk12
-bash-3.2#
diskutil info /Volumes/Antoni
ls /Volumes/Antoni
bless --info /Volumes/Antoni
-bash-3.2# diskutil info /Volumes/Antoni
Device Identifier: disk1s2
Device Node: /dev/disk1s2
Whole: No
Part of Whole: disk1
Device / Media Name: Antoni
Volume Name: Antoni
Mounted: Yes
Mount Point: /Volumes/Antoni
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 40960 KB at offset 0xe8e000
Owners: Enabled
Partition Type: Apple_HFS
OS Can Be Installed: Yes
Recovery Disk: disk1s3
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Volume UUID: AA5CB09B-2BE8-33B9-B202-1A3B510217BD
Disk / Partition UUID: E9ECFB53-40E0-46E6-AC9F-A03A80B08E20
Total Size: 499.2 GB (499248103424 Bytes) (exactly 975093952 512-Byte-Units)
Volume Free Space: 478.7 GB (478685356032 Bytes) (exactly 934932336 512-Byte-Units)
Device Block Size: 512 Bytes
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: External
Removable Media: No
-bash-3.2# ls /Volumes/Antoni
.DS_Store Volumes
.DocumentRevisions-V100 bin
.OSInstallerMessages cores
.Spotlight-V100 dev
.TALRestoreApps etc
.Trashes home
.file installer.failurerequests
.fseventsd macOS Install Data
.hotfiles.btree net
.vol private
Applications sbin
Library tmp
Network usr
System var
Users
-bash-3.2# bless --info /Volumes/Antoni
finderinfo[0]: 363438 => Blessed System Folder is /Volumes/Antoni/System/Library/CoreServices
finderinfo[1]: 788772 => Blessed System File is /Volumes/Antoni/System/Library/CoreServices/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]: 363438 => OS X blessed folder is /Volumes/Antoni/System/Library/CoreServices
64-bit VSDB volume id: 0xF417521FE4DE4C15
-bash-3.2#
il s’est effectivement lancé. Mais il est sous El Capitan.
sudo rm -rf /"macOS Install Data"
permission denied
Last login: Tue Feb 13 11:47:40 on console
mbp-de-antoni:~ antonimarchesi$ sudo rm -rf /"macOS Install Data"
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
rm: /macOS Install Data/Locked Files/.disk_label: Operation not permitted
rm: /macOS Install Data/Locked Files/.disk_label.contentDetails: Operation not permitted
rm: /macOS Install Data/Locked Files/.disk_label_2x: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/.disk_label: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/.disk_label.contentDetails: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/.disk_label_2x: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/boot.efi: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/com.apple.Boot.plist: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/PlatformSupport.plist: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/prelinkedkernel: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/SystemVersion.plist: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/appleLogo.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/battery.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/disk_passwordUI.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/flag_picker.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/guest_userUI.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/loginui.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/Lucida13.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/Lucida13White.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/recovery_user.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/recoveryUI.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/sound.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI/unknown_userUI.efires: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386/EfiLoginUI: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone/i386: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr/standalone: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files/usr: Operation not permitted
rm: /macOS Install Data/Locked Files/Boot Files: Operation not permitted
rm: /macOS Install Data/Locked Files/cleanup_installer: Operation not permitted
rm: /macOS Install Data/Locked Files/MacOSXInstaller.choiceChanges: Operation not permitted
rm: /macOS Install Data/Locked Files/minstallconfig.xml: Operation not permitted
rm: /macOS Install Data/Locked Files/OSInstallAttr.plist: Operation not permitted
rm: /macOS Install Data/Locked Files: Operation not permitted
rm: /macOS Install Data/MacOSXInstaller.choiceChanges: Operation not permitted
rm: /macOS Install Data/minstallconfig.xml: Operation not permitted
rm: /macOS Install Data/OSInstallAttr.plist: Operation not permitted
rm: /macOS Install Data: Operation not permitted
mbp-de-antoni:~ antonimarchesi$
rm -rf /Volumes/Antoni/"macOS Install Data"
-bash-3.2# diskutil info /Volumes/Antoni
Device Identifier: disk1s2
Device Node: /dev/disk1s2
Whole: No
Part of Whole: disk1
Device / Media Name: Antoni
Volume Name: Antoni
Mounted: Yes
Mount Point: /Volumes/Antoni
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 40960 KB at offset 0xe8e000
Owners: Enabled
Partition Type: Apple_HFS
OS Can Be Installed: Yes
Recovery Disk: disk1s3
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Volume UUID: AA5CB09B-2BE8-33B9-B202-1A3B510217BD
Disk / Partition UUID: E9ECFB53-40E0-46E6-AC9F-A03A80B08E20
Total Size: 499.2 GB (499248103424 Bytes) (exactly 975093952 512-Byte-Units)
Volume Free Space: 478.5 GB (478483386368 Bytes) (exactly 934537864 512-Byte-Units)
Device Block Size: 512 Bytes
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: External
Removable Media: No
-bash-3.2# ls /Volumes/Antoni
.DS_Store Volumes
.DocumentRevisions-V100 bin
.OSInstallerMessages cores
.Spotlight-V100 dev
.TALRestoreApps etc
.Trashes home
.file installer.failurerequests
.fseventsd macOS Install Data
.hotfiles.btree net
.vol private
Applications sbin
Library tmp
Network usr
System var
Users
-bash-3.2# bless --info /Volumes/Antoni
finderinfo[0]: 799686 => Blessed System Folder is /Volumes/Antoni/macOS Install Data/Locked Files/Boot Files
finderinfo[1]: 799707 => Blessed System File is /Volumes/Antoni/macOS Install Data/Locked Files/Boot Files/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]: 799686 => OS X blessed folder is /Volumes/Antoni/macOS Install Data/Locked Files/Boot Files
64-bit VSDB volume id: 0xF417521FE4DE4C15
-bash-3.2#
rm -rf /Volumes/Antoni/"macOS Install Data"
bless --folder /Volumes/Antoni/System/Library/CoreServices --file /Volumes/Antoni/System/Librabry/CoreServices/boot.efi
kextcache -u /Volumes/Antoni
bless --info /Volumes/Antoni
-bash-3.2# rm -rf /Volumes/Antoni/"macOS Install Data"
-bash-3.2# bless --folder /Volumes/Antoni/System/Library/CoreServices --file /Volumes/Antoni/System/Librabry/CoreServices/boot.efi
Error while getting file ID of /Volumes/Antoni/System/Librabry/CoreServices/boot.efi. Ignoring...
-bash-3.2# kextcache -u /Volumes/Antoni
-bash-3.2# bless --info /Volumes/Antoni
finderinfo[0]: 363438 => Blessed System Folder is /Volumes/Antoni/System/Library/CoreServices
finderinfo[1]: 0 => No Blessed System File
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]: 363438 => OS X blessed folder is /Volumes/Antoni/System/Library/CoreServices
64-bit VSDB volume id: 0xF417521FE4DE4C15
-bash-3.2#
Error while getting file ID of /Volumes/Antoni/System/Librabry/CoreServices/boot.efi. Ignoring...