How do I install Ubuntu on a VirtualBox client from an ISO image?












116















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 mounting, such that VirtualBox thinks it has to boot from the CD drive, but this failed.



What is the correct way to boot an OS from an ISO image in VirtualBox?



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










share|improve this question

























  • Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

    – Matt
    Apr 21 '14 at 19:53
















116















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 mounting, such that VirtualBox thinks it has to boot from the CD drive, but this failed.



What is the correct way to boot an OS from an ISO image in VirtualBox?



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










share|improve this question

























  • Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

    – Matt
    Apr 21 '14 at 19:53














116












116








116


26






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 mounting, such that VirtualBox thinks it has to boot from the CD drive, but this failed.



What is the correct way to boot an OS from an ISO image in VirtualBox?



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










share|improve this question
















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 mounting, such that VirtualBox thinks it has to boot from the CD drive, but this failed.



What is the correct way to boot an OS from an ISO image in VirtualBox?



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







boot virtualbox iso






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 8 '15 at 5:40









BH2017

3,6951859107




3,6951859107










asked Oct 9 '11 at 7:01









deostrolldeostroll

6792921




6792921













  • Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

    – Matt
    Apr 21 '14 at 19:53



















  • Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

    – Matt
    Apr 21 '14 at 19:53

















Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

– Matt
Apr 21 '14 at 19:53





Thanks! this really made things a lot simpler for me. I thought I would have to burn a DVD to load Kali linux. Saved me some $$$!!!

– Matt
Apr 21 '14 at 19:53










1 Answer
1






active

oldest

votes


















190














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' (On Oracle VM virtualBox, Click on 'Settings' first to get to '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 as shown highlighted in yellow color in the below snapshot:



    Ubuntu - Settings, Storage menu



  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





















  • 1





    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






  • 1





    @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











  • if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

    – ransh
    Feb 24 '17 at 4:19



















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









190














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' (On Oracle VM virtualBox, Click on 'Settings' first to get to '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 as shown highlighted in yellow color in the below snapshot:



    Ubuntu - Settings, Storage menu



  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





















  • 1





    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






  • 1





    @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











  • if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

    – ransh
    Feb 24 '17 at 4:19
















190














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' (On Oracle VM virtualBox, Click on 'Settings' first to get to '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 as shown highlighted in yellow color in the below snapshot:



    Ubuntu - Settings, Storage menu



  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





















  • 1





    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






  • 1





    @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











  • if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

    – ransh
    Feb 24 '17 at 4:19














190












190








190







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' (On Oracle VM virtualBox, Click on 'Settings' first to get to '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 as shown highlighted in yellow color in the below snapshot:



    Ubuntu - Settings, Storage menu



  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 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' (On Oracle VM virtualBox, Click on 'Settings' first to get to '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 as shown highlighted in yellow color in the below snapshot:



    Ubuntu - Settings, Storage menu



  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














share|improve this answer



share|improve this answer








edited May 8 '18 at 10:42









Zanna

50.6k13135241




50.6k13135241










answered Oct 9 '11 at 7:19









somedude9somedude9

1,9281104




1,9281104








  • 1





    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






  • 1





    @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











  • if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

    – ransh
    Feb 24 '17 at 4:19














  • 1





    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






  • 1





    @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











  • if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

    – ransh
    Feb 24 '17 at 4:19








1




1





I get the following error: paste.ubuntu.com/704782

– deostroll
Oct 9 '11 at 8:45





I get the following error: paste.ubuntu.com/704782

– deostroll
Oct 9 '11 at 8:45




1




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




1




1





@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





@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













if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

– ransh
Feb 24 '17 at 4:19





if I am using this method, I won't have the guestadditions, right ? I have images from yocto (iso, etc), and not sure how to install them on virtualbox.

– ransh
Feb 24 '17 at 4:19



Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido