caya0001

Q: "No bootable device -- insert boot disk and press any key"

Hi, I reduced the gigabytes on my Macintosh HD by creating partition to the Apple SSD, hoping to resize my bootcamp partition for Windows 7 without deleting it. (this is where I found the instruction: how to resize my bootcamp partition without deleting  itit) but as I restarted the mac with Bootcamp, it showed "No bootable device -- insert boot disk and press any key," and didn't respond to my keyboard. As I didn't want to delete the installed GIS on Windows 7, I chose to resize the bootcamp partition without deleting it, but my original Windows 7 doesn't seem to be found anymore. Even when I pressed "option" to select Windows to restart, it asked me to install Windows system again. (Macintosh HD and Bootcamp Windows are the only partitions I have.)

 

Can anyone enlighten me what I should do? Great thanks in advance!

MacBook Pro (Retina, 13-inch, Mid 2014), OS X El Capitan (10.11.5), null

Posted on Jul 14, 2016 2:40 AM

Close

Q: "No bootable device -- insert boot disk and press any key"

  • All replies
  • Helpful answers

  • by lllaass,

    lllaass lllaass Jul 14, 2016 6:56 AM in response to caya0001
    Level 10 (189,609 points)
    Desktops
    Jul 14, 2016 6:56 AM in response to caya0001

    - You messed up your Windows partition. The message you are getting is a Windows message.

    You can try reinstalling Windows without formatting

    - If you can't boot into OSX yo also messed that up too.

  • by Loner T,

    Loner T Loner T Jul 14, 2016 7:47 AM in response to caya0001
    Level 7 (24,344 points)
    Safari
    Jul 14, 2016 7:47 AM in response to caya0001

    MiniPartition tool is a dangerous tool. It does not understand who the disk is partitioned and does not understand Hybrid MBRs. This is what causes problems.

     

    Please post the output of the following OSX terminal.

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    Please enter your password when prompted by the 'sudo' commands. Your password will not be echoed back to you.

  • by ch_code,

    ch_code ch_code Sep 17, 2016 1:23 PM in response to Loner T
    Level 1 (4 points)
    Sep 17, 2016 1:23 PM in response to Loner T

    diskutil list


    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                  Apple_HFS empty                   209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            199.2 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:                  Apple_HFS em                      650.0 MB   disk0s4

       5:           Linux Filesystem                         119.8 GB   disk0s5

       6:                  Apple_HFS disk0s10                22.0 GB    disk0s6

       7:                  Apple_HFS e                       343.7 MB   disk0s7

       8:                        EFI NO NAME                 2.8 GB     disk0s8

       9:       Microsoft Basic Data BOOTCAMP                149.6 GB   disk0s9

      10:           Windows Recovery                         471.9 MB   disk0s10




    diskutil cs list

    No CoreStorage logical volume groups found









    sudo gpt -vv -r show /dev/disk0


    gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 977105059

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

         409640  389032888      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      389442528    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      390712064    1269536      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      391981600  234019258      5  GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4

      626000858   42952704      6  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      668953562     262144        

      669215706     671368      7  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      669887074    8617504        

      678504578    5541888      8  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

      684046466  292136960      9  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      976183426     921600     10  GPT part - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC

      977105026          1        

      977105027         32         Sec GPT table

      977105059          1         Sec GPT header





    sudo fdisk /dev/disk0


    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE 1023 255  63 - 1023 255  63 [         1 -  977105059] <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     






  • by Loner T,

    Loner T Loner T Sep 17, 2016 2:19 PM in response to ch_code
    Level 7 (24,344 points)
    Safari
    Sep 17, 2016 2:19 PM in response to ch_code

    You have two versions of OS X, a Linux installation and a Bootcamp installation.

     

    Can you post the output of

     

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

     

    This may not be salvageable. What is possibility of installing a single version of OS X that you need, installing Linux and re-installing Windows?