Install a Linux distro in VirtualBox
Tags distro, install, linux, virtualbox
****AN UPDATED VERSION IS NOW AVAILABLE AT:
https://www.linuxquestions.org/quest...uration-39228/
I am assuming that you have already installed VirtualBox and that your CPU supports virtualization, using either Intel VT-x or AMD-V (SVM) which has been enabled in the BIOS.
The ISO file for the Linux distro (e.g. MX Linux) to be installed in VirtualBox has been downloaded to the user’s Downloads directory.
Open VirtualBox and click on New.
1. Enter a descriptive name into the Name box (e.g. MX Linux).
2. Select Linux as the Type.
3. Choose Debian 64bit as the Version (change as necessary).
4. Click Next to continue.
Allocate Memory To The Virtual Machine
The next screen asks you to set how much memory you wish to give to the virtual machine. I gave it 4GB out of the total of 8GB available.
You should not go below the minimum specified and you should also make sure you leave enough memory for the host operating system to keep running.
Create A Virtual Hard Drive
The next three steps are all about allocating disk space to the virtual machine.
1. Select Create a virtual hard drive now.
2. Click Create.
3. You will be asked to select the type of hard drive to create. The default VDI file type is the one native to VirtualBox, so select VDI.
4. Click Next.
When deciding on the way the hard drive is created you can choose to opt for a fixed size hard drive or a dynamically sized hard drive.
NB It is important to note at this point that no partitioning occurs on your actual hard drive. All that happens is that a file is created on your computer which acts as the hard drive.
1. Select your desired hard drive type (Dynamic).
2. Click Next.
3. After specifying the hard drive type and the way the disk is allocated you are asked to specify how much disk space you are going to give over to the MX Linux Virtual Machine. I gave it 70GB out of 250GB.
4. Choose where you wish to save the virtual machine.
5. Specify the disk size (70GB)
6. Click Create.
Click on Settings > Storage > Storage Devices > Empty.
Under Attributes click on the down arrow to the right of the blue optical disk. (See attached screenshot).
Click on Choose a Disk file.
Search the computer for the required (MX Linux) ISO file, which in this case is in Downloads. Highlight the ISO file and click on Open.
Start The Virtual Machine
The Virtual Machine has now been created and you can start it by pressing the green Start arrow on the toolbar.
Proceed to Install MX Linux.
IMPORTANT:
Before clicking on Restart and Done at the end of the installation, do make sure that the ISO file is removed under Storage Devices.
Simply right-click on the ISO file and then click on Remove attachment.
Failure to do this will result in the whole installation process restarting with a liveuser and not as the New User with a login password.
https://www.linuxquestions.org/quest...uration-39228/
I am assuming that you have already installed VirtualBox and that your CPU supports virtualization, using either Intel VT-x or AMD-V (SVM) which has been enabled in the BIOS.
The ISO file for the Linux distro (e.g. MX Linux) to be installed in VirtualBox has been downloaded to the user’s Downloads directory.
Open VirtualBox and click on New.
1. Enter a descriptive name into the Name box (e.g. MX Linux).
2. Select Linux as the Type.
3. Choose Debian 64bit as the Version (change as necessary).
4. Click Next to continue.
Allocate Memory To The Virtual Machine
The next screen asks you to set how much memory you wish to give to the virtual machine. I gave it 4GB out of the total of 8GB available.
You should not go below the minimum specified and you should also make sure you leave enough memory for the host operating system to keep running.
Create A Virtual Hard Drive
The next three steps are all about allocating disk space to the virtual machine.
1. Select Create a virtual hard drive now.
2. Click Create.
3. You will be asked to select the type of hard drive to create. The default VDI file type is the one native to VirtualBox, so select VDI.
4. Click Next.
When deciding on the way the hard drive is created you can choose to opt for a fixed size hard drive or a dynamically sized hard drive.
NB It is important to note at this point that no partitioning occurs on your actual hard drive. All that happens is that a file is created on your computer which acts as the hard drive.
1. Select your desired hard drive type (Dynamic).
2. Click Next.
3. After specifying the hard drive type and the way the disk is allocated you are asked to specify how much disk space you are going to give over to the MX Linux Virtual Machine. I gave it 70GB out of 250GB.
4. Choose where you wish to save the virtual machine.
5. Specify the disk size (70GB)
6. Click Create.
Click on Settings > Storage > Storage Devices > Empty.
Under Attributes click on the down arrow to the right of the blue optical disk. (See attached screenshot).
Click on Choose a Disk file.
Search the computer for the required (MX Linux) ISO file, which in this case is in Downloads. Highlight the ISO file and click on Open.
Start The Virtual Machine
The Virtual Machine has now been created and you can start it by pressing the green Start arrow on the toolbar.
Proceed to Install MX Linux.
IMPORTANT:
Before clicking on Restart and Done at the end of the installation, do make sure that the ISO file is removed under Storage Devices.
Simply right-click on the ISO file and then click on Remove attachment.
Failure to do this will result in the whole installation process restarting with a liveuser and not as the New User with a login password.
Total Comments 0