New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Accessing an encrypted Disk Image (sparseimage) from command line


Post Reply New Thread Subscribe

 
Thread Tools
caprice150

 
Member Since: Feb 06, 2013
Posts: 4
caprice150 is on a distinguished road

caprice150 is offline
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
QUOTE Thanks
caprice150

 
Member Since: Feb 06, 2013
Posts: 4
caprice150 is on a distinguished road

caprice150 is offline
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
QUOTE Thanks
mrplow

 
mrplow's Avatar
 
Member Since: Oct 01, 2007
Location: UK
Posts: 6,750
mrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond reputemrplow has a reputation beyond repute
Mac Specs: 27" iMac i7 (2011) 10.10, iPhone6, iPad Air, AppleTV2

mrplow is offline
Glad you got a solution.

External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

Please use the reputation system if you think you've been helped - top right of this post
QUOTE Thanks

Post Reply New Thread Subscribe


« Incorrect security protocol shown in System Preferences | iphoto »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
new image disk back up blowyn OS X - Operating System 0 01-15-2010 11:37 AM
Encrypted disk image aecaudel OS X - Operating System 3 12-13-2009 11:15 PM
Creating a bootable disk image of xp in disk utility snotboogie Other Hardware and Peripherals 0 09-15-2009 03:36 PM
Encrypted Disk image mounting without password? fiveightandten OS X - Operating System 5 07-03-2009 09:52 PM
Safari and Facebook Problems MrTissues OS X - Apps and Games 7 02-26-2009 06:01 PM

All times are GMT -4. The time now is 05:46 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?