Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems like Filevault may now be fully compatible #16

Open
sdaitzman opened this issue Nov 2, 2014 · 10 comments
Open

It seems like Filevault may now be fully compatible #16

sdaitzman opened this issue Nov 2, 2014 · 10 comments

Comments

@sdaitzman
Copy link
Collaborator

I'm not sure yet, but I backed everything up and I'm currently encrypting (I have your setup, plus a windows partition) and it would appear to work - so far at least. Here's the output of some diagnostic commands in case my computer goes wonky/breaks/explodes on me:

@sdaitzman
Copy link
Collaborator Author

Welcome to fish ~
\\\ samuel in ~/
 $ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *751.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         486.8 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data BOOTCAMP                180.1 GB   disk0s4
   5:       Microsoft Basic Data                         48.0 GB    disk0s5
   6:                 Linux Swap                         16.1 GB    disk0s6
   7:       Microsoft Basic Data SHARE                   4.0 GB     disk0s7
   8:                  Apple_HFS Mac Recovery            14.6 GB    disk0s8
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS samrmbp                *486.4 GB   disk1
                                 Logical Volume on disk0s2
                                 112139E9-13B2-4929-B246-66BEFAB8B802
                                 Unlocked Encrypted
\\\ samuel in ~/
 $ sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 0.8.8

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): r

Recovery/transformation command (? for help): p
Disk /dev/disk0: 1467339812 sectors, 699.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): C17B1013-9F53-47B3-8423-89C7F543C04D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1467339778
Partitions will be aligned on 8-sector boundaries
Total free space is 1532225 sectors (748.2 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  EFI System Partition
   2          409640       951118047   453.3 GiB   AF05  samrmbp
   3       951118048       952387583   619.9 MiB   AB00  Recovery HD
   4       952387584      1304209407   167.8 GiB   0700  WINDOWS
   5      1304209408      1398027767   44.7 GiB    0700
   6      1398028288      1429473383   15.0 GiB    8200
   7      1429473392      1437285895   3.7 GiB     0700  DOS_FAT_32_Untitled_4
   8      1437548040      1466070231   13.6 GiB    AF00  Mac Recovery

Recovery/transformation command (? for help): o

Disk size is 1467339812 sectors (699.7 GiB)
MBR disk identifier: 0xCB86DFA0
MBR partitions:

Number  Boot  Start Sector   End Sector   Status      Code
   1                     1       409639   primary     0xEE
   2                409640    951118047   primary     0xAC
   3             951118048    952387583   primary     0xAB
   4      *      952387584   1304209407   primary     0x07

Recovery/transformation command (? for help): q
\\\ samuel in ~/
 $ diskutil info /dev/disk0
   Device Identifier:        disk0
   Device Node:              /dev/disk0
   Part of Whole:            disk0
   Device / Media Name:      APPLE SSD SM768E Media

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

   Content (IOContent):      GUID_partition_scheme
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified

   Total Size:               751.3 GB (751277983744 Bytes) (exactly 1467339812 512-Byte-Units)
   Volume Free Space:        Not applicable (no file system)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)
   Ejectable:                No

   Whole:                    Yes
   Internal:                 Yes
   Solid State:              Yes
   OS 9 Drivers:             No
   Low Level Format:         Not supported

\\\ samuel in ~/
 $ diskutil info /dev/disk0s1
   Device Identifier:        disk0s1
   Device Node:              /dev/disk0s1
   Part of Whole:            disk0
   Device / Media Name:      EFI System Partition

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

   Partition Type:           EFI
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              0E239BC6-F960-3107-89CF-1C97F78BB46B
   Disk / Partition UUID:    96B25816-94C9-4D13-B87B-AC48DEA61257

   Total Size:               209.7 MB (209715200 Bytes) (exactly 409600 512-Byte-Units)
   Volume Free Space:        Not applicable (no file system)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s2
   Device Identifier:        disk0s2
   Device Node:              /dev/disk0s2
   Part of Whole:            disk0
   Device / Media Name:      samrmbp

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

   Partition Type:           Apple_CoreStorage
   OS Can Be Installed:      No
   Recovery Disk:            disk0s3
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Disk / Partition UUID:    144569F1-8946-4292-86C8-16D8BECE1D2F

   Total Size:               486.8 GB (486762704896 Bytes) (exactly 950708408 512-Byte-Units)
   Volume Free Space:        Not applicable (no file system)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

   This disk is a Core Storage Physical Volume (PV).  Core Storage Information:
   PV UUID:                  EEC48ABE-270F-4B59-8047-B4ED6BCD44DA
   LVG UUID:                 B12D4649-7E08-4532-A13B-01D089D2A9B7
\\\ samuel in ~/
 $ diskutil info /dev/disk0s3
   Device Identifier:        disk0s3
   Device Node:              /dev/disk0s3
   Part of Whole:            disk0
   Device / Media Name:      Recovery HD

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

   Partition Type:           Apple_Boot
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              32662340-47B0-354E-B83B-25EC7A848E86
   Disk / Partition UUID:    61B6D27C-993B-4416-96B9-D582BF8781EC

   Total Size:               650.0 MB (650002432 Bytes) (exactly 1269536 512-Byte-Units)
   Volume Free Space:        Not applicable (no file system)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s4
   Device Identifier:        disk0s4
   Device Node:              /dev/disk0s4
   Part of Whole:            disk0
   Device / Media Name:      WINDOWS

   Volume Name:              BOOTCAMP

   Mounted:                  Yes
   Mount Point:              /Volumes/BOOTCAMP

   File System Personality:  NTFS
   Type (Bundle):            ntfs
   Name (User Visible):      Windows NT File System (NTFS)

   Partition Type:           Microsoft Basic Data
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              DF06401C-CC3B-452D-B733-6263F52A9995
   Disk / Partition UUID:    E50B9F80-6597-458D-9475-730BF731FB5F

   Total Size:               180.1 GB (180132773888 Bytes) (exactly 351821824 512-Byte-Units)
   Volume Free Space:        40.7 GB (40691109888 Bytes) (exactly 79474824 512-Byte-Units)
   Device Block Size:        512 Bytes
   Allocation Block Size:    4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Yes
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s5
   Device Identifier:        disk0s5
   Device Node:              /dev/disk0s5
   Part of Whole:            disk0
   Device / Media Name:      Untitled 5

   Volume Name:

   Mounted:                  No

   File System Personality:  MS-DOS
   Type (Bundle):            msdos
   Name (User Visible):      MS-DOS (FAT)

   Partition Type:           Microsoft Basic Data
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Disk / Partition UUID:    5311D82E-C125-4116-BDFE-7DF8B52475F3

   Total Size:               48.0 GB (48035000320 Bytes) (exactly 93818360 512-Byte-Units)
   Volume Free Space:        0 B (0 Bytes) (exactly 0 512-Byte-Units)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (not mounted)
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s6
   Device Identifier:        disk0s6
   Device Node:              /dev/disk0s6
   Part of Whole:            disk0
   Device / Media Name:      Untitled 6

   Volume Name:

   Mounted:                  No

   File System Personality:  Linux Swap
   Type (Bundle):            Linux Swap
   Name (User Visible):      Linux Swap

   Partition Type:           Linux Swap
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Disk / Partition UUID:    F4511D71-736D-4F76-B056-BEA880AAC387

   Total Size:               16.1 GB (16099889152 Bytes) (exactly 31445096 512-Byte-Units)
   Volume Free Space:        0 B (0 Bytes) (exactly 0 512-Byte-Units)
   Device Block Size:        512 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (not mounted)
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s7
   Device Identifier:        disk0s7
   Device Node:              /dev/disk0s7
   Part of Whole:            disk0
   Device / Media Name:      DOS_FAT_32_Untitled_4

   Volume Name:              SHARE

   Mounted:                  Yes
   Mount Point:              /Volumes/SHARE

   File System Personality:  MS-DOS FAT32
   Type (Bundle):            msdos
   Name (User Visible):      MS-DOS (FAT32)

   Partition Type:           Microsoft Basic Data
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              8277F81B-BEB5-30CB-9C58-599F01B86490
   Disk / Partition UUID:    8D242D0E-F355-453A-9510-7BDCDA647CBE

   Total Size:               4.0 GB (4000002048 Bytes) (exactly 7812504 512-Byte-Units)
   Volume Free Space:        3.1 GB (3084165120 Bytes) (exactly 6023760 512-Byte-Units)
   Device Block Size:        512 Bytes
   Allocation Block Size:    4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         No
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s8
   Device Identifier:        disk0s8
   Device Node:              /dev/disk0s8
   Part of Whole:            disk0
   Device / Media Name:      Mac Recovery

   Volume Name:              Mac Recovery

   Mounted:                  Yes
   Mount Point:              /Volumes/Mac Recovery

   File System Personality:  Journaled HFS+
   Type (Bundle):            hfs
   Name (User Visible):      Mac OS Extended (Journaled)
   Journal:                  Journal size 8192 KB at offset 0x6f000
   Owners:                   Enabled

   Partition Type:           Apple_HFS
   OS Can Be Installed:      Yes
   Media Type:               Generic
   Protocol:                 SATA
   SMART Status:             Verified
   Volume UUID:              F3E7973F-222D-3263-9B50-238955C22A2C
   Disk / Partition UUID:    953855FD-DA67-415C-868D-FA006461010A

   Total Size:               14.6 GB (14603362304 Bytes) (exactly 28522192 512-Byte-Units)
   Volume Free Space:        4.6 GB (4625387520 Bytes) (exactly 9033960 512-Byte-Units)
   Device Block Size:        512 Bytes
   Allocation Block Size:    4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         No
   Ejectable:                No

   Whole:                    No
   Internal:                 Yes
   Solid State:              Yes

\\\ samuel in ~/
 $ diskutil info /dev/disk0s9
Could not find disk: /dev/disk0s9
\\\ samuel in ~/
 $ diskutil info /dev/disk0s0
Could not find disk: /dev/disk0s0

@sdaitzman
Copy link
Collaborator Author

I'll probably regret this but.... for science! 😝

@aroman
Copy link
Owner

aroman commented Nov 2, 2014

i think i got FileVault2 + LVM encryption working once on the same internal drive. I think, yeah, FileVault works just fine.

@sdaitzman
Copy link
Collaborator Author

I have FV2 + Elementary + Windows working :D haven't tried booting Elementary yet but OS X and Windows are a go

@sdaitzman
Copy link
Collaborator Author

I think FV2 used to complain if your disk had a hybrid MBR or non-standard partition setup

@sdaitzman
Copy link
Collaborator Author

Elementary boots too, running great!

@aroman
Copy link
Owner

aroman commented Dec 1, 2014

sweet! thanks for figuring all this out. when you get a chance, could you amend the guide to reflect this? i.e. providing instructions about how to set things up in a FV2 vs. non-FV2 system?

I've made you a collaborator on the repo, by the way :)

@sdaitzman
Copy link
Collaborator Author

Thank you 😄

I'll write up some guidelines but I don't think we should officially support it until we can test on a stock-configured device

@aroman
Copy link
Owner

aroman commented Apr 27, 2015

@sdaitzman any thoughts about this today? I currently dual boot OS X Yosemite and ArchLinux on my machine, with FileVault 2, and everything works fine... but I'm not using rEFInd/this guide, I'm using gummiboot.

@sdaitzman
Copy link
Collaborator Author

Funny you asked... I just spent several hours trying to test this out again. Unfortunately my drive seems to have some pretty serious issues (I can't resize or verify my main partition successfully).

Now that Freya is out I'd like to test it again, but it seems like I'm going to have to back up, reformat and restore first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants