Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
Hey guys. I have a folder I password protected on my external USB drive, and though it opened the other day without issue, it won't open now. Same password, i know it well. It's a .dmg file, and I'm pretty sure I encrypted it in Disk Utility,. When I double click, it asks me for the password then opens and displays contents. Any tricks to managing this quirk? The next time I get it open I will copy the files to a non protected folder... I don't want to risk not having access to them. Any alternate ways to attack this issue?

I use Mojave on a 2018 MB Pro 15. The external disk is a Seagate 4TB USB drive, partitioned 2TB / 2TB. Thank you in advance for any help.
 
Last edited:

Apple_Robert

Contributor
Sep 21, 2012
35,647
52,436
In a van down by the river
Try copying the dmg file to your Mac and then see if it opens? If it opens on the Mac...

1) Check to make sure the external drive is not full and unable to expand the file.
2) If it's not full, is it slow to access on the Mac?
3) Is it possible it was slow to respond due to other processes being open at the time?
4) How old is the drive? If it is old, have you done a health check on the drive with Disk Utility?
 
Last edited:

NoBoMac

Moderator
Staff member
Jul 1, 2014
6,282
4,969
????

Not sure I understand the problem: the problem is that it's asking for the password to open? Or that's how it was working?

When I double click, it asks me for the password then opens and displays contents. Any tricks to managing this quirk?

If not, maybe corrupt image? Did not unmount dmg before disconnecting USB and or shutting down the machine (though would think dmg would get ejected as part of normal shutdown) so needs repair?
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
I have a folder I password protected on my external USB drive, and though it opened the other day without issue, it won't open now. Same password, i know it well. It's a .dmg file, and I'm pretty sure I encrypted it in Disk Utility,
Is it a folder or is it a DMG file? Or is it a folder containing a DMG file? Or is it a DMG file containing a folder?
 

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
Is it a folder or is it a DMG file? Or is it a folder containing a DMG file? Or is it a DMG file containing a folder?
It was a folder, that via Disk Utility I encrypted, and that seems to have made it a .dmg image. When it opens though, and as I mentioned it did only a few days ago, it displays the contents just like any other folder.
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
DMG is disk image. Are you sure the disk image is not already mounted?
 

Apple_Robert

Contributor
Sep 21, 2012
35,647
52,436
In a van down by the river
It was a folder, that via Disk Utility I encrypted, and that seems to have made it a .dmg image. When it opens though, and as I mentioned it did only a few days ago, it displays the contents just like any other folder.
I misunderstood your opening post. If the file opens after inputting your password, then everything is fine. When you encrypt a folder with Disk Utility, it creates a DMG file which is normal.
 
  • Like
Reactions: chabig and NoBoMac

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
I misunderstood your opening post. If the file opens after inputting your password, then everything is fine. When you encrypt a folder with Disk Utility, it creates a DMG file which is normal.
Yes, but it isn't opening. That's why I posted here.
 

Apple_Robert

Contributor
Sep 21, 2012
35,647
52,436
In a van down by the river
Good idea, I had tried that, same problem.
If you double-click the DMG and it keeps asking for the password...

1) The DMG file is damaged (for some reason) and can no longer open
2) You inadvertently entered the correct password but in caps?
3) The password you thought you entered wasn't entered correctly

If possible, create a new DMG file.
 

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
I know this password well and use it daily for another thing. It wasn't in all caps. I just tried it to be sure, but that was unlikely because I wouldn't have been able to open it again several times prior to this.

A new .dmg file? Please explain.
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
Eject the external drive and reboot your Mac. Then reattach the external drive. Password should work.
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
Launch Disk Utility, select the volume on the external drive and run First Aid.
 

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
Launch Disk Utility, select the volume on the external drive and run First Aid.
Thank you, I tried that twice. It told me it couldn't run First Aid due to damage, even though the drive works fine. It said restart in Recovery mode, which I did, but still it wouldn't run on that partition. When I try it on the entire drive, it says same error: that it's damaged. I should mention this is my last backup via SuperDuper of my actual HD on my Macbook.

Is there another program I can use on that partition, or on the .dmg itself?
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
If Disk Utility is reporting the external drive is damaged and can't be repaired... assuming it is formatted HFS+, you can purchase third-party disk utility software and attempt to repair the file system... DiskWarrior, TechTool Pro... if your signature indicates your Mac's configuration, your set up is pretty old. You will have to use older versions of these utilities compatible w/ Mojave.
 

Christopher11

macrumors 6502a
Original poster
Feb 10, 2007
707
66
If Disk Utility is reporting the external drive is damaged and can't be repaired... assuming it is formatted HFS+, you can purchase third-party disk utility software and attempt to repair the file system... DiskWarrior, TechTool Pro... if your signature indicates your Mac's configuration, your set up is pretty old. You will have to use older versions of these utilities compatible w/ Mojave.
Yeah, it's Mojave. Okay I'll try Disk Warrior, thank you. Will that be to work on the external drive? Is there anything that would repair the .dmg itself?
 

Bigwaff

Contributor
Sep 20, 2013
2,736
1,830
Yeah, it's Mojave. Okay I'll try Disk Warrior, thank you. Will that be to work on the external drive? Is there anything that would repair the .dmg itself?
The drive containing the DMG. DiskWarrior might be able to repair the file system on the drive (i.e. get the drive to mount a proper file system) but can't repair the drive itself if it is mechanically failing. If the DMG (i.e. the data file) is corrupted, DiskWarrior might not be much help either.
 
  • Like
Reactions: Christopher11

0339327

Cancelled
Jun 14, 2007
634
1,936
Try another Mac. Maybe something in your computer.

BTW Disc First Aid is ill advised for non-start up drives and can show false errors.
 
Last edited:
  • Like
Reactions: Christopher11
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.