Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have the ISO image file (that is, *.iso), and I am trying to boot my VirtualBox installation with this image. Is it possible? I know how to mount my ISO image to my filesystem (on my host machine), but I don't think VirtualBox boots an OS from a location on my file system.

I've even tried to mimic the mounting such that VirtualBox thinks it has to boot from the CD drive, but availed only failure.

What is the correct way to install an OS from an ISO image on VirtualBox?

My host machine is Ubuntu 10.04 (Lucid Lynx). And my VirtualBox version is 4.1.4.

share|improve this question
add comment

1 Answer

up vote 22 down vote accepted

I would venture to say you are overcomplicating things! You only need to mount the iso in the virtual machine.

  1. Right click on the VM you want to run the .iso in
  2. Click on 'Storage'
  3. Under 'IDE Controller' There should be an icon that shows a CD with a + sign on it, to create a new disc drive
  4. A box will come up, click 'Choose Disk'
  5. Choose your .iso

Should boot into the iso like it's in the disc drive.

share|improve this answer
    
I get the following error: paste.ubuntu.com/704782 –  deostroll Oct 9 '11 at 8:45
1  
@deostroll are you sure the file has the correct format and has not, e.g., been corrupted in download? What does the command file output if you run it on you .iso? –  Riccardo Murri Oct 9 '11 at 11:39
    
@deostroll I also got an error when trying to add the iso as a disk. I just had to select "Add CD/DVD device" instead of "Add Hard Disk." –  Brian Dec 1 '13 at 17:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.