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

Similar Messages

  • 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

  • Cannot delete disk image from timecapsule.

    I have two disk image's on my time capsule and one is for a computer I no longer have.  Therefore I wanted to delete the time-machine disk image.  I recently upgraded to Yosemite.
    In order to delete I have tried the following:
    Mounting the time capsule and dragging to trash.  Get a progress bar that says "deleting one file".  It sits there over night and does not delete.
    Going into Time Machine, navigating to the disk image file, right clicking, and selecting delete back-up.  Asks if I sure and then does nothing.
    Repeating the above with time machine turned off.
    Disk Utility does not see the mounted drive.
    Get Info on the drive says that I have no permissions and they are custom.
    Tried some CHMOD commands I found on the internet and i got a series of error messages about CHMOD not possible.
    If I double-click the disk image, I get a file not mountable error.
    Time machine still works to back-up my current drive.
    Any ideas????
    Thanks,
    Tony

    Yosemite is problematic to say the least.
    Delete backups was pretty much as you have done.. but Yosemite has the networking ability of tin cans and a broken string.
    There are other ways around the issue..
    How do I delete a time capsule Sparse Disk Image Bundle
    There is a post at the bottom with a new method using a program I have not used but worked well.
    I have a post there near the top with the standard methods.
    I have good success btw with a windows computer on the network.. windows seems to treat permissions with contempt.

  • 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.

  • Errors when trying to open up a disk image that has been comp. & encrypted.

    I have an old 15” PowerBook G4 that I purchased back in 2004 that I wanted to backup the data on in preparation to sell it. The PowerBook has Leopard (Mac OS 10.5) installed on it. I used my Leopard installation DVD to boot the computer up and then launched disk utility (v. 11.0 (252)). I wanted to make a disk image (.dmg) of my entire “Macintosh HD” partition, so after unmounting the partition (otherwise you get a “resource busy” error message), I selected File -> New -> “Disk Image From...(<hard drive partition>)”. The next screen presented me with a name to type in for the saved disk image file and options to compress and encrypt (128 or 256 bit AES) the image. I could not get the image to begin creation when I had both compression and encryption set. I kept getting the error message “Unable to create (error -60007)”. So, I opted to create the disk image with just compression selected. This worked fine and I was able to select the image (let’s call it disk_image1) and perform an Image -> “Scan Image for Restore...” successfully as well as mount the image and open up files (the verification process took a long time before the image mounted, but it was successful).
    Next, I moved the Firewire 800 external HD containing “disk_image1” to my new MacBook Pro (Snow Leopard installed) and opened up disk utility (v. 11.5.1 (298.1)). I was able to successfully mount the image and browse and open up files with this updated version of disk utility. I then attempted to convert the disk image I just created to a new disk image (let’s call it disk_image2) via Images -> “Convert...”. I selected “disk_image1” and then named the new image (disk_image2). I then selected compression and 128bit AES encryption, entered in a passphrase and started the process. Everything worked great in creating “disk_image2”, but when I tried to open up the image either in Finder or within disk utility, I got error messages. In disk utility, I got the message “Unable to attach “disk_image2.” (Authentication error).” and within Finder, I got “The following disk image couldn’t be opened” disk_image 2 (Authentication error). Note, I was never asked to provide the password I used to encrypt the image nor did I ever select to save it in my keychain. Just as a precautionary measure, I check my keychain and did not see the password for the encrypted image saved in there.
    Is there a bug within disk utility with the way a compressed & encrypted image is created or a problem with the authentication process for an encrypted image?

    I have not had this happen to me, but have read similar stories from people on these boards for years. I think saving an entire OS X boot disk to a disk image is asking for trouble. If anything goes wrong, one byte of data is copied incorrectly. it can render the entire image unmountable and all of the data in it inaccessible.
    I'd use Disk Utility's Restore button (or a program like SuperDuper or Carbon Copy Cloner) to make a complete copy of the hard drive onto its own hard drive, skipping the disk image. If any bit of data gets dropped then only one file is affected, instead of the whole works. Do you have any other stuff on that external drive? If not, just erase it and try again, copying everything directly to the drive instead of to a disk image.

  • Disk Utility 'Disk Image from Folder' looses file create date?

    Hi,
    I have been working on creating backups that maintain the files' create dates. I have found the following anomoly using Disk Utility.
    If I create a Disk Image From Folder, the create dates of all files are changed to be the same as the last modify dates. Not what I want.
    If I creat a Blank Disk Image, and then using Finder to copy the files to the Disk Image, the create dates remain unchanged.
    I can then burn the backup CD's with the Disk Image and the files' create dates are maintained. So, future restore from the backup CD will contain the original files' create dates.
    Does anyone know if Disk Utility's Create Disk Image from Folder is supposed to loose the files' create dates? What other file attributes are being lost? Mac OS X maintains all of these attributes, and create dates via Finder copies, I would expect the Disk Utility Create Disk Image from Folder to do the same.
    Bob Horton

    To follow up on this post, I know at least part of the answer. The difference between the two becomes clearer if you read the documentation (man pages) for hdiutil and asr. Image 1 will be created in file mode, whereas image 2 will be in block mode, ie bypassing the file system. Image 1 will consist of a series of files, whereas image 2 will contain a series of blocks, mirroring the original layout of the hard disk.
    Technically the latter should be faster to restore (in block mode), although Apple recommend the first procedure (see man page for hdiutil). I haven't seen any evidence that images created in block mode can be mounted or restored, although you might be able to burn such images to a optical disks if applicable.
    As I've pointed out in another thread (http://discussions.apple.com/thread.jspa?threadID=1508199&tstart=0) I believe that this functionality should not be offered in disk utility, and I consider it a serious bug.

  • 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.*

  • Creating a Disk Image from Compressor Fails

        Hpefully some one can help me out here.
    Here's whats going on and I've tried this on 2 different systems (iMac 24 inch OSX 10.9.4,Nvidia GeForce GT750M 1 GB,  3.1 Ghz i7 Processor 1 TB Fusion Drive, 16 gigs of ram & a iMac 27 Inch OSX 10.9.4 Nvidia GeForce GTX780M 4GB, 2.5 Quad-Core i7, 16 gigs of ram 1 TB Fusion Drive, both have the USB Super Drive from Apple connected to them)
    Both are running Compressor 4.1.2. I'm trying to make a disk image from a Apple Pro Res 422 HQ Quicktime 29.97 DF (drop frame, NTSC) The file is big since it's HQ so it takes a while to compress. I'm using the Create DVD preset in compressor and choosing " When Done: Create DVD" then below that "Output Device: Hard Drive" Because I want to have a disk image for back up and future burning so I don't have to tie up any systems doing this again.
    It get's the the very end where it has that disk burning icon come up on the dock and then a warning comes up saying that there was a "error making the disk" and then that's it. I want to be able to create a disk image. Old compressor (3.what ever) works great, takes a lot longer to compress things but at least I haven't run into this issue with it.
    I've had my destination set to the internal drive's, external drives .... you name it I've tried to save it in different places. I've added a background picture, removed it, nothing seems to work ....
    Please help and much appreciated if you can help me out here.
    Cheers

    Yes it is. This should help you.
    Mac OS X 10.4 Help: Burning a CD or DVD
    Burning Data CDs and DVDs in Leopard and Tiger
    Mac OS X 10.5 Help: Burning a disk image on a CD or DVD with Disk Utility
    Mac OS X 10.5 Help: Burning a CD or DVD

  • "Disk Image from Folder" from iPod

    Using Disk Utility, I have tried to create a disk image of my iPod using the "Disk Image from Folder" option.
    These are the settings I am using:
    Location of Image: Desktop
    Format: read/write
    It asks for my password, and then it briefly is in the "Initializing..." phase (less than a second), and then it gives me the error 'Unable to create "MATTSH_IPOD" - internal error.'
    What should I do? I tried creating an image from another folder, it works fine.
    I can't create an image by device, because I won't have enough free space...
    Keep in mind I am running a new MacBook Pro (yay). Also note that the iPod is formatted in FAT32.
    Any ideas??
    Thanks in advanced for any help.
    ~Matthew Strax-Haber

    726/3172
    Hi Matthew,
    I don't own an iPod, but here's what I'd try:
    Quit Disk Utility.
    First, download and install TinkerTool.
    Then in TinkerTool's Applications section, choose "Enable extended options when converting disk images".
    I don't know if you need to logout/login at this point.
    Now open Disk Utility and try the "iPod image" format.
    Let us know if it works for you.
    Axl

  • 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.

  • Can't eject disk image from Finder in Mountain Lion

    I just got a new MacBook pro. I'm running Mountain Lion (10.8.2). Any time I try to unmount an external hard drive or eject a disk image from the Finder, nothing happens (either clicking the contextual eject icon or right-clicking). The items in question are not in use when I try to eject them. I'm only able to do so with Disk Utility. Any ideas? I've repaired disk permissions but the problem persists.

    I am having similar issues with my user account. It also is the same in Yosemite.
    Disc images, external hard drives etc dragged to trash (get eject icon) are simply ignored.
    Pressing Eject button in side bar of Finder are ignored.
    It seems to be a permission/account issue as:
    - using computer under a different account doesnt have this problem
    - transferring account over to another mac continues the problem on the new computer.
    Log file seems not to have any errors.

  • 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)

  • Why suddenly unable to create a disk image from a CD?

    I successfully created a disk image from a CD only 5 days ago. Now when I try to create a disk image from a CD (with Disk Utility) the Superdrive rumbles along for sveral minutes, while the progress bar indicates that it has reached the end of its progress.
    Only after all that does a dialog box indicate:
    "Unable to create "___.dmg"-Invalid Argument. "
    I haven't added software but did upgrade to iTunes 6. Doubtful that could affect my abilty to create a disk image.
    Would someone kindly shed some light on why this may be happening?
    Steve

    Is it strange that this problem seems CD-specific?
    Some CDs are copy-protected and some CDs are not copy-protected; so, no, it's not strange at all that you should be able to copy some CDs and not be able to copy others.
    Tuttle
    1682/8380

  • 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

Maybe you are looking for

  • BAPI to create Scheduling Agreement of VA31

    Dear gurus, I need to find the BAPI or Function Module to create Scheduling Agreement of VA31 from the uploaded data. I know that I can use BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order of VA01. Can I use the same bapi to create the schedu

  • Windows Vista 64-bit and drivers

    Is there a possibility tu run every drivers and Toishiba software on Vista 64bit system?

  • Apple ID disabled on Iphone, I can not access my music or apps!

    I have been able to log on here using my apple id, but on my Iphone the message comes up eveytime Your Appl ID has been disabled. with the button OK It is so frustrating!!! What can I do I have changed the password secrurity question name even  on th

  • Selling iMac, how to setup software

    I'm selling my G3 iMac, and would like to install the software so that no name is on the computer, just like when you first buy it. Ideally, I'd like the buyer to get the setup assistant the first time they boot up. I'll be installing 10.2. The other

  • IF a jsp page shows xml  data then is that coded in jsp?

    Suppse a jsp page showing following data .. what will the code like .. is it code in jsp ? or it embeded XML can u figure out this ? <monitorservice>   <site name="FD">     <description>FordDirect</description>   </site>   <dependency name="PBMMonito