Я использую Ubuntu 20.04, после запуска приведенной ниже команды только для моего корневого раздела sda4
я проверил gparted через live Ubuntu, и он показал нераспределенное пространство для всех разделов на моем жестком диске (а не только для sda4
).
Может ли кто-нибудь рассказать мне, что на самом деле произошло и как я могу получить доступ к другим разделам сейчас?
sudo dd if=/dev/zero of=/dev/sda4
Обновление: я запустил команду sudo gdisk -l /dev/sda
, и она показала следующее:
GPT fdisk (gdisk) version 1.0.4
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: OK
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: damaged
Found invalid MBR and corrupt GPT. What do you want to do? (Using the
GPT MAY permit recovery of GPT data.)
1 - Use current GPT
2 - Create blank GPT```