Login
You're viewing the ruby.social public feed.
  • Aug 17, 2026, 10:25 AM

    Apparemment en créant une clé bootable je me suis trompé de disque (pourtant il me semblait avoir vérifié plusieurs fois ?) et j'ai donc fait un dd d'une ISO de 7 Go sur le SSD chiffré qui contient mon système et mon /home.

    Est-ce qu'il y a un moyen de récupérer le système ou au moins mes données ?

    (je crains que non, hélas)
    (je crois que j'avais sauvegardé mes headers LUKS mais aucune idée d'où)

    #Linux #Sysadmin #LUKS

    💬 2🔄 1⭐ 0

Replies

  • 💬 0🔄 0⭐ 0
  • Aug 17, 2026, 11:03 AM

    @regardepousserlesarbres @lienrag

    DD is unofficially called “Disk Destroyer”. You might get it back with some digging, but it should be easier to buy a new disk.

    Je pense que initramfs peut te lister tes headers quand t’es sur le bootlader.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 17, 2026, 11:16 AM

    @lienrag @regardepousserlesarbres Je ne pense franchement pas avoir la réponse: as usual ça va dépendre si c’est seulement la partition /home qui a été réécrite ou si c’est la partition /boot (the place where the bootloader and headers is supposed to be afaik).

    Ce qui sûr: J’ai jamais pu récupérer une partition qui a subi un “dd”.

    💬 1🔄 0⭐ 0
  • Aug 17, 2026, 11:18 AM

    @sntx

    De mémoire le partitionnement était :
    /boot
    LUKS contenant (dans l'ordre) :
    /
    /swap
    /home
    Donc la /home n'a pas été réécrite en tant que telle (le dd était de 7 Go).
    Par contre, /boot clairement si.

    💬 1🔄 0⭐ 0
  • Aug 17, 2026, 11:28 AM

    @lienrag

    If you are prompted to unlock the LUKS partition, the damage should be contained to the 7GB written on /home or whatever was there. It depends which partition or sub-partition was overwritten.

    You can tell where the boot process stalls, si t’as un shell ou non, à quel niveau etc…

    Je te souhaite bon courage pour la suite.

    💬 1🔄 0⭐ 0
  • Aug 17, 2026, 12:22 PM

    @sntx

    No, I'm not prompted to unlock the LUKS partition.

    The dd overwrote (from what I can guess) /boot and the beginning of the LUKS partition; but if the LUKS partition is written sequentially (no idea if that's the case) then the overwriting didn't reach the /home inside the LUKS partition).

    💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Aug 17, 2026, 12:20 PM

    @aeris

    Je comprends pas ?
    7 Go de données depuis le début du disque, ça n'a pas atteint la /home.
    Donc la question est juste de savoir si on peut déchiffrer un disque donc le début est écrasé (à condition d'avoir les headers LUKS donc) ou pas.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0