Répondre à la discussion

Bonjour !


J'ai vu pas mal de sujets à ce propos, guidé par l'expertise de [USER=1060554]@macomaniac[/USER] mais j'ai préféré ouvrir un nouveau sujet étant donné que les commandes consoles sont tout de même complexes.

Bien, mon problème est pour bcp de ces sujets, le même. Clé Kingston 100 G3 d'une capacité de 32Go (achetée il y a moins d'un an), formatée NTFS (je peux le lire par le biais de Third-parts softwares) actuellement illisible par le système mais présente en console, vide de partition bien évidement.

Sous Console, j'ai effectué tout ce qui m'as été identique à mon souci. J'en suis à un point où de l'aide ne serai pas de refus. Je sens pourtant que je touche du doigt la fin mais j'imagines qu'accompagné, j'y arriverais mieux.


Voici ce que j'obtiens avec toutes les infos récupérées à droite à gauche (on constatera ma tentative par le biais du GPT fdisk conseillé sur un autre de ces nombreux sujets):


[CODE]Theo:~ theo$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *275.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk1         225.0 GB   disk0s2

   3:       Microsoft Basic Data BootCamp                49.9 GB    disk0s3


/dev/disk1 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +225.0 GB   disk1

                                 Physical Store disk0s2

   1:                APFS Volume Disque Dur              208.9 GB   disk1s1

   2:                APFS Volume Preboot                 24.8 MB    disk1s2

   3:                APFS Volume Recovery                510.4 MB   disk1s3

   4:                APFS Volume VM                      3.2 GB     disk1s4


/dev/disk2 (external, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                                                   *31.0 GB    disk2


/dev/disk3 (disk image):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        +323.1 GB   disk3

   1:                        EFI EFI                     209.7 MB   disk3s1

   2:                  Apple_HFS Copies de sauvegarde... 322.7 GB   disk3s2


Theo:~ theo$ sudo gpt show /dev/disk3

Password:

gpt show: unable to open device '/dev/disk3': Operation not permitted

Theo:~ theo$ sudo gpt show disk2

     start      size  index  contents

         0  60555264        

Theo:~ theo$ sudo gpt show disk2 ; diskutil list disk2

Password:

     start      size  index  contents

         0  60555264        

/dev/disk2 (external, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                                                   *31.0 GB    disk2

Theo:~ theo$ sudo fdisk /dev/disk2

Disk: /dev/disk2    geometry: 3769/255/63 [60555264 sectors]

Signature: 0xE634

         Starting       Ending

 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

------------------------------------------------------------------------

 1: F7  689  85  61 -  527  63   8 [ 415295983 - 3065432756] <Unknown ID>

 2: 2A  208  51  40 -  875  82  61 [1385255796 - 3049667132] <Unknown ID>

 3: 18  579 187  12 -  670  98  29 [4285648688 -  603357479] AST swap  

 4: 18  361 247  26 -  443 146  55 [3478176483 - 3776070089] AST swap  

Theo:~ theo$ sudo fdisk -e /dev/disk2

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

The signature for this MBR is invalid.

Would you like to initialize the partition table? [y] y

Enter 'help' for information

fdisk:*1> write

fdisk: /dev/disk2: Permission denied

Theo:~ theo$ sudo fdisk -e /dev/disk2

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

The signature for this MBR is invalid.

Would you like to initialize the partition table? [y] n                                        

Enter 'help' for information

fdisk: 1> quit

Theo:~ theo$ sudo fdisk -e disk2

fdisk: disk2: No such file or directory

Theo:~ theo$ sudo fdisk /dev/disk2

Disk: /dev/disk2    geometry: 3769/255/63 [60555264 sectors]

Signature: 0xE634

         Starting       Ending

 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

------------------------------------------------------------------------

 1: F7  689  85  61 -  527  63   8 [ 415295983 - 3065432756] <Unknown ID>

 2: 2A  208  51  40 -  875  82  61 [1385255796 - 3049667132] <Unknown ID>

 3: 18  579 187  12 -  670  98  29 [4285648688 -  603357479] AST swap  

 4: 18  361 247  26 -  443 146  55 [3478176483 - 3776070089] AST swap  

Theo:~ theo$ sudo fdisk -e disk2

fdisk: disk2: No such file or directory

Theo:~ theo$ sudo fdisk -e /dev/disk2

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

The signature for this MBR is invalid.

Would you like to initialize the partition table? [y] y

Enter 'help' for information

fdisk:*1> write

fdisk: /dev/disk2: Permission denied

Theo:~ theo$ sudo gdisk /dev/disk2

Password:

Sorry, try again.

Password:

Sorry, try again.

Password:

sudo: 3 incorrect password attempts

Theo:~ theo$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *275.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk1         225.0 GB   disk0s2

   3:       Microsoft Basic Data BootCamp                49.9 GB    disk0s3


/dev/disk1 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +225.0 GB   disk1

                                 Physical Store disk0s2

   1:                APFS Volume Disque Dur              207.8 GB   disk1s1

   2:                APFS Volume Preboot                 24.8 MB    disk1s2

   3:                APFS Volume Recovery                510.4 MB   disk1s3

   4:                APFS Volume VM                      4.3 GB     disk1s4


/dev/disk2 (external, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                                                   *31.0 GB    disk2


/dev/disk3 (disk image):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        +323.1 GB   disk3

   1:                        EFI EFI                     209.7 MB   disk3s1

   2:                  Apple_HFS Copies de sauvegarde... 322.7 GB   disk3s2


Theo:~ theo$ sudo gdisk /dev/disk2

Password:

GPT fdisk (gdisk) version 1.0.5


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

NOTE: Write test failed with error number 13. It will be impossible to save

changes to this disk's partition table!

You may need to deactivate System Integrity Protection to use this program. See

https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11

for more information.


Partition table scan:

  MBR: not present

  BSD: not present

  APM: not present

  GPT: not present


Creating new GPT entries in memory.


Command (? for help): y

b    back up GPT data to a file

c    change a partition's name

d    delete a partition

i    show detailed information on a partition

l    list known partition types

n    add a new partition

o    create a new empty GUID partition table (GPT)

p    print the partition table

q    quit without saving changes

r    recovery and transformation options (experts only)

s    sort partitions

t    change a partition's type code

v    verify disk

w    write table to disk and exit

x    extra functionality (experts only)

?    print this menu


Command (? for help): i

No partitions


Command (? for help): v


No problems found. 60555197 free sectors (28.9 GiB) available in 1

segments, the largest of which is 60555197 (28.9 GiB) in size.


Command (? for help): [/CODE]


Comme indiqué, dans les lignes, ma clé porte l'indicatif disk2.

Il est aussi indiqué plusieurs que la tentative d'initialiser une table de partition par le biais de [CODE]sudo fdisk -e /dev/disk2[/CODE] n'as pas fonctionné résultant un "Permission denied" (paf dans mes dents), piste qui semblait pourtant bien partie. Si une solution existe pour contourner, je suis preneur.


Je termine en précisant, que j'aimerais bien retrouver le contenu de cette clé, divers et variés. Cependant, si une solution existe impliquant l'effacement total, ce sera avec regret qu'il faudra le faire. J'aimerais au mieux garder un format NTFS, à mon sens, plus compatible et manipulable. Je travail bien évidemment sous mac mais il peut m'arriver de me servir de ma clé sous windows (en déplacement, par exemple)


[USER=1060554]@macomaniac[/USER] , toi qui jusqu'à présent, a su aider plus d'un des membres ayant des soucis vraiment similaires, je t'implore !


Merci pour toutes aides ! :)