Updated for MacOS Monterey 29.nov 2021
Installing Ubuntu in VirtualBox
Download Ubuntu. I chose 20.04.03
Download VirtualBox main software and extension pack. 6.1.30 works on MacOs Monterey.
Run the installer
If you want to avoid installing Ubuntu on Virtualbox, Parallels on mac has automated the ubuntu installation process, but it is not free after the 30 days trial.
Make the Ubuntu Virtual machine
Start VirtualBox and Click new
Version: Ubuntu 64,
and a name like Ubuntu 2004.
Choose memory size. I used 3096 MB
Hard disk file type
Choose Hard disk file type. I left it at VDI.
Dynamically allocated or Fixed size
Choose Dynamically allocated or Fixed size. I used Dynamically allocated
File location and size
Choose Location and size. I used 15 GB
Installation is finished
Install Virtualbox extensions
Run the downloaded extension pack from the VirtualBox web site. The extension pack enables USB 3.
Change USB settings on the Ubuntu virtual machine
Ubuntu – settings:
Ports – USB – USB 3 (xHCI) Controller
Video – Memory – 128 MB
System – Processor 2 CPUs
Start the Virtualbox Ubuntu
When you start the Ubuntu virtual machine, it asks you to load a cd-rom image, choose the Ubuntu Linux image you downloaded from the Ubuntu web site.
Choose install Ubuntu
I choose Norwegian Macintosh
Updates and other software
I choose Minimal installation
and I unticked Download updates while installing Ubuntu
Erase disk and install Ubuntu
Where are you,
I choose Tromsø/Oslo
Who are you,
I choose knut
Press Enter to finish rebooting, the ubuntu iso image has been automatically ejected.
Ubuntu is installed
After the reboot, I skip
Connect your online accounts
Now Ubuntu is installed.
Updating and installing build-essential
Click on 9 dots in the bottom left corner
type terminal and click on the terminal icon
sudo apt update sudo apt upgrade
Install build essential
sudo apt install build-essential
Install Linux guest additions
When Ubuntu is updated and you have installed build-essential you can install the Linux Guest additions.
Click on Devices – Insert Guest Additions CD image. The Guest additions enable adjusting the screen size and other things.
Let the program run.
After restarting you can resize the Virtualbox window.
Formatting the hard drive to ext 2 with gparted
Use Virtualbox – Devices – USB and enable the hard drive.
When using a USB-C (3.1) hard drive on a Macbook Pro, I had to connect it to a Belkin USB-C Multiport adapter (#ad) with a USB 3 port to get it working. Ubuntu in Parallels does not have the same problem.
In terminal. Install gparted.
sudo apt-get install gparted
Make a MBR partition
(Max 2 TB)
Choose the correct hard drive like /dev/sdb
Click on “Device” – “Create a partition table”
Choose msdos and apply. All data on the disk will be erased.
Make a partition and format it to ext2
The hard drive is now empty and the partition is unallocated
Right-click the unallocated partition and choose
Create new partition
Create as: Primary Partition
File system: ext2
Label:DISK234 or something similar
Click on the green checkmark “Apply All Operations” to make the partition and format the hard drive.
Now the hard drive is usable on modern cinema equipment
Reformat with inode 128 (optional)
If you want to support very old equipment you can reformat as inode 128
Note the name of the partition (like sdb1) and format it again in terminal with -I 128 inode.
sudo mkfs.ext3 -I 128 -L DCP123 /dev/sdb1
sudo mkfs.ext2 -I 128 -L DCP123 /dev/sdb1
Copy the DCP in a file manager
Run nautilus with sudo in Terminal to get a root GUI file manager.
sudo apt install nautilus sudo nautilus
Then copy the DCP directory to the hard drive in the Files/Nautilus file manager.
Make the DCP directory read-only and executable
In Terminal use the chmod -R 755 command on the folder you made.
sudo chmod -R 755 /media/kese/harddrivename/foldername
Compile and install asdcplib tools
sudo apt install build-essential sudo apt install git sudo apt install libssl-dev sudo apt install cmake git clone https://github.com/cinecert/asdcplib.git cd asdcplib mkdir build cd build cmake .. make sudo make install
Test the compiled tools
Run kmuuidgen to generate a UUID
Running asdcp-unwrap to extract the wav files from a mxf sound file
Running Subtitle Edit in ubuntu.
You can run portable Subtitle Edit in Ubuntu using mono. It runs smoother in Windows in parallels, but running it in Ubuntu in VirtualBox is free.
For more info see the help section on the Subtitle edit web page here.
Install mono, libmpv-dev, and these packages first:
sudo apt install mono-complete sudo apt install libhunspell-dev sudo apt install libmpv-dev sudo apt install tesseract-ocr sudo apt install vlc sudo apt install ffmpeg
Download subtitle edit portable from the Subtitle Edit web page and uncompress the zip file.
Run subtitle edit with the command