IE-482-582 / fall2019

Course materials for the Fall 2019 semester of IE 482/582
8 stars 6 forks source link

Issues Installing the Ubuntu Virtual Machine #2

Open cmurray3 opened 5 years ago

cmurray3 commented 5 years ago
  1. If you receive an error message like VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).:

    • Scroll down to the bottom of the installation instructions and see the troubleshooting section.
  2. If you receive an error message like Compressed image is corrupted 'C:\Users\myname\ubuntu_1404_vm_F18-disk001.vmdk' (VERR_ZIP_CORRUPTED):

    • I’m guessing that one of the following has happened:

      1. The .ova file didn’t download completely before you tried to install it. The file should be about 4.4 GB.
      2. When you downloaded the file, it was compressed/zipped. The filename should end in .ova…if it ends in .zip that means it was compressed (and you’ll have to unzip it before trying to import).
      3. The .ova file is getting corrupted when you download it. You might try finding a classmate who has successfully installed the virtual machine and copy his/her .ova file to a USB stick.
      4. VirtualBox corrupted things during one of your installation attempts, and you’ll need to remove the virtual machine. Try searching on your laptop for the VirtualBox VMs folder and delete it. Then try importing the .ova again.

      If none of these steps work, I would suggest uninstalling VirtualBox and re-starting the process.

  3. During "Guest Additions" installation, if you get an error message like: Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).:

    1. Close your virtual machine (but leave VirtualBox running).

    2. Right-click on your virtual machine (ubuntu_1404_vm_f18) --> settings --> storage. You should see the VBoxGuestAddition.iso file attached to the controller:IDE.

    3. You need to remove this reference to the ISO image. right-click --> remove.

    4. Click the + button to add a new "optical drive" and leave it empty. --> ok. This will free the device and allow you to mount the guest additions once the VM is restarted.

    5. Start your virtual machine again and from the VirtualBox top menu, select Devices --> Install Guest Additions...

sg262 commented 5 years ago

Hey all, If you are getting a "E_invalidarg" error when trying to import the virtual image, you may want to try to download the file from a different browser. I was originally using Edge and it did not work no matter what I did because if was not downloading the whole thing. I then enabled VT-D and tried to download from Chrome and it worked instantly. This won't be the fix every time but hope it helps.