How to create a virtual disc drive?

I need to get my computer to treat an ISO image as if it's a physical optical drive. I've tried mounting it via loop devices, which is very useful, but it's not enough (basically, I need programs to be able to find it as a device, not a mounted filesystem). Any ideas?
Last edited by fflarex (2009-01-12 20:32:28)

You could create an empty file with dd like this:
dd if=/dev/zero of=disk-image count=40960
That will create a 20 MB file
Then you can format it with a file system:
/sbin/mkfs -t ext3 -q disk-image
Tell it to proceed even if it is not a block specific device.
Mount it and you have a virtual disc drive.
mount -o loop disk-image fs
I borrowed this from here:
http://freshmeat.net/articles/view/1387/
Last edited by Cheesebaron (2009-01-12 20:36:18)

Similar Messages

  • How to create a virtual drive of a non bootable drive ?

    How to create a virtual drive of a non bootable drive ?
    through which we can see the preview of the drive without clicking on the original drive.

    Alias can never be mount, but the virtual drive I want to create must be able to mount and unmount.
    Desktop having both original and virtual drive.
    My system is booted from 'Snow leopard' and I've an another drive, name 'Disk Testing' so by using a software I create the virtual drivre of 'Disk Testing' as you can see in the image. Both the drives are identical to each other and both are able to mount and unmount, they are having same data and attributes.
    So I want to create exactly this kind of virtual drive by using any apple script or command.i.e without using any software.

  • How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?

    How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?
    The system I'm have is a Mac-mini that had SL on it and no SuperDrive.  I have also call Apple Support and they have really have not been to much help over 1st did my up grade to Lion and Installed the Lion Server.... it lost my SSL that I paid for and kill almost on of my server setting, plus kill all my web servers (using apache vhosts), and not to say the LDAP will even let remote users login to your laptops.
    PS: There is no way that I'm going to buy a Install USB from Apple... They have over billed me over $300.00 because the Apps Store still has bugs (Glad I did not write that App/Service)
    If there is anyone that can give in the information to create a USB install stick, I would be very thinkful.

    Here you are bro, courtesy of "softpedia.com"....brilliant site!!!
    If you ever had problems with your Mac OS X installation you know that the first thing you should do is to check the startup volume using Disk Utility.
    After the check has ended and, if the errors exceed a certain level of seriousness, the Disk Utility application will require you to restart your Mac and use its Mac OS X Install disc counterpart.
    Other users may have to reinstall OS X altogether, but will find, or already know, that their SuperDrive (a CD/DVD reader and write combo drive) is not functioning properly and it will not be able to read the Install disc.
    Although this might happen to Mac OS X Leopard users due to faultyhardware, the vast majority of problematic SuperDrives will be encountered inside Snow Leopard running Macs.
    This is due to the updated SuperDrive firmware included in either the Install disc or the software updates one has to install to reach the latest version of OS X, namely 10.6.6.
    This can be fixed by flashing the SuperDrive’s stock firmware using free command line tools that one can find for free online (I will write about this process also, but at a later time because this article only focuses on allowing you to create your own alternative USB boot disc).
    If you are reading this last bit of information with skepticism, than you should know that it happened to me too. Despite all my tries to make it work properly, the SuperDrive kept on munching any inserted DVDs and just popped them out in about twenty seconds.
    The workaround to this issue was to create my own Leopard bootable USB memory stick. I am not suggesting a Snow Leopard bootable stick mainly because there are lots of users that have decided to buy the cheaper, Upgrade version, which I have not tested and, therefore, I’m not sure if it will work properly once written to a USB disk.
    And now, here are the exact steps you should follow in order to obtain a fully bootable Leopard (or Lion) Install disc.
    Step 1 (If you already have the Leopard install disc DMG file you can skip to Step 2)
    Launch Disk Utility (you can find it inside /Applications/Utilities). Here select the Leopard Install disc in the list of drives on the left and click on the New Image menu entry at the top of the window. A save message will appear where you will have to select the Desktop as a destination.
    Step 2
    After Disk Utility has finished creating the Leopard DMG, insert your USB stick and erase all data and reformat the disk. To do this select the USB in the list of drives on the left and, after clicking on the Erase tab on the right side of the window, choose the Mac OS Extended (Journaled) format and click the Erase button beneath.
    Step 3
    After the USB has been reformatted, download the SuperDuper app from HERE and launch it. Once SuperDuper starts, you will only have to select the DMG in the Copy drop-down menu, your USB memory stick on the right and hit the “Copy Now” button.
    One can also use Disk Utility for this task but creating a bootable USB stick failed 2 out 4 times when copying the DMG to the stick (with the exact same settings each time). Creating the bootable stick using SuperDuper proved to be the perfect way to do it because it worked each of the 4 times I tested it.
    The steps above can also be used to create a bootable Mac OS X Lion USB by using the InstallESD.dmg image you can find inside the Lion installer (named “Install Mac OS X Lion.app”) downloaded from the Mac App Store in the /Applications folder.
    To locate the InstallESD.dmg right click the Lion installer, select the “Show Package Contents” entry, go inside the “Contents” folder, and from there into the “SharedSupport” folder. Inside this folder you can find the InstallESD.dmg you can use to create your own bootable Mac OS X Lion USB stick. To do so, go to the third step described above and use the InstallESD.dmg as the DMG to be copied to your USB disc.
    That’s it! Once the process ends you will have a fully bootable Leopard (or Lion) USB disk that you can use as an alternative to the Apple’s DVD Install disc that comes bundled with all Macs.
    To use your newly created bootable disk you will have to restart the Mac, press and hold the OPTION key until the StartupManager appears. Here, select the Mac OS X Install disk using your keyboard arrows and press return to start from the selected drive.

  • How to create a boot disc from Lion pre installed into my Macbook Pro 2011 ?

    Hi guys,
    I want to know how to create a boot disc from Lion pre installed into my New Macbook Pro ?
    I want to re-install the Lion from zero. When I bougth it I´ve used the Migrant assitance and now I want to re-install the Lion. How can I do it ?
    thanks.

    Read this about creating a lion recovery on an external drive or USB stick.
    http://support.apple.com/kb/HT4848
    /Dennis

  • How to create a Virtual Path ??

    I want to know how to create a Virtual Path in My Application !!!
    that is HTTP link that refer to existing folder in the file system
    thanks

    Alias can never be mount, but the virtual drive I want to create must be able to mount and unmount.
    Desktop having both original and virtual drive.
    My system is booted from 'Snow leopard' and I've an another drive, name 'Disk Testing' so by using a software I create the virtual drivre of 'Disk Testing' as you can see in the image. Both the drives are identical to each other and both are able to mount and unmount, they are having same data and attributes.
    So I want to create exactly this kind of virtual drive by using any apple script or command.i.e without using any software.

  • How to create local virtual web host ex. myserver.local?

    Hi
    I'm sorry but following steps in Yosemite Server help led me to nowhere.
    Could you please explain how to create local virtual web host ex. myserver.local?
    Thanks

    Hi Sergey,
    I assume that you mean virtual desktop storage location, which I don’t think that we can change this setting for an existing collection.
    You can create a new collection, during the creation process, you will be able to select a different storage location for new VMs.
    More information for you:
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/10/29/single-image-management-for-virtual-desktop-collections-in-windows-server-2012.aspx
    Geek of All Trades: VM-Hosted RemoteApps - New Best Practice for Virtual Desktops?
    https://technet.microsoft.com/en-us/magazine/jj554307.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to create an Virtual resource Adapter in SUN IDM 7.1?

    Hi,
    Can anyone know how to create an Virtual resource Adapter in SUN IDM 7.1?
    Regards
    Damodar

    Hi Dinesh,
    Try using waveset.adminRoles
    Thanks

  • How to create a virtual directory using EPG

    Hi,
    Can anyone tell me how to create a virtual directory in the EPG that points to a physical directory in the database server?
    Thanks,
    Andrew.

    You can create an Oracle directory that points to an operating system directory in the database product... Does that help?
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to create a Virtual drive?

    Hai guys
    i wanted to create a virtual drive for a remote computer in my system
    is it possible to do this in java
    kindly give the necessary info regarding this
    thanks in advance
    balki

    I don't think it would be too hard with Servlets. Here is a sample upload Servlet:
    http://java.freehosting.co.kr/opensrc/upload/
    downloading from a servlet is easy by just creating a link.

  • How to create a bootable thumb drive for OSx 10.7 ?

    Greetings - This is my first system install without using a DVD. I've seen caveats re: making a bootable thumb drive to avoid future problems. Please refer me to an Apple document that explains how to create such a bootable thumb drive from the downloaded disc image. Thanks!

    Most users create an image when they have multiple installs. You can simply drag the Install Mac OS X Lion installer from Applications to another drive or folder on your computer. Apple removes the installer after it runs.
    You can always download again from Purchases in the Mac App Store (MAS).

  • How to create a Virtual provider in BI 7.0?

    Hi friends!
    I need create a virtualprovider (with SCM source system), but I find the option 'Create Virtual Provider'  in the context menu only when the infosource is 3.x
    How can I do it in 7.x?
    Thanks in advance!
    Edited by: SSap on Oct 28, 2009 9:11 PM

    1.How can I do it in 7.x?
    In BI7, just right click on any infoarea, and choose create 'virtual provider'. For direct access, you choose Virtual Provider with 'direct access'. There's an option to use the old R/3 infosource. What this means is that you can create an infosource with transfer rules and such, and when you create the virtual infoprovider, it will use the structure in the infosource automatically and the flow of data is automatically link R/3 with the transfer rules and the virtual infoprovider. Note that no update rules exist with this kind of setup.
    In BI7 you have a more flexible approach in that you can create a transformation to configure the 'transfer logic' of your virtual infoprovideralong with start routine, end routine or any other transformation technique visible with using a transformation rule.
    But using BI7 setup, you need to create a sort of 'pseudo' DTP, which doesn't actually do anything, meaning you do not 'execute' it to start a data transfer.
    After all is done, you need to right click on the virtual infoprovider and choose 'Activate Direct Access'. If you use Infosource, go to the Infosource tab, and choose the infosource. If you're using BI7 setup, choose the DTP related to the transformation and save it.
    a virtual infoprovider with direct access is really slow if you have a lot of records transmitting between the remote function calls.
    Hope this helps
    Manjula

  • How to create  and hide a drive using java?

    I want to ask how to create a temporary drive/ or a drive by allocating some space of existing drives(eg allocating some space of C: Drive such as 5mb for storing files on the new drive that has been created) and then i want to hide that drive .So Please can anyone Explain me how to do that.

    Iam saying to all of you iam not blaming to anyone even java. And my harddisk is not currepted or damage by using that. My harddisk is working properly. But i don't know why all of you think that i am blamming to someone but iam asking some question which need to be answered.
    I am clearing all of you i am a student and iam creating an project in java for that i need this. I also want to add File/Folder lock on that project. This technique i have seen in folder lock 6 software that they use hidden drive to store files. Thats why iam asking that how to apply this technique using java.
    And plz plz read this carefully and answer me to solve my problem.

  • With lion how to create a bootable flash drive?

    with lion how do I create a bootable flash drive?

    With an utility such as Carbon Copy Cloner.
    (63008)

  • How to create bootable USB thumb drive from Lion on Mac Mini 2011?

    Hello folks
    Yesterday my new Mac Mini (Core i7 2,7 Ghz, 4 GB RAM, ATI Radeon HD6630M 256 MB) arrived. It replaces my old Mac Mini (Core Duo 1,83 Ghz, 2 GB RAM, Intel GMA950 64 MB). One day I'll replace the 500 GB 5400 RPM HDD in this Mini by an Intel SSD drive (just like I did with my previous Mini). I'll do a fully clean install then (formatting the SSD drive in Disk Utility and then installing Lion on it from a bootable USB thumb drive). The only problem is I can't seem to download Lion for free from the Mac AppStore (MAS) although I have bought a new Mac Mini which came with Lion pre-installed. I know how to create a bootable USB thumb drive with Lion on it when you download it from the MAS. But that's the problem... I can't seem to download Lion from the MAS for free. When I open the MAS while holding down the Option key I can download Lion but it will charge me for it. Is there any way I can download Lion from the MAS without paying for it? Since it already came with my new Mac Mini 2011 this should be possible I guess?
    And will I still be able to download the iLife '11 apps (iPhoto, iMovie and Garageband) for FREE that came with my new Mac Mini when I do a fully clean install as described above? Thanks in advance.
    Greetings
    Jocau

    After doing some research, it seems that there are only 2 WAYS to do a complete reinstall of Lion on the Mac Mini 2011 without paying for the Lion download in the Mac AppStore (i.e. recreating every partition, also the Recovery HD partition, from scratch e.g. when installing Lion on a clean HDD/SSD).
    1) COMPLETELY clone the Mac Mini 2011 HDD including all of its partitions to an external drive and restore it when you want to do a complete reinstall.
    2) Use the LION INTERNET RECOVERY feature built-in into new Macs that ship with Lion (this feature is present in new Macs starting from the Mac Mini 2011 and Macbook Air 2011).
    OS X Lion: About Lion Recovery 
    Lion Internet Recovery
    If you happen to encounter a situation in which you cannot start from the Recovery HD, such as your hard drive stopped responding or you installed a new hard drive without Mac OS X installed, new Mac models introduced after public availability of OS X Lion automatically use the Lion Internet Recovery feature if the Recovery HD (Command-R method above) doesn't work. Lion Internet Recovery lets you start your Mac directly from Apple's Servers. The system runs a quick  test of your memory and hard drive to ensure there are no hardware issues.
    Lion Internet Recovery presents a limited interface at first, with only the ability to select your preferred Wi-Fi network and, if needed, enter the WPA passphrase. Next, Lion Internet Recovery will download and start from a Recovery HD image. From there, you are offered all the same utilities and functions described above.
    As with the Recovery HD, reinstallation of OS X Lion from Lion Internet Recovery requires an Internet connection. See "Supported network configurations and protocols" below.
    Restoring iLife applications after Internet Restore of OS X Lion
    If you reinstall Lion on a new Mac that shipped with OS X Lion installed, on an erased or replaced hard drive, you can download iPhoto, iMovie, and GarageBand from the Mac App Store.
    After installation, start from Lion.
    Double-click the App Store icon in the dock.
    Enter your Apple ID and password.
    Click Purchases.
    If you haven't previously accepted your bundled iLife applications within the Mac App Store, you should see your iLife applications appear in the Accept portion of the screen. Click Accept.
    You may be asked for your Apple ID and password once again. Your iLife applications now move to the Purchased section. These applications are part of the software that came with your Lion based computer. Your account will not be charged for them. Click Install to compete installation of your applications.
    Source: Lion Recovery
    It's a bit sad that these seem to be the only 2 options. Lion Internet Recovery is the preferred one here since my monthly internet traffic limit isn't a problem (but my download speed is). This problem could have been easily solved by Apple by just checking the system specs or serial number when trying to download Lion from the Mac AppStore. By using one of the 2 options in my previous sentence the Mac AppStore could see that I have a new Mac Mini 2011 that ships with Lion which would give me the option to download Lion from the Mac AppStore for free and eventually create a bootable USB thumb drive of it.

  • How to create partition in c drive in window7

    hi,
    I have HP pavilion dv6-Windows 7 home basic 64-bit , ofter recovery we have create partition in C drive but can't farmate. there is shown the facility avail in selected disks.
    What, i do?
    Mohan Singh

    Hi,
    Please use "Disk Management" to check first. Depending how many partitions are there, it is not recommenced to have more than 4 partitions on a physical disk.
    Please use this tutorial to perform other tasks if you wish:
      http://pcsupport.about.com/od/windows7/ht/disk-management-windows-7.htm
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • Java 6 and 11.5.10

    I was a bit concerned when I read on Steven Chan's blog that (https://blogs.oracle.com/stevenChan/entry/java_jre_1_7_02) : EBS users will continue to receive critical bug fixes and security fixes as well as general maintenance for Java SE 6. These Ja

  • MDM Connection

    Mr Heil Bernd(SAP) has coutersly installed the MDM SP5 5.5.41.70 but when I try a simple example : report ZFDOMDMTEST3. DATA log_object_name TYPE mdm_log_object_name. DATA language        TYPE mdm_cdt_language_code. log_object_name   = 'MYQASMDM'. la

  • App auto update not working? iOS 7

    I have it turned on but apps are not auto updating. Also after updating I'm the App Store "updates section It lists all the apps that were updated. Anyone having any issues with the auto update feature?  Anyone know about the update apps that were up

  • Msvcrt.dll error

    When I try to open Photoshop CS6 it keeps telling me that I cannot open it because of the missing mscvrt.dll file I have tried the sfc /SCANNOW option but that doesn't work. It didn't repair anything.  I tried restoring to an earlier point on my comp

  • My 2nd iPod 4G  Doesn't Work For Few Days

    Hello. I come here because I've got a probleme with my iPod 4G for few days now. It's my second iPod of this generation because another that I had have bugued. Now I explain my problem : - First Last week my iPod started to have very high latency. -