allowin

Q: how to make Bootcamp partition bootable

hi,

after total frustration in moving my bootcamp partition under Snow leopard with winclone 2.2, I restored it with stellar drive clone. I used restore not cloning, is this OK. Any how couldn't boot with my Bootcamp partition after restart.

Is there something to do to repair my partition, or I have to do cloning instead

Posted on Sep 26, 2016 10:49 PM

Close

Q: how to make Bootcamp partition bootable

  • All replies
  • Helpful answers

Page 1 Next
  • by allowin,

    allowin allowin Sep 27, 2016 12:19 AM in response to allowin
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 12:19 AM in response to allowin

    I must add that cloning with Stellar drive clone didn't work either to make Bootcamp bootable

  • by Loner T,

    Loner T Loner T Sep 27, 2016 6:32 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 6:32 AM in response to allowin

    Did you recreate the MBR after the partition was restored?

  • by allowin,

    allowin allowin Sep 27, 2016 9:00 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 9:00 AM in response to Loner T

    Hi,

    sorry what do you mean by recreating the MBR ?

    btw, I get this again: gpt show: /dev/disk0: Suspicious MBR at sector 0

  • by Loner T,

    Loner T Loner T Sep 27, 2016 9:18 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 9:18 AM in response to allowin

    This is normal. Can you post the output of

     

    diskutil list

    sudo fdisk /dev/disk0

  • by allowin,

    allowin allowin Sep 27, 2016 9:30 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 9:30 AM in response to Loner T

    Last login: Tue Sep 27 17:30:30 on console

    Asturias:~ Home$ diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *160.0 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:                  Apple_HFS Atlas                   114.0 GB   disk0s2

       3:       Microsoft Basic Data BOOTCAMP                45.7 GB    disk0s3

    Asturias:~ Home$ sudo fdisk /dev/disk0

    Password:

    Disk: /dev/disk0 geometry: 19457/255/63 [312581808 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AF 1023 254  63 - 1023 254  63 [    409640 -  222656256] HFS+       

    3: 0B 1023 254  63 - 1023 254  63 [ 223328256 -   89251840] Win95 FAT-32

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    Asturias:~ Home$

  • by Loner T,

    Loner T Loner T Sep 27, 2016 9:50 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 9:50 AM in response to allowin

    Please post the output of

     

    sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

  • by allowin,

    allowin allowin Sep 27, 2016 9:53 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 9:53 AM in response to Loner T

    Asturias:~ Home$ sudo dd if=/dev/rdisk0s3 count=1 2>/dev/null | hexdump -C

    Password:

    00000000  eb 58 90 42 53 44 20 20  34 2e 34 00 02 40 20 00  |.X.BSD  4.4..@ .|

    00000010  02 00 00 00 00 f0 00 00  20 00 ff 00 00 00 00 00  |........ .......|

    00000020  00 e0 51 05 8d 2a 00 00  00 00 00 00 02 00 00 00  |..Q..*..........|

    00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

    00000040  00 00 29 17 0f 03 69 42  4f 4f 54 43 41 4d 50 20  |..)...iBOOTCAMP |

    00000050  20 20 46 41 54 33 32 20  20 20 fa 31 c0 8e d0 bc  |  FAT32   .1....|

    00000060  00 7c fb 8e d8 e8 00 00  5e 83 c6 19 bb 07 00 fc  |.|......^.......|

    00000070  ac 84 c0 74 06 b4 0e cd  10 eb f5 30 e4 cd 16 cd  |...t.......0....|

    00000080  19 0d 0a 4e 6f 6e 2d 73  79 73 74 65 6d 20 64 69  |...Non-system di|

    00000090  73 6b 0d 0a 50 72 65 73  73 20 61 6e 79 20 6b 65  |sk..Press any ke|

    000000a0  79 20 74 6f 20 72 65 62  6f 6f 74 0d 0a 00 00 00  |y to reboot.....|

    000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

    *

    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|

    00000200

    Asturias:~ Home$

  • by Loner T,

    Loner T Loner T Sep 27, 2016 10:12 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 10:12 AM in response to allowin

    This is a FAT32 file system. Certain Windows versions will not boot from such a file system.

     

    The following code makes the third MBR entry bootable. Please ignore the i386 MBR error, but not any other messages.

     

    sudo fdisk -e /dev/disk0

    p

    setpid 3

    07

    flag 3

    p

    w

    y

     

    Reboot and Test.

  • by allowin,

    allowin allowin Sep 27, 2016 10:25 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 10:25 AM in response to Loner T

    sorry, I'm not a Terminal expert, so please tell me what to do exactly

  • by allowin,

    allowin allowin Sep 27, 2016 10:29 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 10:29 AM in response to Loner T

    Asturias:~ Home$ sudo fdisk -e /dev/disk0

    Password:

    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

    Enter 'help' for information

    fdisk: 1>

  • by Loner T,

    Loner T Loner T Sep 27, 2016 10:32 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 10:32 AM in response to allowin

    Each line is entered as shown, and then press Enter/Return.

     

    Type 'p' and press Enter

    Type 'setpid 3' and press Enter

    Type '07' and press Enter

    Type 'flag 3' and press Enter

    Type 'p' and press Enter

    Type 'w' and press Enter

    Type 'y' and press Enter

  • by allowin,

    allowin allowin Sep 27, 2016 10:36 AM in response to Loner T
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 10:36 AM in response to Loner T

    I copied and past and then get this, so I asked for help

    Invalid command 'Asturias:~Home$ sudo fdisk -e /dev/disk0'.  Try 'help'.

    fdisk: 1> Invalid command 'Password:'.  Try 'help'.

    fdisk: 1> Invalid command 'fdisk:'.  Try 'help'.

    fdisk: 1> Invalid command 'Enter'.  Try 'help'.

    fdisk: 1> Invalid command 'fdisk:'.  Try 'help'.

    fdisk: 1>

    fdisk: 1> help

      help Command help list

      manual Show entire man page for fdisk

      reinit Re-initialize loaded MBR (to defaults)

      auto Auto-partition the disk with a partition style

      setpid Set the identifier of a given table entry

      disk Edit current drive stats

      edit Edit given table entry

      erase Erase current MBR

      flag Flag given table entry as bootable

      update Update machine code in loaded MBR

      select Select extended partition table entry MBR

      print Print loaded MBR partition table

      write Write loaded MBR to disk

      exit Exit edit of current MBR, without saving changes

      quit Quit edit of current MBR, saving current changes

      abort Abort program without saving current changes

    fdisk: 1>

  • by Loner T,

    Loner T Loner T Sep 27, 2016 10:42 AM in response to allowin
    Level 7 (24,182 points)
    Safari
    Sep 27, 2016 10:42 AM in response to allowin

    Please see the following example. I have not typed the last two commands. This is an example. You need to use 3 instead of 4.

     

    sudo fdisk -e /dev/disk0

    Password:

    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

    Enter 'help' for information

    fdisk: 1> p

    Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 sectors]

    Offset: 0 Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>

    2: AF   25 127  15 - 1023 254  63 [    409640 - 1448624648] HFS+      

    3: AB 1023 254  63 - 1023 254  63 [1449034288 -    1269536] Darwin Boot

    *4: 07 1023 254  63 - 1023 254  63 [1450305536 -  503904256] HPFS/QNX/AUX

    fdisk: 1> setpid 4

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    *4: 07 1023 254  63 - 1023 254  63 [1450305536 -  503904256] HPFS/QNX/AUX

    Partition id ('0' to disable)  [0 - FF]: [7] (? for help) 07

    fdisk: 1> flag 4

    Partition 4 marked active.

    fdisk:*1> p

    Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 sectors]

    Offset: 0 Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE    0   0   2 -   25 127  14 [         1 -     409639] <Unknown ID>

    2: AF   25 127  15 - 1023 254  63 [    409640 - 1448624648] HFS+      

    3: AB 1023 254  63 - 1023 254  63 [1449034288 -    1269536] Darwin Boot

    *4: 07 1023 254  63 - 1023 254  63 [1450305536 -  503904256] HPFS/QNX/AUX

    fdisk:*1>

  • by allowin,

    allowin allowin Sep 27, 2016 10:45 AM in response to allowin
    Level 1 (8 points)
    Desktops
    Sep 27, 2016 10:45 AM in response to allowin

    fdisk: 1> p

    Disk: /dev/disk0 geometry: 19457/255/63 [312581808 sectors]

    Offset: 0 Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AF 1023 254  63 - 1023 254  63 [    409640 -  222656256] HFS+       

    3: 0B 1023 254  63 - 1023 254  63 [ 223328256 -   89251840] Win95 FAT-32

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    fdisk: 1> setpid 3

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    3: 0B 1023 254  63 - 1023 254  63 [ 223328256 -   89251840] Win95 FAT-32

    Partition id ('0' to disable)  [0 - FF]: [B] (? for help) 07

    fdisk:*1> flag 3

    Partition 3 marked active.

    fdisk:*1> p

    Disk: /dev/disk0 geometry: 19457/255/63 [312581808 sectors]

    Offset: 0 Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AF 1023 254  63 - 1023 254  63 [    409640 -  222656256] HFS+       

    *3: 07 1023 254  63 - 1023 254  63 [ 223328256 -   89251840] HPFS/QNX/AUX

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    fdisk:*1> w

    Device could not be accessed exclusively.

    A reboot will be needed for changes to take effect. OK? [n] y

    Writing MBR at offset 0.

    fdisk: 1>

Page 1 Next