You can run linux inside virtualbox on a mac (and windows).
You can also run Windows inside virtualbox on a mac.
Installing Ubuntu in virtualbox
Download Ubuntu
Download virtualbox and extensions
Install virtualbox
Click new
Choose Linux, Ubuntu 64 and a name like Ubuntu.
Choose RAM size. I used 2048 MB because it is recommended for Ubuntu 16.04
Choose Hard Disk size. I chose 15 GB and “create virtual hard disk file.”
Choose Hard disk file type. I left it at VDI.
Choose Storage on physical hard disk. I used fixed size because it faster.
Choose Location and size. Ubuntu
Done
Choose Virtualbox – preferences – extensions and install the Virtualbox extensions you downloaded. The extensions enables USB 3.
I upgraded the settings on the Ubuntu virtual machine:
Ubuntu – settings:
ports – USB – USB 3
Video – Memory – 128 MB
System – Processor 2 CPUs (Ubuntu 16.04 minimum requirements)
Choose the ubuntu linux image when you boot it the first time or add is as a cd rom.
You can now start the virtual machine.
Choose install Ubuntu
I used the default settings.
When Ubuntu is installed you can install the linux Guest additions.
Use Virtualbox – Devices – Install Guest Additions. The Guest additions enables adjusting the screen size of the virtual box and other things.
Let the program run.
Choose shutdown
You can set up a Shared folder in virtualbox that will be mounted in linux
Devices – Shared folder – Shared folder settings
Start the virtual machine again
Updating Ubuntu
sudo apt update
sudo apt upgrade
You can copy files from EXT2 hard drives to Windows NTFS hard drives. NTFS hard drives can be read on macs.
Using Files/nautilus to access shared folders and copy files to EXT 2 hard drives.
You can start Files/nautilus as root to get read/write access.
in Terminal
sudo nautilus
Formatting a hard drive using Gparted
See this post for more info on gparted/parted/inode 128
run sudo apt install gparted
to install gparted
Use Virtualbox – Devices – USB and enable the hard drive.
run gparted
sudo gparted
Click on “Device” – “Create a partition table”
Choose msdos.
Use add partition, add a label and format the drive as EXT2, NTFS, EXT4 or others.
Format the hard drive using mke2fs with inode 128
To format a hard drive as ext2 with 128 inode size, use this command in a terminal on the hard drive you want to format:
sudo mke2fs -t ext2 -I 128 -L DCP123 /dev/sdb1
Setting 755 permissions with chmod
in terminal
sudo chmod 755 -R /media/user/dcp/
Using asdcp tools
Download asdcplib
http://www.cinecert.com/asdcplib/download/
Extract it
Right click and choose extract here
Compile it
start a terminal in the asdcp folder
run these commands
sudo apt install libssl-dev
sudo ./configure
sudo make
Running asdcp-unwrap to extract the wav file from a mxf sound file
You can use asdcp-wrap to make MXFs
Open terminal in the folder where you want your wav file
Run asdcp-unwrap from the asdcp/src directory on the sound mxf file.
/home/user/Downloads/asdcp/src/asdcp-unwrap /media/user/dcp/sound.mxf
You can also drag the asdcp-unwrap file from the File manager to the terminal.
Space.
Then drag the mxf file to terminal.
Enter.
The wav file can be imported in Adobe Audition.
Using Amazon S3 Simple Storage
Install Crossftp Pro to upload to Amazon S3 simple storage
Install java
sudo apt-get install default-jre
sudo apt-get install default-jdk
download portable crossftp and follow the instructions.
or download and install the crossftp linux deb package
change to the Downloads directory in Terminal or right click the directory and choose open terminal here.
open terminal
cd Downloads
sudo dpkg -i ./crossftp_deb_package.deb
Finding base64 sha-1 hash values
(You can also run this command in a terminal on a mac)
in Terminal:
openssl sha1 -binary "FILE_NAME" | openssl base64
source: wikipedia
Running Subtitle Edit in ubuntu.
You can run portable Subtitle Edit in linux. There is a discussion on the sub talk forum on how to run it.
You can run a basic version with video support. To do more advanced work I recommend using Windows. You can run Windows in Virtualbox on a mac.
You need to install mono-complete and Mplayer.
sudo apt install mono-complete
sudo apt install mplayer
If you open a video file in the Files/Nautilus file manager it asks if you want to install codecs.
I also installed these
sudo apt install vlc
sudo apt install mpv
Unzip the Subtitle Edit portable zip file
right click and choose extract here
In Terminal
sudo mono Subtitleedit.exe
Using Gnome Commander to copy files and set permissions
Install gnome commander
sudo apt install gnome-commander
run gnome commander
sudo gnome-commander
You can right click files and choose copy, then paste the files somewhere else.
You can right click files and check md5 checksums to check that files are copied correctly.
Thanks for all the info. If I purchase a pre-formatted CRU drive EXT3 per ISDCF specifications, will I be able to copy the DCPomatic created files from my Mac hard drive to it using Paragon ExtFS?
Yes.
Thank you.
Knut,
It didn’t work. Drive wouldn’t mount. Not sure what happened. Trying to go down Linux road. Not for the faint of heart. Do appreciate the work. Now I see why the advice is to not try this at home.
Hi.
The drive will not mount in Mac OS with extfs innstalled if the drive is not cleanly unmounted.
You need to analyze and maybe do a repair on the partition in disk utility to be able to mount it.
Linux will mount most drives.