User Tools

Site Tools


creating_a_vm

Creating a VM

This week on Open Foss Traing We will be creating the basics of our new linux virtual machine so that we can begin to learn how to use a Linux operating system. For this we will be using Ubuntu which is one of the popular choices of Linux Operating systems.

VirtualBox Main Window

Here is were we left off last episode with VirtualBox installed and ready to create our new virtual machine. Click New in the upper left hand corner to open the window to start the process of creating our new machine. Now this process we are about to embark on will only create the basics of the machine. It will not get us all the way there but it will get us most of the way there.

click new

Create Virtual Machine Window

Give the VM a Name

Type What type of OS are we going to use Version What version are we installing 32bit or 64bit

VirtualBox Makes guesses based off of the name we give it. So Give the Machine the name OFT LINUX TEST SYSTEM and it will guess that we want to create a Linux machine for type and version it guesses Ubuntu (64-bit). For our example we will make one change and set the version to Ubuntu (32-bit) Go ahead and click next to precede to the next step.

Memory Size

We can now assign how much RAM to assign to our new virtual machine. My general recomendation, especially just for testing machines is to give it 2 gigs of ram or half of the available ram you have availabe which ever is least. So lets go ahead and either by slider or typing into the window set our ram to 2048.

Hard Disk

Here we can now create or reassign another virtual hard drive to our new virtual machine. Since this is our first machine we will have to Create a virtual hard disk now to create a new disk for our new machine. go ahead and click create.

Hard Disk 2

We are presented with several types of Hard Drives we could create. This is where things can quickly start to become overwelming with this possibly when you are new, but let me promise you that it's not as difficult as it really seems. VirtualBox can easily handle all of these different formats. The biggest thing we have to worry about is if the machine we are creating is going to be used by others or just us. With the reality being that this is a machine just for you, it is best for now to stick with VDI (VirtualBox Disk Image) This is VirtualBox's native format and the one we will stick with for now. Click Next> to proceed.

Hard Disk 3

Here we can choose between Dynamically allocated and Fixed Size disks. What are the difference between these two options? Dynamic is a disk that will only take up as much space, up to the size we tell it, while Fixed will create a file that is the size we tell it from the beginning. Dynamic takes up less space but can be lower performance than fixed. This is where I leave the choice up to you. We will be creating a disk that is 8gb's in size. This will give us more than enough room for a test machine for testing and exploring. So pick which option you are most comfortable with. If you want to follow along with exactly with how I'm going then create a Fixed size but again, I will leave the choice up to you. We will be creating a disk that is 8gb's in size. This will give us more than enough room for a test machine for testing and exploring. So pick which option you are most comfortable with. If you want to follow you have made your choice click Next> to proceed.

File Location and Size

Here we are at the screen where we can create the drive. By default VirtualBox has offered to create a 8gb drive for us named OFT LINUX TEST SYSTEM that is 8GB's in size. You may if you have the room choose a larger size if you would like. Also you could click the icon to the left of where the name for the disk is and give it a new location to save the file at but I recommend leaving it at default and clicking Create. After you click create it will then return you the main window.

creating_a_vm.txt · Last modified: 2016/03/08 03:13 by kittn