Results 1 to 3 of 3
  1. #1


    Member Since
    Feb 06, 2013
    Posts
    4
    Accessing an encrypted Disk Image (sparseimage) from command line
    Is it possible to access an encrypted Disk Image from the command line in single user mode? My hard drive has been having problems lately, and I have not been able to boot my MBP up for about a week.

    People at the Apple Store say it's corrupted, and I am resigned to getting a new hard drive no big deal. But I am grabbing some important files from the command line in single user mode, and can see my disk image (sparseimage) by getting to the directory, and using ls to see all files in directory.

    I am wondering if I can actually get into my disk image somehow. I have the password. Or would I be able to copy the whole image to a flash drive? I have one that's big enough to hold the whole image. If anyone has any experience with this, I'd appreciate the help. Thanks

  2. #2


    Member Since
    Feb 06, 2013
    Posts
    4
    Figured it out. In case anyone else runs into this problem, and searches for it:

    hdiutil mount /Users/Documents/WhereeverItIsStored/Name.sparseimage

    will mount the sparseimage (after prompting for password) and you can do whatever you want with the enclosed files

  3. #3

    mrplow's Avatar
    Member Since
    Oct 01, 2007
    Location
    UK
    Posts
    6,855
    Specs:
    27" iMac i7 (2011) 10.11, Mac Mini i5 (2014), iPhone6s, Apple Watch, iPad Air 2, New AppleTV (4?)
    Glad you got a solution.
    Not been around these parts for a while. Trying to change that . .

    Please use the reputation system if you think you've been helped - bottom left of this post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is a deleted encrypted disk image still recoverable?
    By Sonic88 in forum OS X - Operating System
    Replies: 2
    Last Post: 03-13-2015, 12:59 PM
  2. Encrypted disk image
    By aecaudel in forum OS X - Operating System
    Replies: 3
    Last Post: 12-13-2009, 10:15 PM
  3. Encrypted Disk image mounting without password?
    By fiveightandten in forum OS X - Operating System
    Replies: 5
    Last Post: 07-03-2009, 08:52 PM
  4. Is it possible to recover Encrypted Disk Image?
    By maxter in forum OS X - Operating System
    Replies: 0
    Last Post: 05-18-2009, 04:15 PM
  5. Encrypted sparseimage doesn't ask for password
    By SkiAddict1 in forum OS X - Operating System
    Replies: 2
    Last Post: 06-10-2008, 04:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •