Can I automatically mount a disk image at start up

If so, how?
Thanks

drag the dmg to the dock, right click, and "open at login?", that should achieve what you want

Similar Messages

  • How can I automatically mount a sparsebundle image prior to TimeMachine backup?

    I've been searching for a couple of days now a way to have Time Machine backup to a drive attached via USB.  The drive is a Western Digital 1TB hard drive formatted as NTFS and I'm using Tuxera to read/write from it.  I created a 300GB sparsebundle image with 256bit encryption via Disk Utility and was successfully able to mount the image and perform an initial backup via Time Machine.  All was well until I got an error stating that the backup image couldn't be loaded due to Error -1.  My guess it's because the image is dismounting and when Time Machine states it's looking for the backup image, it's unable to mount it.  I've added my password to the KeyChain Access section but am forced to manually mount the image prior to backing up or the backup fails.
    Most of the articles I've read deal with network backups but I only have one MacBook Pro Retina Display (Mid-2012) running Mountain Lion 10.8.2 x64 and would like to keep my Windows backups separate.  I'm not using a NAS and my setup is a BlackX enclosure holding the 1TB hard drive.  Is there something I can do to have Time Machine automatically mount the image prior to backing up?
    I wrote a small AppleScript to automate the mounting but I want the whole process automated.  I read iCal can help me but apparently it'll pop-up a window that I don't have to want to deal with.
    Also, backing up about 36MB takes around five minutes so I'm not thrilled about the speeds.  Hopefully there's also a solution for it.  I also tried Carbon Copy Cloner and (forgot the name of the other utility) but reading through the features, I just want to keep it simple with Time Machine.  I'm mostly concerned about corruption and loss of my data though I'm not sure how much better Time Machine is but am receptive to any suggestions.
    Thank you for your help.

    drag the dmg to the dock, right click, and "open at login?", that should achieve what you want

  • Trying to automatically mount two disk images from NAS

    I am trying to get two mac os x journaled sparse disk images to automatically mount upon login. I have tried to add the following items to my login items under System Prefs/Accounts and none of them have worked:
    1. Browse to the file and choose it
    2. Create an alias and choose the alias
    3. Mount the disk, and then browse to the mounted disk and choose it
    4. Create a symbolic link and then choose it
    Maybe I am doing something wrong, and maybe there is a different way to do it. Any ideas?

    V.K. wrote:
    I don't know what's going on here. as i said it works for me.
    try doing it using a terminal command.
    make a new workflow consisting of a single action "run shell script".
    inside the shell script put the following
    hdiutil attach /path/to/diskimage
    to get the path to the image drag it to the action window. enclose the path in quotation marks. it should look something like this:
    hdiutil attach "/volumes/dlinkroot/Volume_1/media/photos/iPhoto/imagename.sparseimage"
    If you want the image to mount a bit faster add -noverify to the command like this:
    hdiutil attach "/volumes/dlinkroot/Volume_1/media/photos/iPhoto/imagename.sparseimage" -noverify
    see if it mounts this way.
    Thanks for the quick feedback.
    That shell script option almost works. What I noticed was that /Volumes/Volume_1 which is the volume created on the dlink NAS needs to be mounted in order for the sparse images on the NAS to be mounted. Maybe the other way also I had the same issue (login items as well as automator app). It's just that I noticed it only now.
    So is there a way to ensure Volume_1 is always mounted? Adding hdiutil attach /Volumes/Volume_1 does not mount it

  • How do I mount a disk image that won't open?

    I have an external drive Samsung 500 GB that was failing. I think my MacBook Air (10.6.8) caused it to fail because it wouldn't allow me to eject the disk even though I forced quit all programs. I eventually had to just unplug the drive and this caused the external disk to fail as it had not been ejected properly. Not my fault. It's the MBA's fault for not letting me eject the disk. Now the Samsung disk won't mount properly and I get a message that the drive is failing and I should save the data.
    Anyhow, I used the free version of Data Rescue 3 to try and save the data on the failing Samsung 500 GB drive and move it onto a brand new Toshiba 1 TB drive.
    I was unable to use the normal scanning function of Data Rescue 3 as the hardware of the drive was too damaged, and so I used the clone function on Data Rescue 3 to clone the data onto a non-failing hard drive, with the intent of restoring the data later.
    I am not sure if I was successful in making the disk image. It hung up at the 99.6% point for about 12 hours when I decided to give up on it, and I shut down Data Rescue so I could eject the hard disks.
    However, it would not let me do it. I tried force ejecting but still I could not eject the disks.
    I ended up just unplugging the drives. I think the Samsung drive died almost completely then because it made a whole lot of clicking noises after that (it was only making a few clicking noises before that).
    Anyhow, I plugged the Toshiba 1 TB drive into the computer again and used Data Rescue to scan the drive with the disk image on it to see if I could detect files on that drive.
    It opened up the structure and I was able to see that most or all of the files were there (abbout 450GB of data) just from seeing the information about the files in the structure tree - the labels of the files (file type labels such as jpg, mp4 etc) and the size of the files, although I could not open up the files to check all of them.
    I tested out the restore function of Data Rescue by downloading one file (<10MB) file. I am using the free version and can download one file for free to test things out.
    It worked and I was able to save that file onto a second external drive (Western Digital 500 GB) I had plugged in. I had bought this drive just to do the data rescue.
    So I think the files are salvageable and the disk image is OK.
    However, when I tried to open the disk image in Disk Utility, by opening it as the source and choosing the WD drive as the destination I could not open it. I got an error message. I can't remember what the message was.
    I tried just opening the disk image in Finder by just clicking on the disk image but it won't mount.
    Is that because my hard drive doesn't have enough space? My Desktop on the MBA only has 12 GB free and the WD drive has only 500 GB on it even though the disk image is about 501 GB.
    I don't know why the disk image is that size when the failing Samsung drive only had 450 GB of data on it.
    Anyway, what should I do to mount the disk image?
    I want to mount the disk image so that I can copy or move the files from it to another external drive so that I can save those files.
    Is it because the WD is only 500 GB or does it mean there's a problem with the disk image I made?
    Should I try Carbon Clone Copy? I use that to make backups of my MBA internal HDD though I have never used it for opening or making disk images.
    I have never dealt with disk images before except for dmg files of applications downloaded from the internet.
    I am trying to avoid using Data Rescue 3 as I have to pay for it and if there is a free option, such as Disk Utility, CCC or other, I want to try it to restore the data in the disk image.
    Sadly, I think the Samsung drive is ruined beyong repair as it's making a lot of clicking sounds and doesn't mount properly in Disk Image and I get a message that it's beyond repair or something like that in Disk Utility.
    So I am relying on the disk image I made on the Toshiba drive to restore my files.
    (I think it was the last movie file that caused the problem because it was when I was trying to copy it onto the Samsung external drive, all the problems began - hanging up when copying it, not being able to eject the Samsung disk, causing hardware issues on Samsung disk and getting warning messages on Disk Utility.)
    BTW, I learned how to eject a drive when it won't eject the normal way, I have to use command window and type in commands, but that's another post ....
    Any advice?
    I am thinking of going out and buying a second 1 TB external drive so that I have a disk with enough space to open the 501GB disk image on it, just in case that was the sole problem.
    However, I am not sure that is the case, and I think there may be a problem with the disk image or I am not going the right way about opening it.
    Thanks for any advice.

    I think I've found the solution to this problem.
    http://superuser.com/questions/19426/im-unable-to-mount-a-dmg-getting-a-no-mount able-filesystems-error
    I am following the instructions here:
    I ran into a similar situation. I did what simonair suggested and I received a message in Terminal that Volume mounted successfully. However It did not help me access the mounted Volume neither was I able to confirm the mounted Volume. Nor was I able to mount the image using Disk Drill or even scan through. Nothing succeeded.
    Here is what I did to solve my problem. I see that in this post some suggested that we should convert name.dmg to writable file. I used the command from Terminal to convert but was not successful. INSTEAD alternatively, I used Disk Utility, attached the Volume (yes I got the same message again, ''no mountable system files'' however, Disk Utility nevertheless attached the image, which I was able to do before anyways. This time, I selected it and then clicked New image, and then selected image format read/write, not the compressed option. I created a new image. This time this image was writable however, it still would not mount using Simonair's solution. However, this time I was able to scan it with Disk Drill with exact file locations and folder hierarchy as I had. Recovering all from thereon was a breeze. Just remember: when you create new image of an attached volume and chose not compressed but read/write, you need to have a disk with exact amount of space that totals the total space allocated within that name.dmg file (not the amount of space the data takes). Mine was huge, and luckily I had an external disk with enough space to do that and it took about 5 hours for about 400GB of disk allocation. Good luck.
    And so far it seems to be working. Even though the volume is grayed out on the left side of Disk Utility, I am still able to select it as the source for making a new disk image. I chose Read and Write and no compression.
    The only thing I might be doing differently is that instead of choosing the disk image as the source, I chose the volume as the source. The volume is grayed out, but the disk image is not.
    It seems to be working all right. Keep my fingers crossed.
    If this doesn't work, I will use Data Recovery 3 as a last resort.

  • Creative Cloud Acrobat ERROR: DS001: Failed to mount the disk image

    This is very frustrating...I have installed CC app manager and have tried to downlaod and install Acrobat Xpro but get this error instead.
    Exit Code: 7
    Please see specific errors below for troubleshooting. For example,  ERROR: DS001 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s)
    ----------- Payload: Suite Shared Configuration CS7 4.0.0.0 {BD1F3424-B47B-45DD-B000-3571A67B63F6} -----------
    ERROR: DS001: Failed to mount the disk image at /Volumes/Acrobat XI Pro CCM/Adobe CS7/payloads/AdobeSuiteSharedConfiguration4-mul/AdobeSuiteSharedConfiguration4-mul.dmg. Please verify that the disk image is not corrupt.
    Have search forums but can't find any thing that deals with this
    Help!

    Have you tried the CC forum. This is a CC issue and not an Acrobat issue. You could also try downloading AA X from http://prodesigntools.com/adobe-acrobat-x-10-pro-reader-suite-direct-download-links-ddl.ht ml.

  • HELP ! Last To Sec . Updates causing problems-Won't mount any disk images

    Just installed most current 2 updates Mac OS X v10.5.8 (Leopard) & now can't get my system to be able to mount any disk images of any kind. Internal expander gives me Mounting failed
    Also tried to expand with Stuffit and got following message:
    SecUpd2009-003.dmg no mountable file system.
    SecUpd2009-004.dmg no mountable file system.
    This first started with 2009-003 update and now 2009-004 it continues.
    Also completely erased my backup external HD files.

    If you did not repair permissions after updating, then try the following:
    Try running +repair disk+ from your *software install DVD* and afterwards, run +repair permissions+ *from your HD.*

  • Why can't I make a disk Image??

    getting Leopard tomorrow. system working great. plan to do an "upgrade installation". backed up all my files (106GB) to an external HDD. so I think I'm ready....
    question is - why can't I make a disk image of my "Macintish HD"?
    it starts to create the image but Disk Utility comes back and says "Unable to create disk0s2.dmg. Resource busy."
    I thought it might be a good idea to do a "complete system backup" just incase something goes wrong with the "upgrade installation".
    Since it didn't let me, I just dragged-n-dropped the Users folder to the external HDD, so I got my files backed up.
    curious why I can't make a disk image of my WHOLE HDD. can someone enlighten me....
    thanks, chris

    made changes in the iDVD, don't know what I did but it worked

  • Even though I have LCD font smoothing disabled, Mountain Lion still uses it in PDF views, Safari's location bar, Mail's message view, and the dialogs for mounting encrypted disk images.

    Even though I have LCD font smoothing disabled, Mountain Lion still uses it in PDF views, Safari’s location bar, Mail’s message view, and the dialogs for mounting encrypted disk images. Is there any solution to this problem? Also diabled the Smoothing in the SystemPrefs and also via Terminal. Font smoothing is still there. Very annoying, especially in PDF attachments in Apple Mail.

    Try feeding Safari a user-defined CSS file with font-smoothing tweaks (including none). The filename and its filesystem location are arbitrary. Use your favorite coding editor.
    Safari > Preferences > Advanced > Style Sheet:
    Here is an example with all elements uncommented. Pick the one that works best for your Safari viewing and comment out the others:
    Preview. Try Preview > Preferences > PDF > Smooth text and line art (uncheck)

  • An error has occured attempting to mount a disk image "5" error #5

    for quite some time now, i have not been able to load programs. it seems to have started after i did a firmware update that was meant for a OS 10.5 system and mine is OS 10.4.11. ever since then, every time i would click on "Software Update", nothing would happen, if i were to upgrade to itunes to 8.0 whatever, nothing happens. if i were to try to mount with stuffit expander i would get the following error: an error has occured attempting to mount a disk image "5", error #5. it is getting very frustrating.
    any help will be appreciated.

    Hi Watsmaster, and a warm welcome to the forums!
    If you haven't done any Disk or OS maintenance, then I'm thinking corrupt HDD or possibly some Hardware problem.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.

  • Error mounting a disk image

    I am trying to install the adobe cs4 master suite on my macbook. When I click on the adobeCS4_MS.dmg file, it says that the disk image is unable to be opened. Any reasons why or how to fix this problem? Thank you in advance

    I am having the same problem, using Safari 5.0.5 on Mac OS 10.6.7.
    I get error messages on newly downloaded .dmg files (not recognised, failed to mount).
    Please note, .dmg from Apple work fine.  However OpenOffice, Mozilla Firefox and Skype .dmg will not open.  I have tried redownloading each about 10 times.
    I have made sure the default for opening these files is DiskImageMounter.  However I can't find DiskImageMounter or Installer anywhere on my MacBook 5.2.
    I have also repaired permissions several times using disc utility.
    The problem started when I changed the computer name (Home).  I have been using this second hand computer for a month no problem, but tried to change my dad's name to mine.  Since then, I can't open dmgs.  Also my Skype is giving me network settings errors but that's another issue.
    Any tips??

  • Can't share sparse bundle disk image

    I'm trying to create a sparse bundle disk image in /Users/Shared for sharing between two users on the same computer. No matter what I've tried, the disk always mounts as read only for the non-owner user. I've tried creating the disk image in both accounts, adding the non-owner user with "read & write" permissions, changing all permissions (including everyone) to "read & write," but nothing seems to help. Does anyone have any experience sharing sparse bundle disk images using the shared folder?
    Christopher

    I realized after reading the replies above (thank you, A.Carlo and KJK555) that I was only applying permissions to the top level of the sparse bundle image and not to the underlying directories and files in the package. This was what was keeping the second user from making changes to the mounted disk image. After digging a little deeper into possible solutions, following is what I decided to do.
    First, here are the requirements for my sparse bundle disk image:
    1. Full permissions (rwx) for user1 and user2
    2. No permissions (---) for everyone else
    3. Directories and files created by user1 or user2 need to be fully accessible (rwx) by the other user
    In order to block access to the sparse bundle from unwanted users and to allow for inherited permissions for all future directories and files, I took the following steps:
    1. Created a new group (group1) with user1 and user2 as members
    2. Created a new folder (Example) under /Users/Shared
    3. Removed all permissions from the new folder for everyone but user1 (chmod 700 Example)
    4. Added an ACL to prevent group everyone from deleting the new folder (chmod +a "group:everyone deny delete" Example)
    5 Added an ACL to give group1 full permissions (rwx) to the new folder and allow those permissions to be inherited by new directories and files created within that folder (chmod +a "group:christophertemple allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit)
    This is what the new folder looks like from Terminal:
    $ ls -le
    total 0
    drwx------+ 4 user1 wheel 136 Sep 18 12:45 Example
    0: group:everyone deny delete
    1: group:group1 allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit
    This folder is now accessible only by user1 and user2 and any files or directories created in this folder will be accessible by both users, regardless of which of the two users created them.
    Next, I created an encrypted sparse bundle disk image within the new folder. In Terminal, the disk image looks like this:
    $ ls -le
    total 0
    drwxr-xr-x@ 6 user1 wheel 204 Sep 18 13:03 Example.sparsebundle
    0: group:group1 inherited allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit
    As can be seen above, the new sparse bundle has inherited the group permissions from the parent directory, giving user1 and user2 full access to the disk image.
    While I could have added a few extra steps and changed the permissions of the mounted disk image, I decided against doing so; the default permissions were perfect for my use. By default, the mounted disk image is set to "Ignore ownership on this volume."
    When mounted by user1 this is how the disk image looks in Terminal:
    $ ls -le
    total 8
    drwx------ 7 user1 staff 306 Sep 18 13:01 Example Disk Image
    When mounted by user2 this is how the disk image looks in Terminal:
    $ ls -le
    total 8
    drwx------ 7 user2 staff 306 Sep 18 13:01 Example Disk Image
    With these permissions, no user, other than the user that mounted the image, has access to the image while the image is mounted. This is useful from a security standpoint, keeping others from viewing the contents of the disk image, as well as from a data integrity standpoint, allowing only one person to access files on the disk image at a time (important for some of the data base files the image contains).
    Thanks again to those that responded. I hope this post is helpful to others who might have similar requirements as I did.
    Christopher

  • Can a 256 bit encrypted disk image be read by Tiger?

    I have computers running Leopard, Tiger and Panther.
    If I create a 256 bit encrypted disk image in Leopard, will the image be able to mount and used for reading and writing in Tiger and or Panther?
    Or should I use 128 bit encryption in a mixed OS X environment?
    TIA,
    Bill

    Hello Bill,
    A 256 bit encrypted disk image created in Leopard can be opened in Panther, and presumably Tiger, though I don't have Tiger.
    It cannot however, be written to, only read.
    So if you want to add to the disk image on Panther, and possibly Tiger, use 128 bit. But if you only want *read only* on the other machines you could use 256 bit.

  • How to backup a mounted & encrypted disk image?

    I have read all the posts about creating a sparse bundles. I guess this allows you to backup the disk image as long as it is not mounted? Will it still backup if it is mounted? Will it be usable when I restore it?
    What if all I want to do is just backup the mounted disk and not the image? I did some tests and it seems to work. When I look at the backup on a different machine by taking over the disk, I see the volume as a possible restore and I see the files. Am I missing something? I thought I had read that this does not work? I do realize that the backup is not very secure since I can now restore files on an image I had intended to maintain secure. It would be nice if time machine allowed me to backup in an encrypted format the required some password for the restore. Create sparse bundle on that backup disk and backup to that mounted image?
    Steven

    Well since it is encrypted, no matter how you delete it, it should remain secure. That is an advantage of an encrypted file
    However, if you want to over write the contents of the file, you can just drag it to the trash and select secure empty trash.
    NOTE: if you have a lot of other deleted files in the trash, it is going to take longer to do the secure empty trash as those other files are also going to be securely erased. I've made the mistake of doing the secure empty trash with several hundred files in the trash, some of which were rather large files.

  • Is it possible to share a Mounted Blank Disk Image using WebDav?

    I am trying to find a good solution to give individuals the ability to change files in there hosted websites on the Mac Mini Server (10.6.4), but also having a limited folder size. I have seen a few post on using Blank Disk Image as the share folder. I have created the folder and I can see it contents using a WebDav client, but no matter what permissions I put, anytime I try to upload or delete a file from the image I get a 403 error, saying "Forbidden". I can get the WebDav to work on normal shared folders, so I am wondering if it is even possible to share a mounted blank image using WebDav?

    It seems if I make an MS-DOS(FAT) image, I can actually make changes to this image file using WebDav, but I cant see how to changer the permissions of the folder. All the methods I have tried do not actually seem to change the file permissions, they default to read and write for everyone.
    I am trying to figure out if I am trying to get something to work that is not even possible. I need to be able to limit the size of a folder, share it with specific groups/users in the Open Directory. It also has to be viewable on both Windows and Mac Systems. FTP does not seem to work, since it gives access to the root. I want to be able to have a student/student group post to a wiki, have a website for there project, but they should only have access to this image....
    Does anyone know if you can share a mounted image through WebDav, or if there is another way I can setup multiple folders and have websites point to this folder and give only selected users access to the folder for uploading and sharing files?
    Any guidance would be greatly appreciated

  • How can i convert a .img disk image to a .dsk disk image?

    I own an intel-iMac running MacOS 10.5.6.
    I own both an Apple //c and Apple System Disk 4.0.2.
    I now have an emulator called Virtual ][.
    I also have a disk image of the Apple System Disk 4.0.2,
    but it is in the .img format. I need it to be in the .dsk
    format so the emulator can "see" the disk and run it.
    How can I convert from .img to .dsk?
    Thanks,
    Apple //GS

    have a look here:
    http://discussions.apple.com/thread.jspa?threadID=246070

Maybe you are looking for