14.4 C
London
Saturday, November 18, 2023

partition – bootcamp NO BOOTABLE DEVICE after gpt add EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 disk0


My macbook has three os on the similar time: macOS, bootcamp win10, ubuntu.
When booting, I select os by means of rEFInd.
After I eliminated ubuntu, I discovered that solely home windows and efi boot had been left when booting.
After getting into the efi boot, the display is grub.
To be able to restore macOS, I referred to the next strategies:
macOS partition startup Quantity kind FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF

After macOS was repaired, I discovered that win10 couldn’t be accessed.
the error is “NO BOOTABLE DEVICE – INSERT BOOT DISK AND PRESS ANY KEY”
I assume it could be modified when adjusting disk kind.
gpt add -i 3 -b 244551680 -s 245682176 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 disk0

Can anybody assist?
thanks loads.

macOS: 10.15.7.
MacBook Professional 2013

sh-3.2# diskutil checklist
/dev/disk0 (inner, bodily):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         85.0 GB    disk0s2
   3:       Microsoft Fundamental Information BOOTCAMP                125.8 GB   disk0s3
sh-3.2# fdisk /dev/disk0
Disk: /dev/disk0    geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
         Beginning       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 255  63 - 1023 255  63 [         1 -  490234751] <Unknown ID>
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
sh-3.2# ls /Volumes/BOOTCAMP/boot/bcd
/Volumes/BOOTCAMP/boot/bcd
sh-3.2# gpt -r present disk0
      begin       measurement  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT desk
         34          6         
         40     409600      1  GPT half - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  166018024      2  GPT half - 7C3457EF-0000-11AA-AA11-00306543ECAC
  166427664   78124016         
  244551680  245682176      3  GPT half - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
  490233856        863         
  490234719         32         Sec GPT desk
  490234751          1         Sec GPT header

ubuntu 40G is deleted and never asigned

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here