7

I've mounted the ISO file using a virtual drive application. When I open the virtual drive with the Ubuntu ISO mounted, I only have the option of restarting to be able to do anything. However, I couldn't boot from the ISO after restarting.

Is it possible to boot from a mounted ISO file from the first place? Or do I have to burn the image and boot from the physical CD?

1
  • I found this documentation on how to boot from an ISO file: help.ubuntu.com/community/Grub2/ISOBoot It does however depend on being able to boot into GRUB in the first place, which means it won't work if you only have Windows, but if you have any other Linux install on harddisk, USB, or CD, you should be able to use that to boot the ISO file.
    – kasperd
    Feb 6, 2015 at 16:00

3 Answers 3

9

When you mount an ISO image as a virtual disk, this happens at the OS level. Not at the hardware level. When your running operating system stops, the virtual device goes away. So no, it is not possible to boot a physical machine from a virtual drive.

Whether or not you need to create physical installation media depends on how you want to install Ubuntu:

If you want Ubuntu installed separately from Windows--either alongside it or replacing it--then you need to create real physical installation media. You can burn the ISO image to a DVD (or to a CD, if you're installing Ubuntu 12.04 or earlier). Or you can write it to a USB flash drive.

If you want to install Ubuntu inside Windows with Wubi (so that it is contained within the pre-existing Windows partition and booted using the Windows boot loader), then you do not need to create physical installation media:

  • If you have mounted the ISO image as a virtual disk, just run wubi.exe on the virtual disk. This will install a Wubi Ubuntu system.
  • Alternatively, just put wubi.exe (you can download it here) in the same folder as the ISO image, preferably with no other files. Make sure you use the right version of wubi.exe--it must be for the same version of Ubuntu as the ISO image itself. Then just run wubi.exe, and it will automatically detect and use the contents of the ISO image.

If you are doing one of these things and it is not working, then:

4

When you mount a ISO image in Windows using a virtual drive, the image will be available only from within Windows - so, you cannot access it right after restart, before Windows loads.

You need to burn the DVD and boot from it, or to create an USB stick with Ubuntu and boot your computer from that USB stick. Or you can use a Windows installer, which is probably what you want - see instructions here.

0

No, you cannot boot from a mounted ISO file. The ISO file is unmounted when the computer reboots.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .