Replies: 2 comments 15 replies
|
Firstly, well done for figuring out how to adjust Regarding the macOS - Data volume, since the records for If you can find out the FS OID of
Are you sure you're using it correctly? If you have any other questions, feel free to ask, and good luck! |
|
Hi @tarik02, apologies for my absence in recent months. Would you still like help with this issue? If not, I will lock this thread soon. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello. I need help with recoverting filesystem that was broken due to some strange incident.
My brother had a laptop with significant uptime with installed macOS. At some point of time it freezed during normal work, then it was rebooted and it was not booting at all. I tried to boot it from live linux flash, it booted successfully.
In conclusion to this, the main problem was that partition table was clean. I tried to restore partiton table and it was successful. There was a partition with GRUB (working flawlessly) and partition with macOS. Then I tried to boot macOS partiton, Apple logo appeared on screen and it just rebooted. Then, it stopped booting (Apple logo for short time and then reboot).
Then I did backup of internal ssd to a file on external ssd in order to recover it some time later and reinstalled the OS on that laptop.
So, I tried using this utility to restore, but I couldn't do anything valuable. As I said, I have a backup (of whole disk), so I did a little patch to
read_blocksandwrite_blocksfunctions in order to skip blocks till the actual APFS filesystem.Output of
sudo fdisk -lu /mnt/i/disk.img:Modified code (functions read_blocks/write_blocks):
Output of
./drat read /mnt/i/disk.img 0:Output of `./drat inspect /mnt/i/disk.img`:
Also, I tried using
searchcommand and I found out that there are references to files in data partition - I can find some source files. What about other filesystems - they're easily readable, but there are no any useful data.So, there's the following APFS volumes:
Volumes 4 is readable:
But Volume 0 is not (
./drat list /mnt/i/disk.img 0 /):I can't do literally anything with this volume. FileVault wasn't enabled.
Also, I used command
searchwith custom filters and I found that there's files with names likeindex.jsand etc that were stored on this volume. Tryingrecover-rawdoes not give anything useful.Any suggestions? Thank you.
All reactions