What is VirtualBox?

  1. Install Mac Os Sierra On Virtualbox Ubuntu
  2. Install Macos High Sierra On Virtualbox Ubuntu

Jun 02, 2021 This is enabled by default in Ubuntu, and on other Linux distributions follow the instructions from the Snapcraft docs. Install the Sosumi snap package: Run Sosumi for the first time by typing sosumi in a terminal. After the virtual machine boots, press Enter to Boot macOS Install from macOS Base System: Can you run macOS on a VM? To install VirtualBox, click on the setup then hit next and next. Finally, click “Finished”. Create a New Virtual Machine. Now, you have to create a new Virtual Machine. Open the VirtualBox then tap on “ New ” at the upper left-hand side and name the Virtual Machine “ OS X El Capitan “. Select the disk where you are going to install macOS (probably the same you created when creating the machine). Verify that 'Mac OS Extended (Journaled)' is the format selected and click 'Erase'. Once it finishes, Quit the 'Disk Utility'. Select 'Install macOS' and click 'Continue'. Follow the instructions.

  • To install macOS on Linux using Qemu virtual machine, the developer Alan Pope (popey) has created a bundled snap package known as Sosumi. It is easy to install and works on Ubuntu, Fedora, Debian, and other major Linux distributions. Here is the Github page and source of this snap package. Or directly visit the Snap page of Sosumi.
  • 2- Create Mac OS Virtual Machine. On the VirtualBox, create a new virtual machine. Enter a name for the virtual machine and select a Mac OS version suitable for the Mac OS version that you have downloaded. Mac OS operating systems need a large amount of RAM to work, You should provide it with about 4GB RAM.

Oracle VM VirtualBox is a cross-platform virtualization application developed by the Oracle Corporation. It allows users to install operating systems on virtual hard disks such as Windows, macOS, Solaris and Linux.

As an example, you can run Windows and Linux on your Mac, run Windows server on your Linux server, or run Linux on your Windows PC while running your other existing applications.

Disk space and memory are the only problems that you'll face when installing multiple virtual machines.

Why You’ll Need It

  • Oracle’s VirtualBox is easy to install and use
  • It's free
  • You can run and experience any operating system safely
  • If you’re a developer, VirtualBox can be used as a tool for safely testing your own development projects in multiple OS environments
  • It can run everywhere from small embedded systems to laptops
  • It's good for testing and disaster recovery as it can be easily copied, backed-up, and transported between hosts

VirtualBox Installation

VirtualBox can be downloaded here: VirtualBox Downloads

Why Ubuntu?

  • It's free
  • Easy customization: The GNOME desktop environment helps you customize easily
  • It's secure
  • Ubuntu is open-source
  • Friendly and supportive community
  • Low system requirements
  • According to FOSSBYTES, Ubuntu is the second best Linux distro for programming and developers [2019 Edition]
  • It's beginner friendly

Setup for Ubuntu

First, open VirtualBox, then click 'New' to create a virtual machine.

Enter 'Ubuntu' as the name, select 'Linux' as the type, and select Ubuntu (64-bit) as the version.

Install Mac Os Sierra On Virtualbox Ubuntu

NOTE: Select any amount of memory you wish, but don't add more than 50 percent of your total RAM.

Check the 'Create a virtual hard disk now' option so we can later define our Ubuntu OS virtual hard disk size.

Now, we want to select 'VHD (Virtual Hard Disk)'.

Next, we'll dynamically allocate storage on our physical hard disk.

We want to specify our Ubuntu OS's size. The recommended size is 10 GB, but you can increase the size if you wish.

After creating a virtual hard disk, you'll see Ubuntu in your dashboard.

Now, we have to set up the Ubuntu disk image file (.iso).

The Ubuntu disk image file can be downloaded here: Ubuntu OS download

To set up the Ubuntu disk image file, go to settings and follow these steps:

  1. Click 'Storage'
  2. In storage devices, click 'Empty'
  3. In attributes, click the disk image and 'Choose Virtual Optical Disk File'
  4. Select the Ubuntu disk image file and open it

Click OK.

Your Ubuntu OS is ready to install in VirtualBox. Let's start!

NOTE: Ubuntu VirtualBox installation and actual OS installation steps may vary. This guide helps you to install Ubuntu in VirtualBox only.

Let's install Ubuntu!

Click Install Ubuntu.

Select your keyboard layout.

In the 'Updates and other software' section, check 'Normal installation' and continue.

In 'Installation type', check 'Erase disk and install Ubuntu'.

Click 'Continue'.

Choose your current location.

Now, set up your profile.

You'll see Ubuntu installing.

After the installation, restart it.

Macos

Install Macos High Sierra On Virtualbox Ubuntu

After logging in, you'll see the Ubuntu desktop.

We have successfully installed Ubuntu in VirtualBox. It's ready to use for your future development projects.

Let's verify the installation.

Catalina

Open your terminal (Press Ctrl+Alt+T) and type in the commands below and check if they work.

  1. pwd: This will print the current working directory
  2. ls: This will list all items in your current directory

After checking those, power off your machine by using the following command.

Conclusion

VirtualBox is free and is a great tool for running multiple operating systems on a single OS. Ubuntu has many benefits. If you're a beginner to Linux, I would recommend you use Ubuntu as it's beginner friendly.

Please feel free to let me know if you have any questions.

You can contact and connect with me on Twitter and Medium.

Thank you for reading.

Happy Coding!