I screwed up my Windows partition with encryption

Discussion in 'Windows, Linux & Others on the Mac' started by Hazhulkhen, Jul 7, 2013.

  1. Hazhulkhen, Jul 7, 2013
    Last edited: Jul 7, 2013

    Hazhulkhen macrumors newbie

    Joined:
    Jul 7, 2013
    #1
    Setup: OS X 10.8.3 and Windows 7 32-bit installed through Boot Camp dual booted on a RMBP. 500GB disk space, ~150GB for Windows 7 and the rest for OS X

    Problem: I had the brilliant idea of encrypting my hard drive without accounting for side effects on the Windows partition. I right clicked "Macintosh HD" in the desktop, and selected Encrypt "Macintosh HD" which ran for a few days before I checked on it again. Turns out the Encrypt menu was still greyed out, suggesting that it hung up on something. I restarted, and that's when the party began.

    Normally, Windows 7 appears with rEFIt upon boot. However, I went straight to OS X. I decrypted the drive and rebooted, but nothing changed other than I no longer had to enter the disk password. Here's the relevant outputs I thought of, but I can definitely provide more.

    Code:
    Boss% diskutil list; echo; diskutil cs list
    /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            338.0 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data                         61.4 GB    disk0s4
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     Apple_partition_scheme                        *21.0 MB    disk1
       1:        Apple_partition_map                         32.3 KB    disk1s1
       2:                  Apple_HFS rEFIt                   20.9 MB    disk1s2
    
    No CoreStorage logical volume groups found
    Right away, there's a problem here. The Microsoft Basic Data partition is 61.4GB, not 150GB. The initial partition I made with Boot Camp was about that size, but I used Carbon Copy Cloner (I think) to increase the size to 150GB. It's showing the original size.

    Code:
    Boss% diskutil mount disk0s4
    Volume on disk0s4 failed to mount
    From Disk Utility:
    Code:
    Mount Point :	Not mounted	Capacity :	61.42 GB (61,417,193,472 Bytes)
     	Format :	MS-DOS (FAT)	Available :	-
     	Owners Enabled :	-	Used :	-
     	Number of Folders :	-	Number of Files :	-
    I can't mount it in Disk Utility. disk0s4 is greyed out and clicking Mount does nothing. I don't know why the format says FAT and not NTFS.

    Code:
    Boss% sudo gpt -r show disk0
    Password:
    gpt show: disk0: Suspicious MBR at sector 0
          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  660156248      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
      660565888    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      661835424  195314016
      857149440  119955456      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      977104896        131
      977105027         32         Sec GPT table
      977105059          1         Sec GPT header
    Code:
    Verifying volume “disk0s4”
    Checking file system** /dev/disk0s4
    Invalid BS_jmpBoot in boot block: 03ef10
    Error: This disk needs to be repaired. Click Repair Disk.
    Code:
    Boss% diskutil info /dev/disk0
       Device Identifier:        disk0
       Device Node:              /dev/disk0
       Part of Whole:            disk0
       Device / Media Name:      APPLE SSD SM512E 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:               500.3 GB (500277790720 Bytes) (exactly 977105060 512-Byte-Blocks)
       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
    
    Code:
    Boss% diskutil info /dev/disk0s4
       Device Identifier:        disk0s4
       Device Node:              /dev/disk0s4
       Part of Whole:            disk0
       Device / Media Name:      BOOTCAMP
    
       Volume Name:
       Escaped with Unicode:
    
       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
    
       Total Size:               61.4 GB (61417193472 Bytes) (exactly 119955456 512-Byte-Blocks)
       Volume Free Space:        0 B (0 Bytes) (exactly 0 512-Byte-Blocks)
       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
    Code:
    Boss% diskutil info /dev/disk0s2
       Device Identifier:        disk0s2
       Device Node:              /dev/disk0s2
       Part of Whole:            disk0
       Device / Media Name:      Macintosh HD
    
       Volume Name:              Macintosh HD
       Escaped with Unicode:     Macintosh%FF%FE%20%00HD
    
       Mounted:                  Yes
       Mount Point:              /
       Escaped with Unicode:     /
    
       File System Personality:  Journaled HFS+
       Type (Bundle):            hfs
       Name (User Visible):      Mac OS Extended (Journaled)
       Journal:                  Journal size 40960 KB at offset 0x1238b000
       Owners:                   Enabled
    
       Partition Type:           Apple_HFS
       OS Can Be Installed:      Yes
       Media Type:               Generic
       Protocol:                 SATA
       SMART Status:             Verified
       Volume UUID:              E07314C5-A51A-34B4-B75D-F3E5134C9B26
    
       Total Size:               338.0 GB (337999998976 Bytes) (exactly 660156248 512-Byte-Blocks)
       Volume Free Space:        58.8 GB (58798522368 Bytes) (exactly 114840864 512-Byte-Blocks)
       Device Block Size:        512 Bytes
    
       Read-Only Media:          No
       Read-Only Volume:         No
       Ejectable:                No
    
       Whole:                    No
       Internal:                 Yes
       Solid State:              Yes
    Code:
    Boss% 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:              95C2CE44-4DD1-3956-8796-63701E5E1AAE
    
       Total Size:               650.0 MB (650002432 Bytes) (exactly 1269536 512-Byte-Blocks)
       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
    Code:
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     Apple_partition_scheme                        *21.0 MB    disk1
       1:        Apple_partition_map                         32.3 KB    disk1s1
       2:                  Apple_HFS rEFIt                   20.9 MB    disk1s2
    Boss% diskutil info disk1
       Device Identifier:        disk1
       Device Node:              /dev/disk1
       Part of Whole:            disk1
       Device / Media Name:      Apple UDIF read-only compressed (zlib) Media
    
       Volume Name:              Not applicable (no file system)
    
       Mounted:                  Not applicable (no file system)
    
       File System:              None
    
       Content (IOContent):      Apple_partition_scheme
       OS Can Be Installed:      No
       Media Type:               Generic
       Protocol:                 Disk Image
       SMART Status:             Not Supported
    
       Total Size:               21.0 MB (20971520 Bytes) (exactly 40960 512-Byte-Blocks)
       Volume Free Space:        Not applicable (no file system)
       Device Block Size:        512 Bytes
    
       Read-Only Media:          Yes
       Read-Only Volume:         Not applicable (no file system)
       Ejectable:                Yes
    
       Whole:                    Yes
       Internal:                 No
       OS 9 Drivers:             No
       Low Level Format:         Not supported
    From Partition Inspector:
    Code:
    *** Report for internal hard disk ***
    
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640    660565887  Mac OS X HFS+
     3      660565888    661835423  Mac OS X Boot
     4      857149440    977104895  Basic Data
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2         409640    660565887  af  Mac OS X HFS+
     3      660565888    661835423  ab  Mac OS X Boot
     4      857149440    977104895  0c  FAT32 (LBA)
    
    MBR contents:
     Boot Code: Unknown, but bootable
    
    Partition at LBA 40:
     Boot Code: None (Non-system disk message)
     File System: FAT32
     Listed in GPT as partition 1, type EFI System (FAT)
    
    Partition at LBA 409640:
     Boot Code: None
     File System: HFS Extended (HFS+)
     Listed in GPT as partition 2, type Mac OS X HFS+
     Listed in MBR as partition 2, type af  Mac OS X HFS+
    
    Partition at LBA 660565888:
     Boot Code: None
     File System: HFS Extended (HFS+)
     Listed in GPT as partition 3, type Mac OS X Boot
     Listed in MBR as partition 3, type ab  Mac OS X Boot
    
    Partition at LBA 857149440:
     Boot Code: None
     File System: Unknown
     Listed in GPT as partition 4, type Basic Data
     Listed in MBR as partition 4, type 0c  FAT32 (LBA)
    
    How can I proceed here? Please note that I am unable to boot into Windows, so I can't troubleshoot from there.
     
  2. Hazhulkhen thread starter macrumors newbie

    Joined:
    Jul 7, 2013
    #2
    Nobody has any thoughts? Guess I'm screwed. I'll format it. Thanks for reading.
     

Share This Page