Loner T

Q: OSX and Bootcamp discussion

Bootcamp and CoreStorage volumes and Windows drivers for CoreStorage in W8.1 and higher.

Posted on Aug 19, 2014 8:21 AM

Close

Q: OSX and Bootcamp discussion

  • All replies
  • Helpful answers

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Aug 19, 2014 8:44 AM in response to Loner T
    Level 3 (555 points)
    Aug 19, 2014 8:44 AM in response to Loner T

    Since it looks like everyone's going to get CoreStorage volumes by default with Yosemite, even if they don't use FileVault 2 or a "fusion" drive, I'm going to guess that Apple's Bootcamp drivers for Windows will enable Windows to read CoreStorage volumes.

     

    But this has always been read only support in the past. I wonder about 3rd party read/write HFS+ support, which will not work on a CoreStorage volume until that software is updated to support CoreStorage.

  • by Loner T,

    Loner T Loner T Aug 19, 2014 3:29 PM in response to Christopher Murphy
    Level 7 (23,663 points)
    Safari
    Aug 19, 2014 3:29 PM in response to Christopher Murphy

    A full clean install...

     

    Before Bootcamp (via CSM-BIOS), this is what it looks like...

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *256.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage                         255.2 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS OSY-MBP13              *253.4 GB   disk1

                                     Logical Volume on disk0s2

                                     8A0116D5-7E1E-44D8-B2A0-8D4E4D48298D

                                     Unencrypted

     

     

    diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 57578357-3715-48A5-AB8A-4107AF12F7FB

        =========================================================

        Name:         OSY-MBP13

        Status:       Online

        Size:         255200755712 B (255.2 GB)

        Free Space:   1424523264 B (1.4 GB)

        |

        +-< Physical Volume 4D897085-0793-48CC-A00F-58572A56B043

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     255200755712 B (255.2 GB)

        |

        +-> Logical Volume Family 11EBF920-AA4B-4EC6-AC7F-7CC70E69883C

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

            Encryption Status:       Unlocked

            Encryption Type:         None

            Conversion Status:       NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:   No

            Fully Secure:            No

            Passphrase Required:     No

            |

            +-> Logical Volume 8A0116D5-7E1E-44D8-B2A0-8D4E4D48298D

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          253423910912 B (253.4 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (no decryption required)

                LV Name:               OSY-MBP13

                Volume Name:           OSY-MBP13

                Content Hint:          Apple_HFS

     

     

    I can no longer see the OS X partition on the Windows side. After Bootcamp (via CSM-BIOS), this is what it looks like...

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *256.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage                         128.2 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data BOOTCAMP                127.0 GB   disk0s4

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS OSY-MBP13              *126.4 GB   disk1

                                     Logical Volume on disk0s2

                                     8A0116D5-7E1E-44D8-B2A0-8D4E4D48298D

                                     Unencrypted

     

     

    diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 57578357-3715-48A5-AB8A-4107AF12F7FB

        =========================================================

        Name:         OSY-MBP13

        Status:       Online

        Size:         128200753152 B (128.2 GB)

        Free Space:   1424523264 B (1.4 GB)

        |

        +-< Physical Volume 4D897085-0793-48CC-A00F-58572A56B043

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     128200753152 B (128.2 GB)

        |

        +-> Logical Volume Family 11EBF920-AA4B-4EC6-AC7F-7CC70E69883C

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

            Encryption Status:       Unlocked

            Encryption Type:         None

            Conversion Status:       NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:   No

            Fully Secure:            No

            Passphrase Required:     No

            |

            +-> Logical Volume 8A0116D5-7E1E-44D8-B2A0-8D4E4D48298D

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

                Disk:                  disk1

                Status:                Online

                Size (Total):          126423908352 B (126.4 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (no decryption required)

                LV Name:               OSY-MBP13

                Volume Name:           OSY-MBP13

                Content Hint:          Apple_HFS

     

     

     

    Disk: /dev/disk0 geometry: 31130/255/63 [500118192 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: AC 1023 254  63 - 1023 254  63 [    409640 -  250392096] <Unknown ID>

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

    *4: 07 1023 254  63 - 1023 254  63 [ 252071936 -  248045568] HPFS/QNX/AUX

     

     

    sudo gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=256060514304; sectorsize=512; blocks=500118192

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

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

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

          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  250392096      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

      252071272        664       

      252071936  248045568      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      500117504        655       

      500118159         32         Sec GPT table

      500118191          1         Sec GPT header

     

     

    sudo gdisk /dev/disk0

    Password:

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with hybrid MBR; using GPT.

     

    Command (? for help): p

    Disk /dev/disk0: 500118192 sectors, 238.5 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 22749ACF-207D-458E-B255-5DF02C39DC2D

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 500118158

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1325 sectors (662.5 KiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       250801735   119.4 GiB   AF05  OSY-MBP13

       3       250801736       252071271   619.9 MiB   AB00  Recovery HD

       4       252071936       500117503   118.3 GiB   0700  BOOTCAMP

     

    Command (? for help): q

  • by Loner T,

    Loner T Loner T Sep 1, 2014 7:51 AM in response to Christopher Murphy
    Level 7 (23,663 points)
    Safari
    Sep 1, 2014 7:51 AM in response to Christopher Murphy

    Some additional testing using ML 10.8.5 and CoreStorage. This is an example of reducing/creating new volumes  when the original volume covers the entire set of two disks.  (This is a 512GB SSD/1TB HDD Mac mini 2012).

     

    Original CS volume…

     

    diskutil cs list

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6E1AD8BE-19AB-487B-ACC2-176845EB73B0

        =========================================================

        Name:        Internal Drive

        Status:      Online

        Size:        1511111344128 B (1.5 TB)

        Free Space:  73728 B (73.7 KB)

        |

        +-< Physical Volume FD484F82-5D2D-4A52-99E1-A81454B5A51F

        |  ----------------------------------------------------

        |  Index:    0

        |  Disk:    disk0s2

        |  Status:  Online

        |  Size:    511766216704 B (511.8 GB)

        |

        +-< Physical Volume 6F492ECF-807E-45D3-9985-7171D8FE503A

        |  ----------------------------------------------------

        |  Index:    1

        |  Disk:    disk1s2

        |  Status:  Online

        |  Size:    999345127424 B (999.3 GB)

        |

        +-> Logical Volume Family 886E75D1-D9DE-496D-9CF8-6B632261B0D5

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

            Encryption Status:      Unlocked

            Encryption Type:        None

            Conversion Status:      NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:  No

            Fully Secure:            No

            Passphrase Required:    No

            |

            +-> Logical Volume A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9

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

                Disk:              disk2

                Status:            Online

                Size (Total):      1501425287168 B (1.5 TB)

                Size (Converted):  -none-

                Revertible:        No

                LV Name:            OSX-Server-HD

                Volume Name:        OSX-Server-HD

                Content Hint:      Apple_HFS

     

     

    diskutil cs info 6E1AD8BE-19AB-487B-ACC2-176845EB73B0

     

    Core Storage Properties:

      Role:                      Logical Volume Group (LVG)

      UUID:                      6E1AD8BE-19AB-487B-ACC2-176845EB73B0

      LVG Name:                  Internal Drive

      LVG Version:                1

      LVG Size:                  1511111344128 B

      LVG Free Space:            73728 B

      LVG Status:                Online

     

    diskutil cs info 886E75D1-D9DE-496D-9CF8-6B632261B0D5

     

    Core Storage Properties:

      Role:                      Logical Volume Family (LVF)

      UUID:                      886E75D1-D9DE-496D-9CF8-6B632261B0D5

      Parent LVG UUID:            6E1AD8BE-19AB-487B-ACC2-176845EB73B0

      LVF Encryption Status:      Unlocked

      LVF Encryption Type:        None

     

    diskutil cs info A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9

     

    Core Storage Properties:

      Role:                      Logical Volume (LV)

      UUID:                      A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9

      Parent LVF UUID:            886E75D1-D9DE-496D-9CF8-6B632261B0D5

      Parent LVG UUID:            6E1AD8BE-19AB-487B-ACC2-176845EB73B0

      Device Identifier:          disk2

      LV Status:                  Online

      Conversion Status:          NoConversion

      Content Hint:              Apple_HFS

      LV Name:                    OSX-Server-HD

      Volume Name:                OSX-Server-HD

      LV Size:                    1501425287168 B

     

     

    Reducing the volume (the resizeVolume verb is not documented very well).

     

    diskutil cs resizevolume A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9 1024g

     

    Started CoreStorage operation

    Checking file system

    Performing live verification

    Checking Journaled HFS Plus volume

    Checking extents overflow file

    Checking catalog file

    Checking multi-linked files

    Checking catalog hierarchy

    Checking extended attributes file

    Checking volume bitmap

    Checking volume information

    The volume OSX-Server-HD appears to be OK

    Shrinking file system

    Shrinking Logical Volume

    Resizing Core Storage Logical Volume structures

    Resized Core Storage Logical Volume to 1024000000000 bytes

    Finished CoreStorage operation

     

     

    After Reduction…

     

    diskutil cs list

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6E1AD8BE-19AB-487B-ACC2-176845EB73B0

        =========================================================

        Name:        Internal Drive

        Status:      Online

        Size:        1511111344128 B (1.5 TB)

        Free Space:  477425377280 B (477.4 GB)

        |

        +-< Physical Volume FD484F82-5D2D-4A52-99E1-A81454B5A51F

        |  ----------------------------------------------------

        |  Index:    0

        |  Disk:    disk0s2

        |  Status:  Online

        |  Size:    511766216704 B (511.8 GB)

        |

        +-< Physical Volume 6F492ECF-807E-45D3-9985-7171D8FE503A

        |  ----------------------------------------------------

        |  Index:    1

        |  Disk:    disk1s2

        |  Status:  Online

        |  Size:    999345127424 B (999.3 GB)

        |

        +-> Logical Volume Family 886E75D1-D9DE-496D-9CF8-6B632261B0D5

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

            Encryption Status:      Unlocked

            Encryption Type:        None

            Conversion Status:      NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:  No

            Fully Secure:            No

            Passphrase Required:    No

            |

            +-> Logical Volume A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9

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

                Disk:              disk2

                Status:            Online

                Size (Total):      1024000000000 B (1.0 TB)

                Size (Converted):  -none-

                Revertible:        No

                LV Name:            OSX-Server-HD

                Volume Name:        OSX-Server-HD

                Content Hint:      Apple_HFS

     

     

    Create a new volume from freed up space…

     

    diskutil cs createvolume 6E1AD8BE-19AB-487B-ACC2-176845EB73B0 jhfs+ OSX-Server-MT 256g

     

    Started CoreStorage operation

    Waiting for Logical Volume to appear

    Formatting file system for Logical Volume

    Initialized /dev/rdisk3 as a 238 GB HFS Plus volume with a 24576k journal

    Mounting disk

    Core Storage LV UUID: 49876AD9-62BC-4FE6-9E91-026958E4D5D8

    Core Storage disk: disk3

    Finished CoreStorage operation

     

     

    diskutil cs list

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 6E1AD8BE-19AB-487B-ACC2-176845EB73B0

        =========================================================

        Name:        Internal Drive

        Status:      Online

        Size:        1511111344128 B (1.5 TB)

        Free Space:  221425377280 B (221.4 GB)

        |

        +-< Physical Volume FD484F82-5D2D-4A52-99E1-A81454B5A51F

        |  ----------------------------------------------------

        |  Index:    0

        |  Disk:    disk0s2

        |  Status:  Online

        |  Size:    511766216704 B (511.8 GB)

        |

        +-< Physical Volume 6F492ECF-807E-45D3-9985-7171D8FE503A

        |  ----------------------------------------------------

        |  Index:    1

        |  Disk:    disk1s2

        |  Status:  Online

        |  Size:    999345127424 B (999.3 GB)

        |

        +-> Logical Volume Family 886E75D1-D9DE-496D-9CF8-6B632261B0D5

        |  ----------------------------------------------------------

        |  Encryption Status:      Unlocked

        |  Encryption Type:        None

        |  Conversion Status:      NoConversion

        |  Conversion Direction:    -none-

        |  Has Encrypted Extents:  No

        |  Fully Secure:            No

        |  Passphrase Required:    No

        |  |

        |  +-> Logical Volume A7EBBD35-B264-4A0B-9F28-DFA74C16BBF9

        |      ---------------------------------------------------

        |      Disk:              disk2

        |      Status:            Online

        |      Size (Total):      1024000000000 B (1.0 TB)

        |      Size (Converted):  -none-

        |      Revertible:        No

        |      LV Name:            OSX-Server-HD

        |      Volume Name:        OSX-Server-HD

        |      Content Hint:      Apple_HFS

        |

        +-> Logical Volume Family 04F7461B-657B-4F25-A188-ABE36E79D4CF

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

            Encryption Status:      Unlocked

            Encryption Type:        None

            Conversion Status:      NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:  No

            Fully Secure:            No

            Passphrase Required:    No

            |

            +-> Logical Volume 49876AD9-62BC-4FE6-9E91-026958E4D5D8

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

                Disk:              disk3

                Status:            Online

                Size (Total):      256000000000 B (256.0 GB)

                Size (Converted):  -none-

                Revertible:        No

                LV Name:            OSX-Server-MT

                Volume Name:        OSX-Server-MT

                Content Hint:      Apple_HFS

     

     

    diskutil list

     

    /dev/disk0

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:      GUID_partition_scheme                        *512.1 GB  disk0

      1:                        EFI                        209.7 MB  disk0s1

      2:          Apple_CoreStorage                        511.8 GB  disk0s2

      3:                Apple_Boot Boot OS X              134.2 MB  disk0s3

    /dev/disk1

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:      GUID_partition_scheme                        *1.0 TB    disk1

      1:                        EFI                        209.7 MB  disk1s1

      2:          Apple_CoreStorage                        999.3 GB  disk1s2

      3:                Apple_Boot Boot OS X              650.0 MB  disk1s3

    /dev/disk2

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:                  Apple_HFS OSX-Server-HD          *1.0 TB    disk2

    /dev/disk3

      #:                      TYPE NAME                    SIZE      IDENTIFIER

      0:                  Apple_HFS OSX-Server-MT          *256.0 GB  disk3