Using VM Virtual box
- Download your preferred Linux distribution.
click here to download UBUNTU
- open VM Virtual box and click on New... a pop-up window will open.
- click on next and follow next image
new.png
- click on next and choose "create hard disk now"
memory size
- click on create and choose the type of hard disk - vdi
Hard disk create
- After that choose "dynamically created"
hard disk type
- After that, you have to give memory size
Dynamically allocated
memory size
you will see a new machine named Ubuntu-new has been created but it is powered off. And when you will power on this machine, you will get an error -
FATAL: No bootable medium found! System Halted.
To solve this problem. power off the machine and right click and go to setting.
now navigate to storage and click on the marked position.
marked position
As you will click a new pop-up will open to choose disk
choose disk
after this, you will see below image
setting done
Now power on your machine to begin installation of Ubuntu.
installation
Here you will be given 2 choice- try and install. choose install and click next. Then it will ask you to whether to download the updates during installing Ubuntu or not. click on continue.
download updates
In this post, we will erase the disk and install Ubuntu only.
Erase disk
then a Pop-Up window will open. click on continue.
continue
choose your location ... although it is auto detected.
location
then it will ask you for keyboard layout
Keyboard layout
Finally, it will ask about the user- who you are.
user details
Then Ubuntu will start installing on your machine.
installing
After downloading updates and copying new files, a Pop-Up will open stating -"Installation complete".
Installation complete
Finally, Restart your machine and you are ready to use Ubuntu on VM Virtual box.