Skip to content

Revert repair operation #1

@adrienafl

Description

@adrienafl

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions