OK, seu comando dd
substituiu sua tabela de partições. QUANDO você especificar um nome de desenvolvedor sem número (por exemplo, /dev/sdb
) que se refere ao disco inteiro , não a uma partição específica. Então, quando você executou dd if=path_to_iso of=/dev/sdb
, copiou a imagem diretamente para o disco e destruiu seus arquivos de cabeçalho da GPT.
O que você queria para executar era:
dd if=path_to_iso of=/dev/sdb2
Você pode se recuperar disso, mas não há garantias. Se tiver sorte, você terá uma tabela GPT de backup armazenada. Se assim for, gdisk
poderá salvar você. Experimente
gdisk /dev/sdb
Você deve ver linhas como
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Os detalhes serão diferentes, mas algum tipo de mensagem semelhante deve estar lá. Se você tiver sorte, gdisk
consertará automaticamente tudo. Caso contrário, consulte aqui para obter mais informações.