![]() ![]() Or, you can drag an existing disk image or archive onto DropDMG to convert it to any of the other supported formats or to burn it to CD or DVD.ĭisk images pack entire folders or disks into a single compressed file, either for transport across the Internet or simply for backup. Just drag and drop a folder or file and you're done. This may or may not be what you want.DropDMG is the easiest way to create Mac OS X disk images, as well as cross-platform archives. When you resize a DMG, it creates extra space in the DMG, but does not resize the partition, so you'll have free space available that you can partition, similar to a hard drive. Select the DMG file you wish to resize, give it your preferred size, and then do the resize. If this is too little, you can increase the size by opening Disk Copy, choosing the File menu and then Resize. When you first create the DMG with Disk Copy, it will select an arbitary size for the resulting file. One problem with creating encrypted DMG files this way is that they are created with a set size, and if you run out of room on the DMG, what do you do? Create a new DMG file? Fortunately, Disk Copy will allow you to resize a DMG file, provided it is not mounted. At this point, Disk Copy will ask you to provide a passphrase to unlock the DMG file and then will create the DMG. Once you have done this, you will be asked for a location to save the DMG file, an Image format to use (select Read/Write), and the Encryption to use (AES128). You will have a little drop box that you can drag the encrypted folder onto. Create your staging directory as above ( ~/Documents/encrypted) and fire up Disk Copy, which lives in /Applications/Utilities. ![]() The basic premise is the same, although the options for Disk Copy are slightly different. For those who will only be creating encrypted DMG files and don't require the extra features of DropDMG, Disk Copy is your best bet. It is bundled with OS X so there is no associated cost with using it. Do not do this! Adding the passphrase to your keychain removes that added layer of defense that doing this in the first place would achieve (unless you properly manage your keychain).ĭisk Copy works quite similarly. On a final note, you will be able to add the passphrase for your encrypted DMG to your keychain in OS X. Once you are convinced that the DMG file is working properly for you, remove your backup directories. Enter the wrong passphrase and the DMG is forcefully dismounted. The nice thing is if using a laptop and putting it to sleep, upon waking the laptop you'll be asked to enter your passphrase. The DMG can be stored on removeable media as well. Now you can only use your data if the DMG file is mounted. Go to your home directory and execute the following: If you enter the terminal and execute df, you should see the fileystem mounted as /Volumes/encrypted. An icon representing the filesystem should appear on your desktop. Mount the DMG file (we'll call it encrypted.dmg). Keep in mind, the important thing is to make a DMG file that is read/write if you make it read-only (or use compression on it), you will be unable to add new keys to your keychain, make modifications to your ssh known_hosts file, etc. You'll have to provide a passphrase to access the data when you mount it. This will tell DropDMG to create an image based on the contents of the encrypted folder. Now, open the Finder and drag the encrypted folder (from the Documents folder) onto the DropDMG application icon. Other than that, you can pretty much configure it however you like. The important things to note are in the Image Format section: Setting the type to Read-write and that it is Encrypted. The screenshot below shows the Preferences pane for DropDMG. $ cp -av ~/.ssh ~/Documents/encrypted/sshĪfter you've installed DropDMG, start up the application and go into the Preferences. $ cp -av ~/.gnupg ~/Documents/encrypted/gpg Typically, you will have ~/.gnupg and ~/.ssh directories to store the data for each respective application. We'll illustrate using DropDMG to create a DMG file that stores GPG and SSH data. DropDMG is shareware, and costs $10USD to register, although it can be used unregistered for evaluation. Obviously, DropDMG has many other uses as well, but it is well suited for this task. The first tool we'll look at that can do this is DropDMG. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |