Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert repair operation #1

Open
adrienafl opened this issue May 16, 2021 · 0 comments
Open

Revert repair operation #1

adrienafl opened this issue May 16, 2021 · 0 comments

Comments

@adrienafl
Copy link

adrienafl commented May 16, 2021

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant