• [^] # Re: zeroisation

    Posté par (site web personnel) . En réponse au message Clef USB : récupérer une partition abimée ?. Évalué à 3.

    Oui, la page de manuel ne parle que des options en ligne de commande. Tu peus obtenir la liste des fonctions avec m une fois que fdisk est démarré. Bon, voyons si je me rappelle bien ce que j'ai fais... Le tout c'est de ne pas se tromper dans le nom du périphérique (/dev/uba pour moi, disons /dev/sda pour toi apparement d'aprés ton dernier log).

    # fdisk /dev/sda

    Command (m for help): m
    Command action
    a toggle a bootable flag
    b edit bsd disklabel
    c toggle the dos compatibility flag
    d delete a partition
    l list known partition types
    m print this menu
    n add a new partition
    o create a new empty DOS partition table
    p print the partition table
    q quit without saving changes
    s create a new empty Sun disklabel
    t change a partition's system id
    u change display/entry units
    v verify the partition table
    w write table to disk and exit
    x extra functionality (experts only)

    Command (m for help): o
    Building a new DOS disklabel. Changes will remain in memory only,
    until you decide to write them. After that, of course, the previous
    content won't be recoverable.

    Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

    Command (m for help): w
    The partition table has been altered!

    Calling ioctl() to re-read partition table.
    Syncing disks.

    #


    Normalement, aprés ça, tu devrais être capable d'utiliser à nouveau cfdisk, qui est tout de même plus user-friendly, pour recréer une partition. Ensuite, il n'y a plus qu'a la formater...

    Bonne chance