0

How do I install Ubuntu 16.04 in VirtualBox with Ubuntu 16.04 as host?

When I try to do that I get this message

You need at least 8.6 GB disk space to install Ubuntu.

This computer has only 0.0 B.

dialog box showing the disk space error

Aravind
  • 11

2 Answers2

1

When installing Ubuntu in VirtualBox we should assign at least as much virtual hard disk space as we need. For Ubuntu >= 17.04 this would be at least 10 GB.

We rarely need to be that tight in hard drive space and when assigning the minimum we will very soon be face with a low hard drive space error.

So on installating we should choose to create a dynamically allocated hard disk file (which for good reason is the default) which can be up to 2 TB:

enter image description here

This drive will only use as much physical space as needed (the 2 TB Testing drive is not yet in use):

enter image description here

So for a testing Ubuntu VM I usually allocate 25 to 30 GB dynamically growing disks but there is no harm done if you make it larger and it would be much more complicated to grow a too small disk later.

Takkat
  • 144,580
0

Apparently you need to configure virtual box and give it more storage space. Probably you gave it just a few megabytes. As the image says, give it at least 8.6 Gigas.

842Mono
  • 10,070