Code Monkey home page Code Monkey logo

gpt-surgeon's People

Contributors

steelpangolin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gpt-surgeon's Issues

Revert repair operation

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 !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.