External hard drive only visible in System Profiler, doesn't mount, not visible in Disk Utility (Mac)

19,428

The only theory I can imagine for what you're describing is if you're booting into Safe Mode and if you are, Lion won't mount your 'unsafe' drives or even recognise them (in some instances).

nb. OS X will still write hidden dot files (.fsevents .DS_store .Trashes etc) to those unmounted drives / partitions / filesystems.

Although this theory is unlikely (as you'd surely notice the lengthy boot time - during which OS X rebuilds all the cache / kexts / preference files), you can find out whether you're booting into Safe Mode (and further investigate your issue) by opening the Terminal and sudo'ing to root.

To determine your boot parameters, type:

nvram -xp

Look for the "boot-args" field (which may not be there, in which case you aren't booting into Safe Mode) and if you have any of these listed, it means:

  1. -v boot verbose
  2. -x boot into Safe mode
  3. -s boot into Single-user mode (like an enhanced safe mode, used for low-level filesystem manipulation / repairs / investigation / etc
  4. -k boot without kernel extensions (if you have corrupted kexts, they should be rebuilt cleanly)
  5. -K boot without kernel cache (same deal re: corrupted cache)

You can add any of these to your nvram settings if you wish, and they'll be persistent (until you remove or adjust them) - this example below would boot you into Safe Mode with Verbose output indefinitely:

nvram boot-args="-x -v"

By design, you can safely clear your entire nvram settings and the system should rebuild upon next boot. To clear your nvram on the command line, type:

nvram -c

As for OS X recognising your drives, there is so much more information available using the Terminal. The diskutil command is very easy to use and has simple, clear instructions and output. Type something like:

diskutil list 

and you'll see all disks / drives / partitions (mounted and unmounted) listed.

To see all your mounted filesystems (and their mount-points), simply type:

mount 

You can mount your EFI system partition by creating a directory to use as a mountpoint:

mkdir /Volumes/EFI

then mount the 'hidden' system partition

mount_msdos /dev/disk0s1 /Volumes/EFI 

or

mount -t vfat -o rw /dev/disk0s1 /Volumes/EFI

(-t is the filesystem, -o denotes mount params [rw is read/write, use ro for readonly])

and to unmount

umount -f /Volumes/EFI

diskutil and hdiutil commands give you a lot of information which will almost certainly give you enough information to work out what's wrong with the unmountable drive.

Share:
19,428

Related videos on Youtube

Amir Rahbaran
Author by

Amir Rahbaran

Updated on September 18, 2022

Comments

  • Amir Rahbaran
    Amir Rahbaran over 1 year

    I have an external hard drive that does not mount to my Mac laptop, nor is it visible in Disk Utility. It is, however, visible in the System Profiler under the USB section. Any suggestions as to how I can get this drive to mount?

    Thanks.

  • Amir Rahbaran
    Amir Rahbaran about 12 years
    This isn't the case here, unfortunately, as there was never any encryption or password-protection.
  • obsd
    obsd about 12 years
    additional details might help the community provide you an answer. e.g. did this drive ever mount properly on the mac? brand / model? will it mount on a different computer / OS? have you tried using utlities provided by the manufacturer to mount the drive?
  • slhck
    slhck about 12 years
    Check the formatting options please, # creates headlines. You need to indent code by 4 spaces.
  • jonny
    jonny about 12 years
    Thanks, I will endeavour to do it properly (I was mistakenly copying the formatting of another poster but your advice is superior ta) - of course, it's redundant as my account has banned from providing answers. No reasons given. One assumes for the crime of "helping people", banned by someone who doesn't want people to be helped?
  • slhck
    slhck about 12 years
    I'll take a wild guess and say it's not because you were trying to help (obviously, we encourage that), but the way you formulated these answers. I gave you some tips on that already, also see the edit history on this very post.
  • slhck
    slhck about 12 years
    That's not the issue. How is "this is crap" the truth? If you can factually prove that something doesn't work as expected (always related to the actual question you're answering), then fine. Running around cursing though isn't helping anybody. It's not about "hurting the feelings" of someone. You just come off as insulting and unprofessional, sorry. You've been told that already, and I won't repeat myself. If you need any further guidance about etiquette here, please ask a question on Meta Super User.
  • jonny
    jonny about 12 years
    Unlike so many in this world of 'polite' liars (small talking, 'self-promoting', insulting with 'diplomatic' tact, circumspect, vague, 'complimentary', 'sensitive', 'inoffensive' pandering to corruption, evil and vile 'preferences'), I care only for a single consideration: CORRECT v INCORRECT. I say nothing I cannot verify & nothing I say is EVER malicious (only malicious people get confused about Truth). You don't need to repeat yourself when you ask a question & instantly prevent an answer: i.imgur.com/Nl5N5.png 2 min? You must ask questions and then block the answers often.
  • slhck
    slhck about 12 years
    It's been deleted, just like another answer, yes. Please take it to Meta Super User if you need further clarification or feel that the posts should be undeleted.