In the Oracle VM VirtualBox Manager, select “New.”.Install VirtualBox to Install macOS on a Virtual Machine Now, type “sudo sh setup-headers.sh” which executes that header script.
Be sure you’re located in the home directory. Once you’re in the terminal in Ubuntu, you’ll download another script that sets up your headers. You’ll now be in Ubuntu Linux and need to open the terminal. To install the Ubuntu distribution of Linux, you will first need to get into the Chrome OS developer shell, Crosh.