Ravenmoon

Q: HELP! I have 7 partitions, 2 EFI, 2 MacHD, etc.

I have no idea how this happened, but my internal HD has ended up with 7 (yes, seven) partitions, 6 of which are invisible, and several of which are duplicates. Neat trick, I know, and no, no clue how!

 

Specs: iMac 27" Late 2012, running Mavericks 10.9.5. Have tried rebooting into Time Machine (external drive), a CarbonCopy Clone (other external drive) and Recovery Mode, none of these will allow me to re-partition the drive. Here is what Disk Utility shows (with hidden volumes enabled):

Screen Shot 2015-01-29 at 7.49.00 PM.png

When I run diskutil list, the drives appear as follows:

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *121.3 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:          Apple_CoreStorage                         121.0 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 EFI                     209.7 MB   disk1s1

   2:          Apple_CoreStorage                         999.3 GB   disk1s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

/dev/disk2

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                  Apple_HFS Manor                  *1.1 TB     disk2

 

This all started when trying to set up BootCamp, which also threw up a list of 7 volumes, none of which could be used to install Windows.


I am pretty much out of ideas...... Help?

iMac, OS X Mavericks (10.9), 27&" 3.4 Ghz Core i7

Posted on Jan 29, 2015 5:04 PM

Close

Q: HELP! I have 7 partitions, 2 EFI, 2 MacHD, etc.

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by Loner T,

    Loner T Loner T Feb 5, 2015 7:51 PM in response to Ravenmoon
    Level 7 (24,728 points)
    Safari
    Feb 5, 2015 7:51 PM in response to Ravenmoon

    You have Disk Utility Debug Menu turned on which shows hidden partitions. You have two disks. Each has an EFI and you can tell by the Grey disk icon, that they come from the internal disk. They show up in Disk Utility menu. The third EFI has USB icon, which comes from an external disk.

     

    If you use VMware Fusion and eject an external disk which has a VM, it shows not only the ejected disk, but also the otherwise hidden partitions like EFI and Recovery HD from the external disk. I can reproduce this behavior when I have a Mac OSX 10.7 VM on an external SSD under Fusion.

     

    Here is my VMDK file for this VM.

     

    # Disk DescriptorFile

    version=1

    encoding="UTF-8"

    CID=db27db07

    parentCID=ffffffff

    isNativeSnapshot="no"

    createType="fullDevice"

     

    # Extent description

    RW 1000215216 FLAT "/dev/disk3" 0 partitionUUID @disk:diskModel=External|20USB|203.0,diskSize=512110190592,diskVendor=PI-548

     

    # The Disk Data Base

    #DDB

     

    ddb.toolsVersion = "9284"

    ddb.longContentID = "b872167954cac30c923b22ccdb27db07"

    ddb.uuid = "60 00 C2 97 70 b1 3d 90-84 6a 62 40 e2 bb 72 7d"

    ddb.geometry.cylinders = "62260"

    ddb.geometry.heads = "255"

    ddb.geometry.sectors = "63"

    ddb.geometry.biosCylinders = "1024"

    ddb.geometry.biosHeads = "255"

    ddb.geometry.biosSectors = "63"

    ddb.adapterType = "lsilogic"

     

    This is the article I used to build my external USB VM -http://technologist.pro/virtualization/boot-from-external-physical-hard-drive-in -vmware-fusion

     

    PS: Saw your two outputs. The reason they vanish and cleanup (but will stay in Disk Utility if Debug stays on) is because OSX is cleaning up objects and associated icons after the eject process for the external USB device is complete.

     

    You can turn off and on the DU Debug menu using the following commands respectively.

     

    To disable DEBUG

    defaults write com.apple.DiskUtility DUDebugMenuEnabled 0

    To enable DEBUG

    defaults write com.apple.DiskUtility DUDebugMenuEnabled 1

  • by Loner T,

    Loner T Loner T Feb 5, 2015 7:57 PM in response to Ravenmoon
    Level 7 (24,728 points)
    Safari
    Feb 5, 2015 7:57 PM in response to Ravenmoon

    Missed my Edit Window...

     

    The EFI partitions are hidden, but can be mounted with

    $ mkdir /Volumes/EFI

    $ sudo mount -t msdos /dev/disk0s1 /Volumes/EFI/

    Password:

    $ df -h

    Filesystem      Size   Used  Avail Capacity   iused     ifree %iused  Mounted on

    /dev/disk0s2   691Gi  476Gi  215Gi    69% 124782337  56295742   69%   /

    devfs          338Ki  338Ki    0Bi   100%      1174         0  100%   /dev

    /dev/disk0s4   240Gi   55Gi  185Gi    24%    115088 193850280    0%   /Volumes/rMBPBCMP

    map -hosts       0Bi    0Bi    0Bi   100%         0         0  100%   /net

    map auto_home    0Bi    0Bi    0Bi   100%         0         0  100%   /home

    /dev/disk0s1   197Mi   25Mi  171Mi    13%         0         0  100%   /Volumes/EFI

     

    $ diskutil unmount /Volumes/EFI

    Volume EFI on disk0s1 unmounted

  • by Ravenmoon,

    Ravenmoon Ravenmoon Feb 5, 2015 8:25 PM in response to Loner T
    Level 1 (12 points)
    iTunes
    Feb 5, 2015 8:25 PM in response to Loner T

    I'm sorry, I don't think Im following you...  I don't have VMware Fusion. The problem isn't that the drives SHOW in DiskUtility, I turned that on intentionally.

     

    Also, what about the booting problem? I am still having weird boot issues; I can't set the Startup Disk to the Mac OS partition. I get the error "Building boot caches on boot helper partition failed," so it seems that there are some problems with the partition structure?

  • by Loner T,

    Loner T Loner T Feb 6, 2015 3:37 AM in response to Ravenmoon
    Level 7 (24,728 points)
    Safari
    Feb 6, 2015 3:37 AM in response to Ravenmoon

    VMware Fusion was an example of software which enables hidden volumes, you may or may not use it. What other third-party software do you have, like NTFS-read-write tools, Disk and/or Partition Management tools?

     

    Disk Utility has quite a few challenges with CS Volumes. The only reliable method, available as of now, is to use the diskutil cs command set to erase/expand/manage/rebuild.

     

    Can I suggest a Disk Utility Verify/Repair (one thing that seems to work because it is not a CoreStorage command) on both the physical disks? Another approach to address such issues is by using Safe Mode boot. Useful specific key sequences are listed in Startup key combinations for Intel-based Macs - Apple Support.

     

    There are many "hidden"commands (Apple chose not to document these), but can be found either in windows 8 does not recognise Macintosh HD, No drive Letter or http://blog.fosketts.net/2011/08/05/undocumented-corestorage-commands/.

  • by Ravenmoon,

    Ravenmoon Ravenmoon Feb 6, 2015 9:55 AM in response to Loner T
    Level 1 (12 points)
    iTunes
    Feb 6, 2015 9:55 AM in response to Loner T

    Aside from Disk Utility and BootCamp, I don't have or use other disk or partition management software; that's one thing that makes this so odd! LOL Also, by physical disks you mean both portions of the Fusion drive, yes? Other than that, I only have the one drive giving me problems; my externals are fine.

     

    I have tried booting in SafeMode (with no other drives present [i.e. physically disconnected]), and nothing changes; the same partitions appear in DiskUtility (as below). The only difference is that the BootCamp partition does not mount. I am still unable to set my StartUp Drive to MacOS X in System Prefs; doing so returns the same error: "Building boot caches on boot helper partition failed."

    Screen Shot 2015-02-06 at 12.31.27 PM.png

    Disk Utility Verify returns "Disk appears to be OK" on all partitions except the "Boot OS X," which it is unable to verify (the option is greyed out). My issue is not with Windows recognizing the Mac Drive; my Mac OS X partition appears in Windows just fine. My issue is the 'extra' partitions that I can't get rid of, the fact that I cannot remove all the partitions and repartition the drive, and that I can't set my startup drive to the Mac OS X partition. All of these seem to point to some kind of problem with the hidden boot partitions.

     

    I looked over the other thread here, and it seems like the problem that poster had was solved by repartitioning the drive and reinstalling Mavericks. However, I have not touched Yosemite, and I cannot repartition my drive via any method available to me at present. I am looking at the Fosketts piece you linked, and this looks like it might be helpful, but I am afraid I am not familiar enough with the syntax to apply these safely, or even know exactly which processes I should be using....

     

    Please don't get me wrong; I do appreciate the time you've taken, I truly do. I'm just no closer to being able to either fix the issue or start from scratch than I was when I started. What I still need to know is:

    1. Which of the hidden partitions I am seeing SHOULD be there for a drive with one Mac partition and one BootCamp partition, and which ones are extraneous?
    2. How can I address the 'boot caches' issue so I can designate the Mac OS partition as the startup drive?
    3. How can I safely remove those that are extraneous, and restore the correct structure?

     

    (Is it possible that the Boot Camp utility could have created a Mavericks/Yosemite hybrid of some kind? I keep seeing these Core Storage issues coming up with Yosemite, but I haven't used Yosemite.... Though I used the utility in the Applications folder.....)

  • by Loner T,

    Loner T Loner T Feb 6, 2015 10:40 AM in response to Ravenmoon
    Level 7 (24,728 points)
    Safari
    Feb 6, 2015 10:40 AM in response to Ravenmoon

    Ravenmoon wrote:

     

    Aside from Disk Utility and BootCamp, I don't have or use other disk or partition management software; that's one thing that makes this so odd! LOL Also, by physical disks you mean both portions of the Fusion drive, yes? Other than that, I only have the one drive giving me problems; my externals are fine.

    Yes, I meant the SSD and HDD parts.

     

    I have tried booting in SafeMode (with no other drives present [i.e. physically disconnected]), and nothing changes; the same partitions appear in DiskUtility (as below). The only difference is that the BootCamp partition does not mount. I am still unable to set my StartUp Drive to MacOS X in System Prefs; doing so returns the same error: "Building boot caches on boot helper partition failed."

    Screen Shot 2015-02-06 at 12.31.27 PM.png

     

    What does sudo bless --info return? Bootcamp is not expected to work in Safe Mode.  What files do you have in /Library/Preferences/SystemConfiguration folder. Here is my example.

     

    ls -l /Library/Preferences/SystemConfiguration/

    total 768

    drwxr-xr-x  3 root  admin     102 Sep 12  2013 CaptiveNetworkSupport

    -rw-r--r--  1 root  wheel    7309 Jan 29 06:34 NetworkInterfaces.plist

    -rw-r--r--  1 root  admin     232 Sep 12  2013 com.apple.Boot.plist

    -rw-r--r--  1 root  wheel     181 Jul  8  2014 com.apple.IPConfiguration.control.plist

    -rw-r--r--  1 root  wheel    2351 Mar  1  2014 com.apple.PowerManagement.plist

    -rw-r--r--  1 root  wheel     321 Feb  1  2014 com.apple.accounts.exists.plist

    -rw-r--r--  1 root  wheel    3368 Feb  6 09:26 com.apple.airport.preferences.plist

    -rw-r--r--  1 root  wheel     231 Jul  8  2014 com.apple.eapolclient.plist

    -rw-r--r--  1 root  wheel     348 Feb  6 09:26 com.apple.smb.server.plist

    -rw-r--r--  1 root  wheel  331785 Feb  6 09:26 com.apple.wifi.message-tracer.plist

    -rw-r--r--  1 root  wheel   17167 Jan 14 15:03 preferences.plist

     

    If you have Xcode installed, you can open the .plist files. com.apple.Boot.plist is what can provide some interesting information.

    Deleting this folder and rebooting rebuilds it, but it strongly recommended that this folder be backed up elsewhere. Customized settings can be lost otherwise.

     

     

    Disk Utility Verify returns "Disk appears to be OK" on all partitions except the "Boot OS X," which it is unable to verify (the option is greyed out). My issue is not with Windows recognizing the Mac Drive; my Mac OS X partition appears in Windows just fine. My issue is the 'extra' partitions that I can't get rid of, the fact that I cannot remove all the partitions and repartition the drive, and that I can't set my startup drive to the Mac OS X partition. All of these seem to point to some kind of problem with the hidden boot partitions.

    One suggestion would be to install OSX on an external volume - OS X: Installing OS X on an external volume - Apple Support

    and testing a clean install of OSX. If you can reboot the Mac and then go to Applications -> Utilities -> Console logs and in the top right search box, type EFI and search, it may provide clues on what is mounting these hidden partitions. After the Debug menu was enabled, were these ever mounted by hand at least once?

     

    1. Which of the hidden partitions I am seeing SHOULD be there for a drive with one Mac partition and one BootCamp partition, and which ones are extraneous?
    2. How can I address the 'boot caches' issue so I can designate the Mac OS partition as the startup drive?
    3. How can I safely remove those that are extraneous, and restore the correct structure?

     

    (Is it possible that the Boot Camp utility could have created a Mavericks/Yosemite hybrid of some kind? I keep seeing these Core Storage issues coming up with Yosemite, but I haven't used Yosemite.... Though I used the utility in the Applications folder.....)

    Your diskutil list output shows the correct ones. EFI and Recovery HD (and Apple Boot) should not be mounted by default. You should only see the LVG (Macintosh HD) and the LV (Macintosh HD - they have the same name which is another source of confusion). Bootcamp should also be visible. There should be nothing else mounted. The external disk boot may help diagnose/fix the boot caches issue. The structure is correct, but the visibility could be better. Pick one EFI volume in DU, and test if you can unmount it.

     

    Be aware that File Vault2 and Fusion Drive both use CoreStorage, even before the advent of Yosemite (since ML 10.8.x). Try the external boot first, otherwise can you set up a Time Machine backup and backup OSX. For Bootcamp, you can use Winclone (Windows backup/restore is problematic on Macs).

  • by Drew Reece,

    Drew Reece Drew Reece Feb 6, 2015 10:57 AM in response to Loner T
    Level 5 (7,753 points)
    Notebooks
    Feb 6, 2015 10:57 AM in response to Loner T

    I was wondering if it is Mac OS or if it is the disk structure causing these to mount. I do believe the EFI partitions are normal, but they shouldn't be mounting by default.

    The 'boot from external OS X' test may cause them not to appear or if the internal disk still mounts all the EFI partitions you know the disk structure is causing it. If the disk doesn't show the partitions you can assume the OS is mounting them for some reason.

     

    /etc/fstab is capable of mounting partitions at boot too. Lets see if you have any entries in there, in Terminal…

    cat /etc/fstab

    That file may not exist, so do not be alarmed if it doesn't, post the output if you have any.

  • by Loner T,

    Loner T Loner T Feb 6, 2015 11:46 AM in response to Drew Reece
    Level 7 (24,728 points)
    Safari
    Feb 6, 2015 11:46 AM in response to Drew Reece

    My test on CS volumes on Yosemite (non-Fusion drive) does not show this behavior but I can manually mount EFI.

  • by babowa,

    babowa babowa Feb 6, 2015 12:43 PM in response to Loner T
    Level 7 (32,249 points)
    iPad
    Feb 6, 2015 12:43 PM in response to Loner T

    I'm out of my league at this point here, but I believe that it all has to do with the fusion drive. I had one for a few days and wish I had kept a screenshot of the extremely odd (to me) looking listings in DU which looked very much like the OP's. There was absolutely no way to make any sense out of it at all, especially since you basically have no control over a fusion drive, DU is a special version which only works with that fusion drive, and you're only allowed 2 partitions.

     

    I wasn't able to learn more about it because the brand new iMac was returned as a DOA (as determined by a Genius) due to several power management problems.

  • by Loner T,

    Loner T Loner T Feb 6, 2015 12:54 PM in response to babowa
    Level 7 (24,728 points)
    Safari
    Feb 6, 2015 12:54 PM in response to babowa

    I typically ignore DU on Fusion drive Macs, and stick to CLI and use diskutil cs commands. It is much cleaner for me to understand LVGs and LVs and LVFs.

  • by babowa,

    babowa babowa Feb 6, 2015 12:58 PM in response to Loner T
    Level 7 (32,249 points)
    iPad
    Feb 6, 2015 12:58 PM in response to Loner T

    I'm a happy camper now because the replacement iMac has a regular 7200 rpm drive (well, ok, an SSD would have been better, but I can't afford a 1 TB).......

  • by Loner T,

    Loner T Loner T Feb 6, 2015 1:26 PM in response to Ravenmoon
    Level 7 (24,728 points)
    Safari
    Feb 6, 2015 1:26 PM in response to Ravenmoon

    Ran a test with a non-Fusion (but CS Volume) and a Reboot. EFI does not automatically mount after reboot on Yosemite 10.10.2.

     

    DU-WithoutDebug.png

     

    with Debug turned on...

    DU-WithDebug.png

     

    EFI has not been mounted yet...

     

    DU-Debug-Storage.png

     

    EFI is now mounted manually...

    DU-Debug-Storage-EFI.png

     

    I will test with a Mini and DU on Mavericks which has a DIY Fusion (SSD/HDD) and post back.

  • by Ravenmoon,

    Ravenmoon Ravenmoon Feb 6, 2015 4:41 PM in response to Loner T
    Level 1 (12 points)
    iTunes
    Feb 6, 2015 4:41 PM in response to Loner T

    OK. (And thank you all for continuing to work on this!) Terminal commands from LonerT and Drew:


    sudo bless --info returns:

    Volume for path  is not available

     

    ls -l /Library/Preferences/SystemConfiguration/ returns:

    total 224

    drwxr-xr-x  3 root  admin    102 Sep  2  2013 CaptiveNetworkSupport

    -rw-r--r--  1 root  wheel   4860 Feb  6 12:58 NetworkInterfaces.plist

    -rw-r--r--  1 root  staff     80 Aug 27  2013 autodiskmount.plist

    -rw-r--r--  1 root  admin    232 Aug 24  2013 com.apple.Boot.plist

    -rw-r--r--  1 root  wheel   1482 Dec 25 10:19 com.apple.PowerManagement.plist

    -rw-r--r--  1 root  wheel    440 Jan 17 13:13 com.apple.accounts.exists.plist

    -rw-r--r--  1 root  wheel   5782 Feb  6 12:58 com.apple.airport.preferences.plist

    -rw-r--r--  1 root  wheel    218 Sep 14  2013 com.apple.network.eapolclient.configuration.plist

    -rw-r--r--  1 root  wheel    552 Dec 30  2013 com.apple.smb.server.plist

    -rw-r--r--  1 root  wheel  44514 Feb  6 12:58 com.apple.wifi.message-tracer.plist

    -rw-r--r--  1 root  admin  26861 Jan 29 14:45 preferences.plist

     

    cat /etc/fstab returns:

    No such file or directory

     

    I currently have Mavericks on an external & bootable drive, but not a clean install. That might take me a bit, but I will report back!

  • by Drew Reece,

    Drew Reece Drew Reece Feb 6, 2015 4:44 PM in response to Ravenmoon
    Level 5 (7,753 points)
    Notebooks
    Feb 6, 2015 4:44 PM in response to Ravenmoon

    Try…

    bless --info /

    or

    bless --info /Volumes/Manor


    You have no /etc/fstab so that is another thing to rule out.

  • by Ravenmoon,

    Ravenmoon Ravenmoon Feb 6, 2015 5:17 PM in response to Drew Reece
    Level 1 (12 points)
    iTunes
    Feb 6, 2015 5:17 PM in response to Drew Reece

    That returns:

    bless --info /Volumes/Manor

    finderinfo[0]: 30587881 => Blessed System Folder is /System/Library/CoreServices

    finderinfo[1]: 30990665 => Blessed System File is /System/Library/CoreServices/boot.efi

    finderinfo[2]:      0 => Open-folder linked list empty

    finderinfo[3]:      0 => No alternate OS blessed file/folder

    finderinfo[4]:      0 => Unused field unset

    finderinfo[5]: 30587881 => OS X blessed folder is /System/Library/CoreServices

    64-bit VSDB volume id:  0x20D4D6F9C5CFE11A

     

    Does this tell us anything, or is this a fix? (I can't restart at the moment....but will when I can. LOL)

Previous Page 2 of 4 last Next