iMac clef USB bootable

visiblement c'est ok, le capitaine est cloné

Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ sudo asr restore --s /Volumes/"El Capitan" --t /Volumes/CAP --erase --noprompt
Password:
    Validating target...done
    Validating source...done
    Validating sizes...done
    Restoring  ....10....20....30....40....50....60....70....80....90....100
    Verifying  ....10....20....30....40....50....60....70....80....90....100
    Restored target device is /dev/disk5s6.
    Remounting target volume...done
imac-de-daniel:~ daniellauzy$
 
Oui (enfin ! :hilarious: )

Passe la commande :
Bloc de code:
diskutil umountDisk force disk4

  • la commande démonte de force les volumes du disque du DDE

Poste le retour.
 
Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ diskutil info /Volumes/"El Capitan"
   Device Identifier:         disk4s12
   Device Node:               /dev/disk4s12
   Whole:                     No
   Part of Whole:             disk4

   Volume Name:               El Capitan
   Mounted:                   Yes
   Mount Point:               /Volumes/El Capitan

   Partition Type:            Apple_HFS
   File System Personality:   Journaled HFS+
   Type (Bundle):             hfs
   Name (User Visible):       Mac OS Extended (Journaled)
   Journal:                   Journal size 16384 KB at offset 0x33e000
   Owners:                    Disabled

   OS Can Be Installed:       Yes
   Media Type:                Generic
   Protocol:                  USB
   SMART Status:              Not Supported
   Volume UUID:               E0F19EF9-15A7-3280-A827-85FFF3EA7499
   Disk / Partition UUID:     0870D0EB-7A31-437D-96C2-70487D559B08
   Partition Offset:          2779709784064 Bytes (5429120672 512-Byte-Device-Blocks)

   Disk Size:                 8.0 GB (8000000000 Bytes) (exactly 15625000 512-Byte-Units)
   Device Block Size:         512 Bytes

   Volume Total Space:        8.0 GB (8000000000 Bytes) (exactly 15625000 512-Byte-Units)
   Volume Used Space:         6.5 GB (6510477312 Bytes) (exactly 12715776 512-Byte-Units) (81.4%)
   Volume Free Space:         1.5 GB (1489522688 Bytes) (exactly 2909224 512-Byte-Units) (18.6%)
   Allocation Block Size:     4096 Bytes

   Read-Only Media:           No
   Read-Only Volume:          No

   Device Location:           External
   Removable Media:           Fixed


imac-de-daniel:~ daniellauzy$
 
Il n'y avait pas de lézard dans le volume source. Comme le clonage a fini par fonctionner > passe la commande d'éjection des volumes du DDE que j'ai donnée en dernier. Poste le retour.
 
trop fort et ça on le savait déjà,

Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ diskutil umountDisk force disk4
Forced unmount of all volumes on disk4 was successful
imac-de-daniel:~ daniellauzy$
 
je recommence

Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ diskutil umountDisk force disk4
Forced unmount of all volumes on disk4 was successful
imac-de-daniel:~ daniellauzy$ imac-de-daniel:~ daniellauzy$
-bash: imac-de-daniel:~: command not found
imac-de-daniel:~ daniellauzy$ imac-de-daniel:~ daniellauzy$ diskutil umountDisk force disk4
-bash: imac-de-daniel:~: command not found
imac-de-daniel:~ daniellauzy$ Forced unmount of all volumes on disk4 was successful
-bash: Forced: command not found
imac-de-daniel:~ daniellauzy$ imac-de-daniel:~ daniellauzy$
-bash: imac-de-daniel:~: command not found
imac-de-daniel:~ daniellauzy$
 
Alors tu peux débrancher le DDE du Mac (en tirant sur le cordon). Ne laisse que la clé branchée.

Cela fait > redémarre une fois (car les volumes renommés de la clé ont obtenu un index 1 pour le kernel). De retour dans ta session > passe la commande :
Bloc de code:
df -H

  • et poste le tableau de l'occupation des volumes.
 
Je peux donc effacer maintenant du DDE les volumes (doublons) qui sont sur ma clef USB.
Grand merci a toi pour ta patience et ta persévérance. c'est vraiment très sympa et j'ai surtout beaucoup appris du terminal, c'est drôlement interessant. Bonne journée.
 
Attends ! --> il faut encore vérifier si les volumes de la clé ont bien un chemin de démarrage. Effectue la démarche de mon message #67 et on pourra vérifier alors.
 
Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ df -H
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk2s1    2.1T   420G   1.7T    20% 1449736 9223372036853326071    0%   /
devfs           207k   207k     0B   100%     700                   0  100%   /dev
/dev/disk2s4    2.1T   2.1G   1.7T     1%       1 9223372036854775806    0%   /private/var/vm
map -hosts        0B     0B     0B   100%       0                   0  100%   /net
map auto_home     0B     0B     0B   100%       0                   0  100%   /home
/dev/disk4s2     10G   6.1G   4.1G    60%    1175          4294966104    0%   /Volumes/macOS Mojave 1014 Install
/dev/disk4s3     10G   4.8G   5.4G    48%    4195          4294963084    0%   /Volumes/ OS X Lion
/dev/disk4s5     10G   5.6G   4.6G    56%    5239          4294962040    0%   /Volumes/Mavericks
/dev/disk4s4     10G   4.7G   5.5G    47%    4526          4294962753    0%   /Volumes/Mountain Lion
/dev/disk4s6     10G   6.5G   3.7G    64%    3455          4294963824    0%   /Volumes/El Capitan
/dev/disk4s7    9.5G   5.5G   4.0G    58%    1194          4294966085    0%   /Volumes/High Sierra
/dev/disk3s2    4.0T   483G   3.5T    13% 1865092          4293102187    0%   /Volumes/Sauvegarde
/dev/disk3s3    1.0T   666M   1.0T     1%     149          4294967130    0%   /Volumes/Dispo
imac-de-daniel:~ daniellauzy$
 
je refais

Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ df -H
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk2s1    2.1T   420G   1.7T    20% 1449735 9223372036853326072    0%   /
devfs           207k   207k     0B   100%     700                   0  100%   /dev
/dev/disk2s4    2.1T   2.1G   1.7T     1%       1 9223372036854775806    0%   /private/var/vm
map -hosts        0B     0B     0B   100%       0                   0  100%   /net
map auto_home     0B     0B     0B   100%       0                   0  100%   /home
/dev/disk4s2     10G   6.1G   4.1G    60%    1175          4294966104    0%   /Volumes/macOS Mojave 1014 Install
/dev/disk4s3     10G   4.8G   5.4G    48%    4195          4294963084    0%   /Volumes/ OS X Lion
/dev/disk4s5     10G   5.6G   4.6G    56%    5239          4294962040    0%   /Volumes/Mavericks
/dev/disk4s4     10G   4.7G   5.5G    47%    4526          4294962753    0%   /Volumes/Mountain Lion
/dev/disk4s6     10G   6.5G   3.7G    64%    3455          4294963824    0%   /Volumes/El Capitan
/dev/disk4s7    9.5G   5.5G   4.0G    58%    1194          4294966085    0%   /Volumes/High Sierra
/dev/disk3s2    4.0T   483G   3.5T    13% 1865092          4293102187    0%   /Volumes/Sauvegarde
imac-de-daniel:~ daniellauzy$
 
Tous les volumes de la clé sont occupés comme attendus. Passe la commande à rallonges :
Bloc de code:
bless --info /Volumes/"macOS Mojave 1014 Install" ; bless --info /Volumes/" OS X Lion" ; bless --info /Volumes/Mavericks ; bless --info /Volumes/"Mountain Lion" ; bless --info /Volumes/"El Capitan" ; bless --info /Volumes/"High Sierra"

  • qui affiche le tableau des chemins de démarrage (ou de l'absence de chemin de démarrage) => des 6 volumes de la clé

Poste le tableau.
 
ça a l'air tout ok
 
Passe la commande informative de mon message #72 => et poste le tableau retourné.
 
Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ bless --info /Volumes/"macOS Mojave 1014 Install" ; bless --info /Volumes/" OS X Lion" ; bless --info /Volumes/Mavericks ; bless --info /Volumes/"Mountain Lion" ; bless --info /Volumes/"El Capitan" ; bless --info /Volumes/"High Sierra"
finderinfo[0]:   1113 => Blessed System Folder is /Volumes/macOS Mojave 1014 Install/System/Library/CoreServices
finderinfo[1]:   1126 => Blessed System File is /Volumes/macOS Mojave 1014 Install/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]:   1113 => OS X blessed folder is /Volumes/macOS Mojave 1014 Install/System/Library/CoreServices
64-bit VSDB volume id:  0xC04D77DADD88A7B4
finderinfo[0]:      0 => No Blessed System Folder
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]:      0 => No OS 9 + X blessed X folder
64-bit VSDB volume id:  0x85584CC7AF82BB78
finderinfo[0]:   1365 => Blessed System Folder is /Volumes/Mavericks/.IABootFiles
finderinfo[1]:   1383 => Blessed System File is /Volumes/Mavericks/.IABootFiles/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]:   1365 => OS X blessed folder is /Volumes/Mavericks/.IABootFiles
64-bit VSDB volume id:  0x7460C4DDE2AB3DD0
finderinfo[0]:      0 => No Blessed System Folder
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]:      0 => No OS 9 + X blessed X folder
64-bit VSDB volume id:  0xDB9A7771048105C3
finderinfo[0]:    712 => Blessed System Folder is /Volumes/El Capitan/.IABootFiles
finderinfo[1]:   4059 => Blessed System File is /Volumes/El Capitan/.IABootFiles/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]:    712 => OS X blessed folder is /Volumes/El Capitan/.IABootFiles
64-bit VSDB volume id:  0x602710E5C572EB0F
finderinfo[0]:   1077 => Blessed System Folder is /Volumes/High Sierra/System/Library/CoreServices
finderinfo[1]:   1091 => Blessed System File is /Volumes/High Sierra/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]:   1077 => OS X blessed folder is /Volumes/High Sierra/System/Library/CoreServices
64-bit VSDB volume id:  0x597497999F792631
imac-de-daniel:~ daniellauzy$
 
Mojave > Mavericks > El Capitan > High Sierra --> OK : volumes ayant un chemin de démarrage => démarrables.

Lion > Mountain Lion --> KO : volumes sans chemin de démarrage => indémarrables.

Le volume Lion a encore un espace libre en tête d'intitulé : passe la commande -->
Bloc de code:
diskutil rename disk4s3 Lion

  • qui le renomme Lion (sans espace libre initial)

Poste le retour.
 
Bloc de code:
imac-de-daniel:~ daniellauzy$ diskutil rename disk4s3 Lion
Volume on disk4s3 renamed to Lion
imac-de-daniel:~ daniellauzy$
 
Passe encore la commande (c'est bientôt fini !) :
Bloc de code:
sudo bless --folder /Volumes/Lion/System/Library/CoreServices --file /Volumes/Lion/System/Library/CoreServices/boot.efi ; sudo bless --folder /Volumes/"Mountain Lion"/System/Library/CoreServices --file /Volumes/"Mountain Lion"/System/Library/CoreServices/boot.efi

  • la commande crée les 2 chemins de démarrage des volumes Lion & Mountain Lion. Elle passe sans affichage, si elle passe

=> est-ce que ça a été le cas ?
 
ok, voici: pourtant le volume Lion a l'air bon

Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ sudo bless --folder /Volumes/Lion/System/Library/CoreServices --file /Volumes/Lion/System/Library/CoreServices/boot.efi ; sudo bless --folder /Volumes/"Mountain Lion"/System/Library/CoreServices --file /Volumes/"Mountain Lion"/System/Library/CoreServices/boot.efi
Password:
Sorry, try again.
Password:
imac-de-daniel:~ daniellauzy$
 
Bloc de code:
imac-de-daniel:~ daniellauzy$
imac-de-daniel:~ daniellauzy$ sudo bless --folder /Volumes/Lion/System/Library/CoreServices --file /Volumes/Lion/System/Library/CoreServices/boot.efi ; sudo bless --folder /Volumes/"Mountain Lion"/System/Library/CoreServices --file /Volumes/"Mountain Lion"/System/Library/CoreServices/boot.efi
imac-de-daniel:~ daniellauzy$