10.13 High Sierra Installation OS X Base impossible : Permission denied

Ah ! je vois... Il y a 6,5 Go d'occupation du grand volume. On va supprimer / recréer BOOT à une taille supérieure (en respectant les 7,8 Go d'occupation de Sans titre).

- passe la commande (copier-coller à rebours - copie-la bien jusqu'au 0b final) :​
Bloc de code:
diskutil eraseVolume free null disk3s3 ; diskutil resizeVolume disk3s2 0b ; diskutil resizeVolume disk3s2 20g jhfs+ BOOT 0b

  • la commande supprime BOOT > récupère son espace à Sans titre > rétrécit Sans titre à 20 Go en recréant un BOOT d'environ 10 Go

Poste le retour.
 
Bloc de code:
-bash-3.2# -bash-3.2# diskutil eraseVolume free null disk3s3 ; diskutil resizeVolume disk3s2 0b ; diskutil resizeVolume disk3s2 20g jhfs+ BOOT 0b
-bash: -bash-3.2#: command not found
Started erase on disk3s3 BOOT
Unmounting disk
Finished erase on disk3
Resizing to full size (fit to fill)
Started partitioning on disk3s2 Sans titre
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk3s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Sans titre appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Modifying partition map
Growing file system
Finished partitioning on disk3s2 Sans titre
/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *32.0 GB    disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  AppResizing to full size (fit to fill)
Started partitioning on disk3s2 Sans titre
Error: -69743: The new size must be different than the existing size
Resizing to 20000000000 bytes and adding 1 partition
Started partitioning on disk3s2 Sans titre
Error: -69743: The new size must be different than the existing size
-bash-3.2# Started erase on disk3s3 BOOT
-bash: Started: command not found
-bash-3.2# Unmounting disk
-bash: Unmounting: command not found
-bash-3.2# Finished erase on disk3
-bash: Finished: command not found
-bash-3.2# Resizing to full size (fit to fill)
-bash: syntax error near unexpected token `('
-bash-3.2# Started partitioning on disk3s2 Sans titre
-bash: Started: command not found
-bash-3.2# Verifying the disk
-bash: Verifying: command not found
-bash-3.2# Verifying file system
-bash: Verifying: command not found
-bash-3.2# Volume was successfully unmounted
-bash: Volume: command not found
-bash-3.2# Performing fsck_hfs -fn -x /dev/rdisk3s2
-bash: Performing: command not found
-bash-3.2# Checking Journaled HFS Plus volume
-bash: Checking: command not found
-bash-3.2# Checking extents overflow file
-bash: Checking: command not found
-bash-3.2# Checking catalog file
-bash: Checking: command not found
-bash-3.2# Checking multi-linked files
-bash: Checking: command not found
-bash-3.2# Checking catalog hierarchy
-bash: Checking: command not found
-bash-3.2# Checking extended attributes file
-bash: Checking: command not found
-bash-3.2# Checking volume bitmap
-bash: Checking: command not found
-bash-3.2# Checking volume information
-bash: Checking: command not found
-bash-3.2# The volume Sans titre appears to be OK
-bash: The: command not found
-bash-3.2# File system check exit code is 0
-bash: File: command not found
-bash-3.2# Restoring the original state found as mounted
-bash: Restoring: command not found
-bash-3.2# Resizing
-bash: Resizing: command not found
-bash-3.2# Modifying partition map
-bash: Modifying: command not found
-bash-3.2# Growing file system
-bash: Growing: command not found
-bash-3.2# Finished partitioning on disk3s2 Sans titre
-bash: Finished: command not found
-bash-3.2# /dev/disk3 (external, physical):
-bash: syntax error near unexpected token `external,'
-bash-3.2#    #:                       TYPE NAME                    SIZE       IDENTIFIER
-bash-3.2#    0:      GUID_partition_scheme                        *32.0 GB    disk3
-bash: 0:: command not found
-bash-3.2#    1:                        EFI EFI                     209.7 MB   disk3s1
-bash: 1:: command not found
-bash-3.2#    2:                  Apple_HFS Sans titre              31.7 GB    disk3s2
-bash: 2:: command not found
-bash-3.2# Resizing to 20000000000 bytes and adding 1 partition
-bash: Resizing: command not found
-bash-3.2# Started partitioning on disk3s2 Sans titre
-bash: Started: command not found
-bash-3.2# Verifying the disk
-bash: Verifying: command not found
-bash-3.2# Verifying file system
-bash: Verifying: command not found
-bash-3.2# Volume was successfully unmounted
-bash: Volume: command not found
-bash-3.2# Performing fsck_hfs -fn -x /dev/rdisk3s2
-bash: Performing: command not found
-bash-3.2# Checking Journaled HFS Plus volume
-bash: Checking: command not found
-bash-3.2# Checking extents overflow file
-bash: Checking: command not found
-bash-3.2# Checking catalog file
-bash: Checking: command not found
-bash-3.2# Checking multi-linked files
-bash: Checking: command not found
-bash-3.2# Checking catalog hierarchy
-bash: Checking: command not found
-bash-3.2# Checking extended attributes file
-bash: Checking: command not found
-bash-3.2# Checking volume bitmap
-bash: Checking: command not found
-bash-3.2# Checking volume information
-bash: Checking: command not found
-bash-3.2# The volume Sans titre appears to be OK
-bash: The: command not found
-bash-3.2# File system check exit code is 0
-bash: File: command not found
-bash-3.2# Restoring the original state found as mounted
-bash: Restoring: command not found
-bash-3.2# Resizing
-bash: Resizing: command not found
-bash-3.2# Shrinking file system
-bash: Shrinking: command not found
-bash-3.2# Modifying partition map
-bash: Modifying: command not found
-bash-3.2# Initialized /dev/rdisk3s3 as a 11 GB case-insensitive HFS Plus volume with a 8192k journal
-bash: Initialized: command not found
-bash-3.2# Mounting disk
-bash: Mounting: command not found
-bash-3.2# Finished partitioning on disk3s2 Sans titre
-bash: Finished: command not found
-bash-3.2# /dev/disk3 (external, physical):
-bash: syntax error near unexpected token `external,'
-bash-3.2#    #:                       TYPE NAME                    SIZE       IDENTIFIER
-bash-3.2#    0:      GUID_partition_scheme                        *32.0 GB    disk3
-bash: 0:: command not found
-bash-3.2#    1:                        EFI EFI                     209.7 MB   disk3s1
-bash: 1:: command not found
-bash-3.2#    2:                  Apple_HFS Sans titre              20.0 GB    disk3s2
-bash: 2:: command not found
-bash-3.2#    3:                  Apple_HFS BOOT                    11.5 GB    disk3s3
-bash: 3:: command not found
-bash-3.2# -bash-3.2#
 
Ça a fini par le faire :hilarious:

- repasse la commande :​
Bloc de code:
asr restore --s / --t /Volumes/BOOT --erase --noprompt

  • qui restaure OS X Base System => sur BOOT

Poste le retour.

Note : je fais une pause. Je reviendrai plus tard dans ce fil pour finaliser l'opération.
 
Bien sûr, c'est déjà super de pouvoir m'aider à trouver une solution !!
Je t'envoi le retour dès que le restoring est effectué.
Merci à toi

20200309_193946.jpg
 
Dernière édition par un modérateur:
Bien bizarres --> ces retours de commandes.

- redémarre > la touche "alt" pressée pour obtenir l'écran de choix du volume de démarrage. Tu vas voir 2 volumes OS X Base System affichés => choisis celui qui a une icône orange d'USB (à droite sans doute de l'écran) > démarre dessus.​

Quand tu as l'écran aux 4 Utilitaires macOS > repasse un :
Bloc de code:
diskutil list

  • et poste le tableau des disques.
 
En maintient Alt je tombe de nouveau sur l'écran des 4 utilitaires. Je suis allé sur réinstaller os et voila ce que je vois :
20200309_210831.jpg

Je tape la commande et j'envoie le retour
 
Dernière édition par un modérateur:
Il faut reformater le grand volume OS X Base System d'abord.

- on a créé un clone de volume de secours démarrable sur la clé USB => uniquement en vue de pouvoir effectuer ce reformatage préalable à la réinstallation.​
 
Bloc de code:
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            749.3 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS OS X Base System       +748.9 GB   disk1
                                 Logical Volume on disk0s2
                                 24CCB074-8713-445A-86EA-34ADB9E70332
                                 Unencrypted

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +5.2 MB     disk2

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *32.0 GB    disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS Sans titre              20.0 GB    disk3s2
   3:                  Apple_HFS OS X Base System        11.0 GB    disk3s3
   4:                 Apple_Boot Recovery HD             650.0 MB   disk3s4

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk4

/dev/disk5 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk5

/dev/disk6 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk6

/dev/disk7 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk7

/dev/disk8 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk8

/dev/disk9 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk9

/dev/disk10 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +12.6 MB    disk10

/dev/disk11 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +4.2 MB     disk11

/dev/disk12 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk12

/dev/disk13 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk13

/dev/disk14 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk14

/dev/disk15 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk15

/dev/disk16 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk16

/dev/disk17 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk17

/dev/disk18 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk18

/dev/disk19 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk19

/dev/disk20 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk20

-bash-3.2#

Comment dois je proceder ?
 
Passe la commande :
Bloc de code:
diskutil eraseVolume jhfs+ "Macintosh HD" disk1

  • ("Macintosh HD" avec les "") la commande reformate le grand volume OS X Base System et le renomme Macintosh HD

Poste le retour.
 
Tu es toujours démarré sur le grand volume => donc tu ne peux pas le reformater.

- à l'écran de choix du volume de démarrage (alt) : est-ce que tu avais bien 2 volumes OS X Base System affichés ?​
 
Passe la commande (l'anti-slash \ se tape par la combinaison de touches : alt maj : )
Bloc de code:
diskutil info /Vol*/OS*\1

  • la commande affiche un tableau d'informations sur un volume intitulé OS X Base System 1 (présumablement le volume démarrable de la clé qui aurait un index 1 pour le distinguer du grand volume homonyme monté avant)

Poste le retour.
 
Bloc de code:
-bash-3.2# diskutil info /Vol*/OS*\1
   Device Identifier:        disk3s3
   Device Node:              /dev/disk3s3
   Whole:                    No
   Part of Whole:            disk3

   Volume Name:              OS X Base System
   Mounted:                  Yes
   Mount Point:              /Volumes/OS X Base System 1

   Partition Type:           Apple_HFS
   File System Personality:  HFS+
   Type (Bundle):            hfs
   Name (User Visible):      Mac OS Extended
   Owners:                   Disabled

   OS Can Be Installed:      No
   Booter Disk:              disk3s4
   Recovery Disk:            disk3s4
   Media Type:               Generic
   Protocol:                 USB
   SMART Status:             Not Supported
   Volume UUID:              34DC7CA8-6EF8-3FB3-95D7-F3EAC70C3E52
   Disk / Partition UUID:    12261FE1-FFE7-4086-B80D-41F0C41CDF62
   Partition Offset:         20343951360 Bytes (39734280 512-Byte-Device-Blocks)

   Disk Size:                11.0 GB (11021705216 Bytes) (exactly 21526768 512-Byte-Units)
   Device Block Size:        512 Bytes

   Volume Total Space:       11.0 GB (11021705216 Bytes) (exactly 21526768 512-Byte-Units)
   Volume Used Space:        6.5 GB (6511542272 Bytes) (exactly 12717856 512-Byte-Units) (59.1%)
   Volume Free Space:        4.5 GB (4510162944 Bytes) (exactly 8808912 512-Byte-Units) (40.9%)
   Allocation Block Size:    4096 Bytes

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

   Device Location:          External
   Removable Media:          Removable
   Media Removal:            Software-Activated


-bash-3.2#
 
C'est bien le volume-cible. Enchaîne avec la commande :
Bloc de code:
bless --info /Vol*/OS*\1

  • qui affiche le chemin de démarrage de ce volume de la clé

Poste le retour.
 
Bloc de code:
-bash-3.2# bless --info /Vol*/OS*\1
finderinfo[0]:     34 => Blessed System Folder is /Volumes/OS X Base System 1/System/Library/CoreServices
finderinfo[1]:  47075 => Blessed System File is /Volumes/OS X Base System 1/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]:     34 => OS X blessed folder is /Volumes/OS X Base System 1/System/Library/CoreServices
64-bit VSDB volume id:  0xC1836F044671C204
-bash-3.2#
 
Parfait. On réécrit ce chemin de démarrage. Passe la commande (copier-coller à rebours - copie-la bien jusqu'au --setBoot final) :
Bloc de code:
bless --folder /Vol*/OS*\1/System/Library/CoreServices --file /Vol*/OS*\1/System/Library/CoreServices/boot.efi --setBoot

  • la commande réécrit à l'identique le chemin de démarrage du volume de la clé > mais grâce à l'option finale --setBoot => inscrit en NVRAM une préférence de démarrage automatique de l'EFI (le programme de boot primaire du Mac) sur ce volume

=> la commande passe en mode muet si elle passe. Est-ce que ça a été le cas ?
 
  • J’aime
Réactions: litobar71
Donc la commande est bien passée. Alors action !

- redémarre (Menu  > Redémarrer) => mais sans utiliser aucune touche au clavier en option. Laisse le Mac redémarrer tout seul.​

Quant tu obtiens un écran aux 4 Utilitaires macOS > passe la commande de vérité :
Bloc de code:
diskutil info /

  • qui affiche un tableau d'informations sur le volume actuellement démarré

Poste le tableau. À la taille affichée du volume => on saura immédiatement s'il s'agit du volume interne ou de celui de la clé.
 
Bloc de code:
-bash-3.2# diskutil info
Usage:  diskutil info[rmation] [-plist]
        MountPoint|DiskIdentifier|DeviceNode|UUID | -all
Display detailed information about a disk or partition.
Root or administrator access is not required.
-bash-3.2#