steelpangolin / gpt-surgeon Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool for repairing corruption of HFS+ partition labels on GPT-partitioned drives.
Home Page: https://bat-country.us/#gpt-surgeon
License: MIT License
Command-line tool for repairing corruption of HFS+ partition labels on GPT-partitioned drives.
Home Page: https://bat-country.us/#gpt-surgeon
License: MIT License
Hi !
I'm looking for an easy way to revert the repair process. I ran it on an exFat partition by mistake. All the data is still accessible (I ran an fsck_exfat then I tried to mount the disk manually on debian and all data were there). The issue is on OSX : the system sees the partition as HFS+ instead of exFat because of the script.
Any help to revert the operation would help. I can't play with this disk and I don't have spare disk to do some tests. I guess I coud be able to fix this through parted / other tool by just changing the partition type / flag but I'm not 100% sure.
Here are the info about the disk :
pi@raspberrypi:~ $ sudo disktype /dev/sda
--- /dev/sda
Block device, size 7.277 TiB (8001563222016 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023254528 bytes, 4294967294 sectors from 1)
Type 0xEE (EFI GPT protective)
GPT partition map, 128 entries
Disk size 7.277 TiB (8001563222016 bytes, 15628053168 sectors)
Disk GUID FC67375F-7D31-B840-B18C-DABB20DC2192
Partition 1: 200 MiB (209715200 bytes, 409600 sectors from 40)
Type EFI System (FAT) (GUID 28732AC1-1FF8-D211-BA4B-00A0C93EC93B)
Partition Name "EFI System Partition"
Partition GUID FEB98977-5A13-9A4E-984C-79D6955D319E
FAT32 file system (hints score 5 of 5)
Volume size 196.9 MiB (206472192 bytes, 403266 clusters of 512 bytes)
Volume name "EFI"
Partition 2: 7.277 TiB (8001352105984 bytes, 15627640832 sectors from 411648)
Type Mac HFS+ (GUID 00534648-0000-AA11-AA11-00306543ECAC)
Partition Name ""
Partition GUID C029DE1B-B552-C845-B6A4-40E0655C77C8
Partition 3: unused
Thanks !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.