marcusfromtuebingen

Q: Nobody told me Lion won't install when there's a Bootcamp partition. What now?

Nobody told me Lion won't install when there's a Bootcamp partition. But there is one on my iMac. What now?

iMac, Mac OS X (10.7)

Posted on Jul 20, 2011 9:28 AM

Close

Q: Nobody told me Lion won't install when there's a Bootcamp partition. What now?

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 10:10 AM in response to Robin Bonathan
    Level 1 (40 points)
    Jul 20, 2011 10:10 AM in response to Robin Bonathan

    It's good. Try resizing the Macintosh HD from the terminal using:

    -bash-3.05# sudo diskutil resizeVolume / -1G

  • by bobwild,

    bobwild bobwild Jul 20, 2011 10:15 AM in response to d3vi1
    Level 4 (1,633 points)
    Jul 20, 2011 10:15 AM in response to d3vi1

    Which one works with LION install MBR or GPT? And how do I determine if my bootcamp partition is MBR or GPT? Disk Utility lists my main partition and my win-XP partiton as (GPT) Partition Map Scheme : GUID Partition Table.

     

     

    Thanks

  • by Robin Bonathan,

    Robin Bonathan Robin Bonathan Jul 20, 2011 10:13 AM in response to bobwild
    Level 1 (101 points)
    Mac OS X
    Jul 20, 2011 10:13 AM in response to bobwild

    Just checked with disk utilities says my HD has a GUID partition scheme

     

    Is this good or bad  ?

     

    I have bootcamp.

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 10:19 AM in response to bobwild
    Level 1 (40 points)
    Jul 20, 2011 10:19 AM in response to bobwild

    GPT is the default for Mac OS X. The MBR is generated only for compatibility with Windows.

     

    Here's how it's supposed to look on a system:

    -bash-3.05$ diskutil list
    /dev/disk0
    #:                       TYPE NAME                    SIZE       IDENTIFIER
    0:      GUID_partition_scheme                        *251.0 GB   disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            214.2 GB   disk0s2
       3:                 Apple_Boot Recovery HD             654.6 MB   disk0s3
       4:         Microsoft Reserved                         134.2 MB   disk0s4
       5:       Microsoft Basic Data Windows 7               35.8 GB    disk0s5

  • by Robin Bonathan,

    Robin Bonathan Robin Bonathan Jul 20, 2011 10:24 AM in response to d3vi1
    Level 1 (101 points)
    Mac OS X
    Jul 20, 2011 10:24 AM in response to d3vi1

    i have GUID but I dont understand if this is compatible or not

     

    Top leverl of HD is :-

     

     

    Name : Hitachi HTS545032B9SA02 Media

              Type :           Disk

     

              Partition Map Scheme :           GUID Partition Table

              Disk Identifier :           disk0

              Media Name :           Hitachi HTS545032B9SA02 Media

              Media Type :           Generic

              Connection Bus :           SATA

              Device Tree :           IODeviceTree:/PCI0@0/SATA@B/PRT0@0/PMP@0

              Writable :           Yes

              Ejectable :           No

              Location :           Internal

              Total Capacity :           320.07 GB (320,072,933,376 Bytes)

              S.M.A.R.T. Status :           Verified

              Disk Number :           0

              Partition Number :           0

     

    MAC partition says :-

     

      Name : Macintosh HD

              Type :           Volume

     

              Disk Identifier :           disk0s2

              Mount Point :           /

              System Name :           Mac OS X

              System Version :           10.6.8

              System Build :           10K540

              File System :           Mac OS Extended (Journaled)

              Connection Bus :           SATA

              Device Tree :           IODeviceTree:/PCI0@0/SATA@B/PRT0@0/PMP@0

              Writable :           Yes

              Universal Unique Identifier :           8BE89F2C-AC0F-3A94-9384-48D75433138F

              Capacity :           293 GB (292,997,300,224 Bytes)

              Free Space :           139.82 GB (139,817,459,712 Bytes)

              Used :           153.18 GB (153,179,840,512 Bytes)

              Number of Files :           797,112

              Number of Folders :           203,810

              Owners Enabled :           Yes

              Can Turn Owners Off :           Yes

              Can Repair Permissions :           Yes

              Can Be Verified :           Yes

              Can Be Repaired :           Yes

              Can Be Formatted :           Yes

              Bootable :           Yes

              Supports Journaling :           Yes

              Journaled :           Yes

              Disk Number :           0

              Partition Number :           2

     

     

     

    and bootcamp :-

     

     

      Name : BOOTCAMP

              Type :           Volume

     

              Disk Identifier :           disk0s3

              Mount Point :           /Volumes/BOOTCAMP

              File System :           Windows NT Filesystem (NTFS-3G)

              Connection Bus :           SATA

              Device Tree :           IODeviceTree:/PCI0@0/SATA@B/PRT0@0/PMP@0

              Writable :           Yes

              Capacity :           26.73 GB (26,730,299,392 Bytes)

              Free Space :           14.49 GB (14,493,728,768 Bytes)

              Used :           12.24 GB (12,236,566,528 Bytes)

              Number of Files :           44,346

              Number of Folders :           0

              Owners Enabled :           No

              Can Turn Owners Off :           No

              Can Be Formatted :           Yes

              Bootable :           No

              Supports Journaling :           No

              Journaled :           No

              Disk Number :           0

              Partition Number :           3

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 10:32 AM in response to Robin Bonathan
    Level 1 (40 points)
    Jul 20, 2011 10:32 AM in response to Robin Bonathan

    Should work actually. Try disabling the NTFS-3G driver and check if it helps.

  • by WildClyde,

    WildClyde WildClyde Jul 20, 2011 10:44 AM in response to marcusfromtuebingen
    Level 1 (0 points)
    Jul 20, 2011 10:44 AM in response to marcusfromtuebingen

    d3vil,

     

    diskutil on my 512GB Apple SSD says:

     

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            361.9 GB   disk0s2

       3:       Microsoft Basic Data Windows HD              138.1 GB   disk0s4

     

    Can I get to GPT using your procedure?

     

    EFI must be related to my MacBook Pro EFI BIOS?


    Thanks!

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 10:48 AM in response to WildClyde
    Level 1 (40 points)
    Jul 20, 2011 10:48 AM in response to WildClyde

    Seems like you already have GPT. What do the installer logs say? You can access them from the "install.log" in /var/log folder or “Window > Installer Log”

  • by WildClyde,

    WildClyde WildClyde Jul 20, 2011 11:00 AM in response to marcusfromtuebingen
    Level 1 (0 points)
    Jul 20, 2011 11:00 AM in response to marcusfromtuebingen

    d3vil,

     

    The install.log says:

     

    Jul 20 07:50:31 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: IATool launched

    Jul 20 07:50:31 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: diskMounted: disk0s4

    Jul 20 07:50:32 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Connected to IATool 1fc2f580

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Preventing machine sleep.

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Using product IA_PKSecureNetEnabledProduct <file://localhost/Mac%20OS%20X%20Install%20Data/> at distance 5

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Using mutable product path: /Mac OS X Install Data

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Retrieving 1 packages (0.000 GB)

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Retrieved package com.apple.pkg.CompatibilityUpdate (http://swcdn.apple.com/content/downloads/43/49/041-1938/2xRdQTDkrbp8WyHn6GwHtFKV VdjvPK6QHW/MacOS_10_7_IncompatibleAppList.pkg)

    Jul 20 07:50:33 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Verifying InstallMacOSX.pkg/InstallESD.dmg

    Jul 20 07:50:54 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Finished operation queue

    Jul 20 07:51:30 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Extracting files from /Applications/Install Mac OS X Lion.app/Contents/SharedSupport/InstallESD.dmg

    Jul 20 07:51:31 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Extracting Boot Bits from Outer DMG:

    Jul 20 07:51:32 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Copied kernelcache

    Jul 20 07:51:32 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Copied Boot.efi

    Jul 20 07:51:32 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Ejecting disk image

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Generating the com.apple.Boot.plist file

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Linking self-contained dmg into mutable product

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: com.apple.Boot.plist: {\n    "Kernel Cache" = "/Mac OS X Install Data/kernelcache";\n    "Kernel Flags" = "container-dmg=file:///Mac%20OS%20X%20Install%20Data/InstallESD.dmg root-dmg=file:///BaseSystem.dmg";\n}

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Done generating the com.apple.Boot.plist file

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Blessing / -- /Mac OS X Install Data

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: Blessing Mount Point:/ Folder:/Mac OS X Install Data plist:com.apple.Boot.plist

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: ***************************** Setting Startup Disk *****************************

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: ******           Path: /

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: ******     Boot Plist: /Mac OS X Install Data/com.apple.Boot.plist

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: /usr/sbin/bless -setBoot -folder /Mac OS X Install Data -bootefi /Mac OS X Install Data/boot.efi -options config="\Mac OS X Install Data\com.apple.Boot" -label Mac OS X Installer

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: Bless on / succeeded

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 Install Mac OS X Lion[20226]: Restart requested

    Jul 20 07:51:43 Clyde-Wildes-MacBook-Pro-2010 /Applications/Install Mac OS X Lion.app/Contents/Resources/InstallAssistantTool[20443]: Lost client connection: exiting

     

    The system rebooted and said something like "Unable to Install Mac OS X, contact www.apple.com/support/no-recovery"

     

    Apparently the stuff that happens upon re-boot is not logged.

     

    Thanks

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 11:57 AM in response to WildClyde
    Level 1 (40 points)
    Jul 20, 2011 11:57 AM in response to WildClyde

    Run the following commands:

    -bash-3.05$ sudo diskutil list /dev/disk0

    -bash-3.05$ sudo gpt -r show /dev/disk0

    -bash-3.05$ sudo fdisk /dev/disk0

     

    I think that there's still something odd about the partitioning.

  • by WildClyde,

    WildClyde WildClyde Jul 20, 2011 12:35 PM in response to marcusfromtuebingen
    Level 1 (0 points)
    Jul 20, 2011 12:35 PM in response to marcusfromtuebingen

    d3vil,

     

    Please remember that this is an Apple 512GB SSD disk. I created the Windows 7 partition using Boot Camp shortly after I took delivery of the computer in Spring 2010.

     

    Here is the info that you requested.

     

    Clyde-Wildes-MacBook-Pro-2010:~ cwildes$ su

    Password:

    sh-3.2# diskutil list /dev/disk0

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                        EFI                         209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            361.9 GB   disk0s2

       3:       Microsoft Basic Data Windows HD              138.1 GB   disk0s4

    sh-3.2# gpt -r show /dev/disk0

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

          start       size  index  contents

              0          1         MBR

              1          1         Pri GPT header

              2         16         Pri GPT table

             18         22        

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

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

      707149864     264152        

      707414016  269690880      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      977104896        147        

      977105043         16         Sec GPT table

      977105059          1         Sec GPT header

    sh-3.2# 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 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

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

    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    *4: 07 1023 254  63 - 1023 254  63 [ 707414016 -  269690880] HPFS/QNX/AUX

    sh-3.2#

     

    Thanks!

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 1:00 PM in response to WildClyde
    Level 1 (40 points)
    Jul 20, 2011 1:00 PM in response to WildClyde

    The third entry in the GPT partition table is incomplete or there was something wrong with the copy+paste.

    It should look like this:

    707149864     264152      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 1:04 PM in response to WildClyde
    Level 1 (40 points)
    Jul 20, 2011 1:04 PM in response to WildClyde

    And the FDISK/MBR partition table looks odd also. From what I can tell, the first two entries have the wrong CHS values. Try this for the first entry (EFI Protective Partition) and the second entry (Macintosh HD):

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

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

  • by WildClyde,

    WildClyde WildClyde Jul 20, 2011 1:17 PM in response to marcusfromtuebingen
    Level 1 (0 points)
    Jul 20, 2011 1:17 PM in response to marcusfromtuebingen

    d3vil,

     

    Here is a picture of the terminal window. There is nothing wrong with the copy/paste. The original Boot Camp partitioning must have been faulty for SSD drives. Arrrrggghhhhh!

     

    Capture.JPG

     

    Are you suggesting that I update the fdisk/mbr table?

     

    Thanks

  • by d3vi1,

    d3vi1 d3vi1 Jul 20, 2011 1:36 PM in response to WildClyde
    Level 1 (40 points)
    Jul 20, 2011 1:36 PM in response to WildClyde

    Let's ignore the MBR for now since that doesn't really matter on Mac OS X and let's just focus on the 3'rd entry of the GPT. Get and install GPT Fdisk from http://sourceforge.net/projects/gptfdisk/

    From here on I will assume that you have a disk backup that you could use to restore everything. I am helping you out but with no warranties explicit or implied. I've bolded&italicized the text that you are supposed to enter and bolded&underlined the text that you need to look at on your computer. The values for the sectors are specific to my computer and replacing them with the correct ones from your screenshot would be too time consuming.

    After you finish the operation but before rebooting, copy+paste the terminal text so we can check it online to see if it's OK. Partition tables shouldn't be messed with unless you are 100% aware of the effects.

     

    Run GPT FDisk:

     

    $ sudo gdisk /dev/disk0

    Password:

    GPT fdisk (gdisk) version 0.6.9

     

     

    Partition table scan:

      MBR: protective

      BSD: not present

      APM: not present

      GPT: present

     

     

    Found valid GPT with protective MBR; using GPT.

     

    Command (? for help): p

    Disk /dev/disk0: 490234752 sectors, 233.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 0000337E-1549-0000-F476-0000C14A0000

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 490234718

    Partitions will be aligned on 8-sector boundaries

    Total free space is 6 sectors (3.0 KiB)

     

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       418768359   199.5 GiB   AF00  Macintosh HD

       3       418768360       420046847   624.3 MiB   AB00  Recovery HD

       4       420046848       420308991   128.0 MiB   0C01  Microsoft Reserved

       5       420308992       490234718   33.3 GiB    0700  Windows 7

     

     

     

    Command (? for help): d

    Partition number (1-5): 3

     

     

    Command (? for help): n

    Partition number (3-128, default 3): 3

    First sector (34-420046847, default = 418768360) or {+-}size{KMGT}: 418768360 (you should use the values from above that I've underlined and bolded)

    Last sector (418768360-420046847, default = 420046847) or {+-}size{KMGT}: 420046847 (you should use the values from above that I've underlined and bolded)

    Current type is 'Linux/Windows data'

    Hex code (L to show codes, 0 to enter raw code, Enter = 0700): AB00

    Changed type of partition to 'Apple boot'

     

    <!-- Optional step for labeling the partition in the partition table -->

    Command (? for help): c

    Partition number (1-5): 3

    Enter name: Recovery HD

     

    <!-- End of optional step for labeling the partition in the partition table -->

     

    <!-- Print the partition table to check that it's OK -->

    Command (? for help): p

    Disk /dev/disk0: 490234752 sectors, 233.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 0000337E-1549-0000-F476-0000C14A0000

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 490234718

    Partitions will be aligned on 8-sector boundaries

    Total free space is 6 sectors (3.0 KiB)

     

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       418768359   199.5 GiB   AF00  Macintosh HD

       3       418768360       420046847   624.3 MiB   AB00  Recovery HD

       4       420046848       420308991   128.0 MiB   0C01  Microsoft Reserved

       5       420308992       490234718   33.3 GiB    0700  Windows 7

     

    <!-- Last chance to back out. 'q' quits without saving and 'w' saves -->

    Command (? for help): w

     

     

    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

    PARTITIONS!!

     

     

    Do you want to proceed, possibly destroying your data? (Y/N): y

    OK; writing new GUID partition table (GPT).

    Warning: The kernel may continue to use old or deleted partitions.

    You should reboot or remove the drive.

    The operation has completed successfully

    $

Previous Page 2 of 4 last Next