luck3y

Q: Black Cursor Blinking when starting windows Bootcamp

Im having this problem and I really need help. I believe you can help me Loner T. Thank you!

Since bootcamp was not staring I found the solution you posted:

·         sudo fdisk -e /dev/disk0

p

setpid 4

07

flag 4

p

write

y

 

After this windows is just getting stuck at boot (black screen with blinking cursor)

Posted on Mar 22, 2015 9:47 AM

Close

Q: Black Cursor Blinking when starting windows Bootcamp

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Mar 22, 2015 12:35 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 22, 2015 12:35 PM in response to luck3y

    This fix usually works if you have a valid NTFS header. Yosemite upgrade does cause some issues.

     

    Can you post the output of the following Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

  • by luck3y,

    luck3y luck3y Mar 22, 2015 4:11 PM in response to Loner T
    Level 1 (0 points)
    Mar 22, 2015 4:11 PM in response to Loner T

    Okay. Yeah know how my problem arose. I was trying to get my Steam and League of Legends to work on my mac. And for some reason I did not have a Case Insensitive System. I would get the error, "Patcher has detected that the local file system is case sensitive" and would not play. I tried to create a case insensitive partition to play my games. Here are my results from your proposal:

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *320.1 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:                  Apple_HFS Mac                     105.3 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:                  Apple_HFS Mac 2                   23.1 GB    disk0s4

       5:       Microsoft Basic Data BOOTCAMP                180.2 GB   disk0s5

     

    diskutil cs list

    No CoreStorage logical volume groups found

     

    sudo gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=320072933376; sectorsize=512; blocks=625142448

    gpt show: /dev/disk0: Suspicious MBR at sector 0

    gpt show: /dev/disk0: Malformed MBR at sector 0

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

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

          start       size  index  contents

              0          1         MBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

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

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

      207327520   45196960      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      252524480   20639808        

      273164288  351977472      5  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      625141760        655        

      625142415         32         Sec GPT table

      625142447          1         Sec GPT header

     

    sudo fdisk /dev/disk0

    Disk: /dev/disk0geometry: 38913/255/63 [625142448 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

    1: EE 1023 254  63 - 1023 254  63 [         1 -  625142447] <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: 07    0   0   0 -    0   0   0 [         0 -          0] HPFS/QNX/AUX

     

    Thank you

  • by Loner T,

    Loner T Loner T Mar 22, 2015 4:14 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 22, 2015 4:14 PM in response to luck3y

    1. You have a gap between GPT4 and GPT5.

    2. Your MBR does not exist. Was Windows installed using EFI Boot?

    3. You will need Testdisk and GPT Fdisk to scan for a lost NTFS partition. If you want to keep "Mac 2", it would require a custom Hybrid MBR.

  • by luck3y,

    luck3y luck3y Mar 22, 2015 4:25 PM in response to Loner T
    Level 1 (0 points)
    Mar 22, 2015 4:25 PM in response to Loner T

    Im not sure what the gap means between gpt4 and gpt 5.

    Windows was installed using Bootcamp.

    And I would like to keep Mac 2 unless you know how to change my Mac from case sensitive to case insensitive without having to reinstall the os or anything.

    Thanks again for helping.

  • by Loner T,

    Loner T Loner T Mar 22, 2015 5:16 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 22, 2015 5:16 PM in response to luck3y

    luck3y wrote:

     

    Im not sure what the gap means between gpt4 and gpt 5.

    When you installed OS X on Mac 2, the Windows partition was already there. It did two things, created disk0s4 pushing Windows to disk0s5 and then overwrote the MBR. This is an unsupported disk layout on single-disk Macs.

    And I would like to keep Mac 2 unless you know how to change my Mac from case sensitive to case insensitive without having to reinstall the os or anything.

    What type of information (files, directories, photos, music,...) do you have on the original Mac partition other than the OS?

  • by luck3y,

    luck3y luck3y Mar 22, 2015 5:43 PM in response to Loner T
    Level 1 (0 points)
    Mar 22, 2015 5:43 PM in response to Loner T

    Oh I see.

    And I don't have too much, just some pictures and documents.

  • by Loner T,

    Loner T Loner T Mar 22, 2015 7:48 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 22, 2015 7:48 PM in response to luck3y

    1. Run the following command. This checks if the NTFS  header on your BC/Windows is valid.

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

    2. If it is valid, download GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and I can give you steps to create a custom MBR which will allow Windows to boot. Once it is fully functional, make a backup to an external disk formatted as NTFS. This keeps Windows safe.

    3. Copy all files you need from Mac to an external disk. It can be the same disk as in step 2, but you will need a separate FAT partition to copy your files. This partition can also be OS X Case-insensitive. This keeps your OS X files safe.

    4. At this point you have a choice to make.

         a. The Easy option

             1. Boot into Internet Recovery (Command+Opt+R - the spinning globe must show up. Use an ethernet connection).

             2. Erase your internal drive. Install a clean copy of OS X using case-insensitive file system.

             3. Restore your Mac files from step 3.

             4. Install Windows using BCA with a partition slightly larger than the current size.

             5. Restore Windows.

             6. If necessary, use GPT Fdisk to create a new Hybrid MBR (this is the standard BC MBR, not the custom one built step 2).

         b. The Hard option (this requires work in Terminal).

             1. Run Diskutil mergePartitions command and merge disk0s2, disk0s3, disk0s4.

             2. Reboot and re-install OSX on this merged partition, which will be the new disk0s2.

             3. This can cause problems with Windows, which can be fixed, if necessary. The primary culprit is the Recovery HD, which needs to be disk0s3 and there

                 is no easy method of creating disk0s3 manually.

             4. Restore your files from step 3.

        Test and verify OSX and Windows.

     

    There are many variations possible to these steps, so please ask questions.

     

    In step 1, if you do not have a valid NTFS header, you will need Testdisk (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step) and fix Windows first. This procedure also requires GPT Fdisk from step 2.

  • by luck3y,

    luck3y luck3y Mar 22, 2015 8:12 PM in response to Loner T
    Level 1 (0 points)
    Mar 22, 2015 8:12 PM in response to Loner T

    Thank you so much for the help. I am not sure I want to reinstall my os or anything to fix this. I will look in to what you told me and may end up just wiping windows and reinstalling. Thank you again for your help.

  • by Loner T,

    Loner T Loner T Mar 23, 2015 5:18 AM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 23, 2015 5:18 AM in response to luck3y

    The current partition configuration will not allow a new installation of Windows. You had Windows in place before you installed Mac 2, so it is there, but not working. If you wipe Windows now, BCA will refuse to partition and install Windows.

  • by luck3y,

    luck3y luck3y Mar 24, 2015 2:30 PM in response to Loner T
    Level 1 (0 points)
    Mar 24, 2015 2:30 PM in response to Loner T

    Hm, okay. Is it possible to completely restore everything and get my Mac to a case insensitive file system?

  • by Loner T,

    Loner T Loner T Mar 24, 2015 3:08 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 24, 2015 3:08 PM in response to luck3y

    You will have to use steps in 4a.

  • by luck3y,

    luck3y luck3y Mar 24, 2015 7:06 PM in response to Loner T
    Level 1 (0 points)
    Mar 24, 2015 7:06 PM in response to Loner T

    Okay. I will probably do that. I do not have any of the Mac cds that came with the mac will I need any of those?

  • by Loner T,

    Loner T Loner T Mar 24, 2015 7:11 PM in response to luck3y
    Level 7 (24,202 points)
    Safari
    Mar 24, 2015 7:11 PM in response to luck3y

    You may be able to use OS X: About OS X Recovery - Apple Support.

     

    If you Mac is on this list, you can also use Internet Recovery Computers that can be upgraded to use OS X Internet Recovery - Apple Support.

  • by luck3y,

    luck3y luck3y Mar 24, 2015 8:42 PM in response to Loner T
    Level 1 (0 points)
    Mar 24, 2015 8:42 PM in response to Loner T

    Okay I backed everything up to an external device. I m now going to go through the restore process.