Installing Linux

  • Into your system from a USB flash drive
  • In a virtual machine
  • Errors you may encounter

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 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 to install it 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 it inside Windows (i.e. contained within the pre-existing Windows partition and booted using the Windows boot loader), then you do not need to create physical installation media.

Installing Linux from USB flash drive

Get the needed material:

  • Ubuntu Desktop 18.04 LTS [link]
  • Rufus (free open source USB stick writing tool) [link]
  • 4 Gb or larger stick/flash drive

Create a bootable USB stick/flash drive:

  • Run Rufus and complete the fields, selecting your Ubuntu ISO file and your device.


  • Rufus may need to automatically download additional files. Let it do it.
  • Rufus asks whether write an ISO or DD. Select ISO.
  • Remember: All data stored in the device will be deleted.

Install Ubuntu from the USB stick/flash drive:

  • Go to the UEFI menu > firmware options. Once there, activate the options for making the computer boot from the USB device. Make sure Rufus created a correct bootable USB device or computer may not detect a bootable USB.
  • Restart the PC and installation will begin.


Installing Linux (Ubuntu) in a Virtual machine (VMware WP)

Download the needed software:

  • Ubuntu Desktop 18.04 LTS [link]
  • VMware Workstation Player 15 [link]

Create a virtual machine with Ubuntu inside:

  • Install the virtual machine (VMware)
  • Run it and select “Create a new virtual machine”
  • Select “Installer disc image file (iso)” and select your Ubuntu iso file
  • Select a few installation options


  • Restart your system

Errors you may encounter

Error: Intel VT-x is disabled:   [link]


Modern CPUs include hardware virtualization features that help accelerate virtual machines. Those features aren’t always enabled by default. In order to work , these virtual machine apps need hardware acceleration features built into modern CPUs. For Intel CPUs, this means Intel VT-x hardware acceleration. For AMD CPUs, it means AMD-V hardware acceleration. Reasons why this error message may appear:

  • The hardware acceleration feature may be disabled. On systems with an Intel CPU, the Intel VT-x feature can be disabled via a BIOS or UEFI firmware setting. In fact, it’s often disabled by default on new computers. On systems with an AMD CPU, this won’t be a problem. The AMD-V feature is always enabled, so there’s no BIOS or UEFI setting to change.
  • Microsoft’s Hyper-V is installed. It’s greedy and takes over those hardware acceleration features, so other virtualization apps won’t be able to access them.


  • Turn Intel VT-x on in your BIOS or UEFI firmware: Old PCs use BIOS, modern PCs use UEFI.
    • BIOS: Access to it pressing the appropriate button when PC is first booting.
    • UEFI: Restart the computer while pressing shift. Usual route: Solve problems > Advanced options > UEFI firmware configuration > Restart > Configuration > Intel Virtual Technology > Enable.
  • Uninstall Hyper-V: Control panel > Uninstall a program > Turn Windows features on or off > (clear Hyper-V checkbox).

Error: Ubuntu isn’t fullscreen inside the virtual machine

  • In VMware virtual machine go to: “Player > Manage > Install VMware tools”. This will install VMware tools in your guest OS.
  • Restart the virtual machine.

In: “Player > Manage > Virtual machine settings > Display” you can make some display configurations (maybe you can only modify values here before opening the virtual machine).

Error: Keyboard has wrong characters

In the “Configuration” menu (it’s at the top right corner) > Region and language > Input sources > Spanish (to install that language go to “Manage installed languages”).

Share folders with the host

In the screen where you select the virtual machine you want to boot, select “Edit virtual machine settings” (of a certain virtual machine) and go to the “Options” > “Shared folder“. There, you can select the directories from the host that you want to be accessible from your virtual machine.

How to connect sensors to the virtual machine using a switch

  • Change the network connection of the virtual machine to “Bridged” (connected directly to the physical network) (Virtual machine settings/Network adapter/Network connection/Bridged).
  • Cambiar la IP del PC para que coincida con la del switch (Centro de redes y recursos compartidos/”your_conexion”/Cambiar la configuración del adaptador/Protocolo de Internet versión 4 (TCP/IPv4)/Usar la siguiente dirección IP). Ejemplo: Si el switch tiene IP, entonces cambia la de tu PC conectado al switch a, por ejemplo,

One thought on “Installing Linux

Add yours

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

Create your website at
Get started
%d bloggers like this: