-
All replies
-
Helpful answers
-
Aug 15, 2015 12:34 PM in response to ThePianist97by Loner T,Shutdown your Mac and power it back up.
-
-
Aug 15, 2015 1:02 PM in response to ThePianist97by Loner T,Your ability to boot into OSX has not been impaired, which is a good sign.
Try
sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
-
-
Aug 15, 2015 2:39 PM in response to ThePianist97by Loner T,On page 2 of this discussion, using the second Testdisk screen, we used the first MS Data value in step 19 on page 5. Please repeat the page 5 steps with the start values of the next MS Data entry and post the output of the 'dd' command after the Reboot.
-
Aug 15, 2015 2:57 PM in response to Loner Tby ThePianist97,Where do i find the next MS data entry? and for the dd command, i just enter that in terminal and post the result?
-
-
Aug 15, 2015 4:28 PM in response to Loner Tby ThePianist97,Im sorry I'm so, so useless but can you do a step by step for me with the values? and please don't feel you need to rush, i am so grateful for your help so I'm more than happy if you want to take your time if it's ok, of course.
-
Aug 15, 2015 4:54 PM in response to ThePianist97by Loner T,In the following steps, in step 23, substitute the values in the first column in the previous post one at a time and try the reboot and the dd command. The number of iterations for the following steps is 11.
Rebuild GPT2,3,4 using start/end offsets and size
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- x (Expert)
- l (Alignment)
- 1
- m (Main menu)
- D (delete)
- 2 (part 2)
- D (delete)
- 3 (part 3)
- N (new)
- 2 (part 2)
- 409640 ( - Start offset in sectors or the start point for Bootcamp part)
- 311372871 ( End offset)
- AF00 (HFS+)
- N (new part)
- 3 (part 3)
- 311372872 ( - Start offset in sectors or the start point for Bootcamp part)
- +1269536 ( - Size offset, as opposed to End offset)
- AB00 (Recovery HD)
- N (new part)
- 4 (part 4)
- 321167968
- +312498176 ( - Size offset, as opposed to End offset)
- 0700
- P (print list of all parts just to see what changes will be made)
- W (Write the new GPT)
- Y (Yes! really write the new GPT)
This will delete and re-write the GPT partition info for /dev/disk0s[2,3,4].
-
-
Aug 15, 2015 5:59 PM in response to ThePianist97by Loner T,No. Initially you have 2 and 3, and we added 4, so now the d commands need to delete 2,3 and 4. and start over again. The numbers will always be 2,3,4 in your specific case.
-
-
Aug 16, 2015 5:54 AM in response to ThePianist97by Loner T,★HelpfulDid you execute 'd' and 4 prior to starting with the 'n' commands?
The new steps are
Rebuild GPT2,3,4 using start/end offsets and size
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- x (Expert)
- l (Alignment)
- 1
- m (Main menu)
- D (delete)
- 2 (part 2)
- D (delete)
- 3 (part 3)
- D (delete)
- 4 (part 4)
- N (new)
- 2 (part 2)
- 409640 ( - Start offset in sectors or the start point for Bootcamp part)
- 311372871 ( End offset)
- AF00 (HFS+)
- N (new part)
- 3 (part 3)
- 311372872 ( - Start offset in sectors or the start point for Bootcamp part)
- +1269536 ( - Size offset, as opposed to End offset)
- AB00 (Recovery HD)
- N (new part)
- 4 (part 4)
- (iterate through the start list as discussed)
- (use the fixed end address as discussed)
- 0700
- P (print list of all parts just to see what changes will be made)
- W (Write the new GPT)
- Y (Yes! really write the new GPT)
This will delete and re-write the GPT partition info for /dev/disk0s[2,3,4].
-
Aug 16, 2015 6:17 AM in response to Loner Tby ThePianist97,Fantastic, thanks, the fixed end address is always +312498176 right?
-
Aug 16, 2015 6:20 AM in response to ThePianist97by Loner T,ThePianist97 wrote:
Fantastic, thanks, the fixed end address is always +312498176 right?
No. Please see this...
Instead of using the + notation in step 23, use the absolute value of 625142414 which is the last sector right before the secondary GPT table entries.





