How To Install Virtual Machine On Mac
Virtualbox is open-source free software that can host Windows, Linux, macOS, and other operating systems in a virtual motorcar. It is owned past Oracle company. It can be installed and run on macOS, Linux, and Windows. In this commodity, nosotros will focus on how to install Virtualbox on macOS, and we will create a virtual machine that installs Ubuntu on the Virtualbox mac version. It will also tell you how to resolve some mutual issues when you install Ubuntu on the Virtualbox mac version like beneath.
- How to enable copy & paste between hosts ( macOS ) and guests (ubuntu virtual motorcar os).
- How can you lot find and execute ubuntu applications in guest os?
- How to fix mistake "host bone (macOS) can not ping guest bone (ubuntu virtual machine)".
- How to ready keyboard not working error.
1. Install Virtualbox For Mac.
- First of all, you should download the Virtualbox MacOS version.
- Then install the Virtualbox macOS version by clicking the downloaded dmg file. Follow the setup wizard to successfully install it.
two. Install Ubuntu On Virtualbox ( Mac Version ) Virtual Motorcar.
- Launch Virtualbox on macOS.
- Create a new virtual machine by clicking the New push button, and then input a virtual auto name in the Name input text box, select the guest OS type ( Linux ) from the Type drop-down list. Then select invitee Os version Ubuntu(64 – bit) in the Version drib-downwardly list.
- In the next wizard, click the Continue button and adjust the virtual machine's difficult disk size, memory size, and CPU processor number.
- After you adjust all the settings, the new ubuntu virtual car is ready to install.
- Earlier y'all install Ubuntu Linux Os, you should download the ubuntu iso file to a local folder.
- Click to select the virtual car in the left virtual machine list panel, click the Settings tab push at the top card bar, then click the Storage tab push button at the popup window top carte du jour bar.
- Select the laser disk in the left Storage Devices list panel, so click the laser deejay icon behind the Optical Drive label on the right side and click Cull Virtual Optical Disk File…carte du jour item to select the ubuntu iso file which y'all had downloaded in step 5.
- Select the virtual machine on the Virtualbox left side and click the right mouse key, then click Start —> Normal First bill of fare item in the popup menu list to launch ubuntu Linux os install procedure.
- Subsequently some text scrolling on the screen, it will pop upward the ubuntu installation welcome GUI wizard.
- In the first sorcerer dialog, there are two buttons Try Ubuntu and Install Ubuntu. The Effort Ubuntu button will permit you use the ubuntu os from the iso file without modifying the virtual machine disk files. The Install Ubuntu button will install ubuntu Linux os on the virtual machine.
- Choose the Keyboard layout linguistic communication which you are preferred in the next wizard dialog, then click the Proceed push button.
- The next wizard dialog volition let you lot choose what software volition exist installed in ubuntu bone. I choose the Normal installation radio button, it will install a web browser, utilities, office software, games and media players, etc.
- In the next wizard dialog, if y'all do not need the data in the virtual auto anymore, and you desire the installer to manage disk partitions, you can choose the Erase deejay and install Ubuntu radio button, this will use all default settings(division settings, etc) for this ubuntu os. If you lot want to manage the virtual machine deejay sectionalisation by yourself, you can choose the Something else radio button to customize the ubuntu bone installation.
- The final step is to create a user account that is used to log in to ubuntu. Please remember the username and password carefully.
- Now ubuntu Linux os has been installed on Virtualbox virtual machine successfully. Our version is the ubuntu xviii.04.1 desktop version. When you start it and log in with your account, you can find it is stable similar MacOS and it is like shooting fish in a barrel to use every bit Windows. In the next article, we will tell you how to configure SSH in the Ubuntu Linux Bone and how to login into information technology remotely.
iii. Detect And Execute Application In Ubuntu Linux OS.
- When you want to run ubuntu applications, you tin follow the below steps.
- Click the Evidence Applications button at the bottom left corner of the ubuntu os desktop.
- Input application name ( for example Last ) in the search box at the tiptop, then the related awarding will exist displayed below it. Click the application icon to commencement information technology.
4. Enable Copy & Paste Between Host (Local Auto) And Guest (Virtual Machine) Os.
- To enable copy and paste between host and guest OS, you need to follow the below steps.
- Beginning the Virtualbox virtual machine, and click Devices —> Insert Guest Additions CD image…menu detail at the top of the VirtualBox VM toolbar.
- Then it will mount a disk in the guest Ubuntu virtual auto Bone like below, information technology will prompt you to run information technology, click the Run button and this will install the guest additions cd paradigm.
"VBox_GAs_S.2.eighteen" contains software intended to be automatically started. Would you like to run it? If you don't trust this location or aren't sure, press Abolish. Cancel Run
- If you meet the beneath error messages when clicking the Devices —> Insert Guest Additions CD image…card item, this means the cd paradigm has been mounted in the guest os already, so you lot but demand to run it in the ubuntu virtual OS manually.
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the motorcar Ubuntu. Could not mountain the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
- You can likewise run
sudo apt-get install virtualbox-guest-utilscommand in terminal to install the invitee additions support packages to enable copy & paste function. - Now to enable Re-create & Paste between host and guest Bone, you lot likewise need to set shared clipboard configuration value in the VM general avant-garde settings.
- Right-click the virtual machine in the left panel and click Settings… menu item in the popup menu item listing.
- Click General —> Avant-garde, so select Bidirectional menu item in both Shared Clipboard and Drag'due north'Drop drop-downwardly list. Click OK to salve the settings and restart the virtual automobile, now you can copy and paste data between host and guest OS successfully.
five. Resolve Tin can Not Ping Virtual Machine OS Issue.
-
- Now the Ubuntu virtual machine has been installed and you lot have created an admin account for it. You lot tin log in to the system with that account. But when yous want to access it from some other machine, you should first observe the ubuntu virtual car's external IP address with the command
ifconfig. - Open a terminal in ubuntu, and run
ifconfigcontrol in information technology.[email protected]:~$ ifconfig enp0s3: flags=4163<Up,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.107 netmask 255.255.255.0 broadcast 192.168.0.255
- Now the Ubuntu virtual machine has been installed and you lot have created an admin account for it. You lot tin log in to the system with that account. But when yous want to access it from some other machine, you should first observe the ubuntu virtual car's external IP address with the command
- If you lot get the fault message Command 'ifconfig' not constitute, yous can run the command
$ sudo apt install net-toolsto install it. - The IP address afterwards inet is just the IP v4 IP address of this virtual machine.
- But when yous ping this IP address from your host os, it will show a request timeout error, this is considering your virtual automobile is not configured correctly.
- Open up the virtual automobile Settings dialog once more, and so click Network —> Adapter1. Change the Fastened to: drop-down listing value from NAT to Bridged Adapter. And then restart the ubuntu os, at present you can ping the ubuntu bone from host os.
6. How To Fix Keyboard Not Working Fault.
- Sometimes you may run across a keyboard does not answer mistake later on pressing the Enter central at the beginning of the installation.
- Solution 1: Turn off the virtual machine, then open the VM Settings dialog, click Display —> Screen, arrange Video Memory to a big number such as 128M.
- Solution two: Open up the VM Settings dialog, click the System button at the top area, then increment the Base of operations Memory value to a bigger number such every bit 4GB.
- Solution 3: Open the VM Settings dialog, click User Interface —> Input dropdown list, uncheck and check the checkbox before the Keyboard item.
- Solution 4: Install VirtualBox extension packet that fits your VirtualBox version ( How To Install Virtualbox Extension Pack Correctly ). Bank check whether USB3 has been enabled in the Virtual Machine, if not then enable information technology. Exit and ability off all VirtualBox instances, and then run command
VBoxManage setextradata "$Your_Virtual_Machine_Name" VBoxInternal2/EfiGraphicsResolution Xin a command-line window. Y'all tin refer article How To Set Mouse And Keyboard Stuck After Install Mac Os On VirtualBox
7. How To Fix MacOS VirtualBox Ubuntu Virtual Machine Terminate At UEFI Interactive Shell Event.
7.i Question.
- I installed the VirtualBox on my MacBookPro, and create a Ubuntu virtual car on it.
- When the virtual car installation procedure is finished, it requires me to restart the virtual machine.
- I restart the Ubuntu virtual automobile equally expected and install software on it, but of a sudden the virtual auto exited.
- When the virtual machine restart, it stops at the UEFI Interactive Trounce screen. I can not restart the Ubuntu virtual automobile since then.
- I open the Ubuntu VM'southward Settings window, then click the Storage particular, I find the Ubuntu installation iso file has been removed automatically.
- So I select and attach the Ubuntu installation iso file again to the VM. I can install information technology over again, merely the error even so exists.
7.2 Answer1.
- I think you had better salvage the Ubuntu VM's state after you install it successfully, but non restart the VM.
- After that when y'all run it, the VM starts from the state that you tin run it.
- I think yous can do it when you close the VM window, there is a choice to salvage the machine state, cull it and information technology will be ok.
seven.three Answer2.
- Open your Ubuntu VM's Settings dialog, then click the Arrangement —> Motherboard tab.
- Check whether you accept checked the Enable EFI (special OSes but) checkbox, if not checked then you need to bank check information technology.
- And so restart your Ubuntu virtual automobile once again.
vii.4 Answer3.
- I think maybe this issue is because of the Ubuntu VM's depression swap memory not because of the virtual box.
- You can cheque the Ubuntu VM's swap memory usage with the command htop.
- First, install the Ubuntu htop library with the command sudo apt install htop.
- Then run the control htop, so y'all tin can run into the swap memory usage on the screen top expanse.
- If the bandy retentiveness has been fully used, and then you lot tin run the command below to increase the bandy memory size.
# turn off swap. sudo swapoff -a # increase the bandy file to 6 GB. sudo dd if=/dev/cipher of=/swapfile bs=1G count=6 # change the swap file permission. sudo chmod 0600 /swapfile # create swap with the file. sudo mkswap /swapfile # activate the swap file. sudo swapon /swapfile
- Afterwards running the higher up command, the Ubuntu virtual machine abort result may disappear.
Source: https://www.dev2qa.com/how-to-install-ubuntu-on-virtualbox-mac/
Posted by: larkinnareptund1978.blogspot.com

0 Response to "How To Install Virtual Machine On Mac"
Post a Comment