Ноутбук моей жены OSX не загрузится. Я вытащил диск и включил его в USB-адаптер и вижу его от моего ноутбука Ubuntu.
Когда я включаю его и выполняю gdisk, я получаю следующий вывод:
matthewh@drone:~$ sudo gdisk /dev/sdc
GPT fdisk (gdisk) version 1.0.3
Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
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.
****************************************************************************
Command (? for help): p
Disk /dev/sdc: 976773167 sectors, 465.8 GiB
Model: FA GOFlex Desk
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): F660E686-2651-434C-BC89-334BFB8D3282
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 13 sectors (6.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 975503591 465.0 GiB AF00 Untitled 1
3 975503592 976773127 619.9 MiB AB00 Recovery HD
Command (? for help): v
Problem: The secondary header's self-pointer indicates that it doesn't reside
at the end of the disk. If you've added a disk to a RAID array, use the 'e'
option on the experts' menu to adjust the secondary header's and partition
table's locations.
Problem: Disk is too small to hold all the data!
(Disk size is 976773167 sectors, needs to be 976773168 sectors.)
The 'e' option on the experts' menu may fix this problem.
Identified 2 problems!
Command (? for help): q
Каков рекомендуемый план действий в этой точке?
И я должен указать, что диском является Samsung 840 Evo. Я думаю, что должен обновить встроенное микропрограммное обеспечение, поскольку я слышу, что была ошибка. Повреждение могло быть связано?
Первый шаг является попыткой сделать резервное копирование Вашего раздела. Включите внешний диск и попытайтесь смонтировать свой системный диск. Можно сделать это от пользовательского интерфейса Ubuntu или командной строки:
sudo mount /dev/sdc2 /mnt
cp -a /mnt/ /media/live/usb (you might adapt the folder path with mounted location).
Затем можно попытаться использовать testdisk
утилита, которая является полезным восстановлением схемы раздела. В основном, как можно использовать его из Ubuntu Живой USB.
apt install testdisk
Затем работайте на своем жестком диске
testdisk /dev/sdc
Здесь шаги:
* Select your hard drive then press Enter to "Proceed"
* Choose EFI GPT (seems you are using EFI)
* Choose Analyse
* Eventually choose Backup to make a backup of your current partition schema.
* Quick Search
* If the tool found partition, you can try to Write (be very careful of what you do at this stage as you might loose all partitions and data included - again be sure you have a backup).
Конечно, можно попытаться обновить встроенное микропрограммное обеспечение жесткого диска, но не уверенные, что это - проблема. Похож на Ваш сектор раздела, не округлен правильно. Я не знаю, где Ваши OSX загружают остановки, но если какие-либо сомнения, необходимо, вероятно, переустановить операционную систему путем восстановления надлежащего раздела сначала.