Setup Shared DVD in Ubuntu for Mac OSX Lion
September 25, 2011 2 Comments
For you who have diskless Macs like MacMini, or Macbook Air with OSX Lion loaded will obviously need to have access and use the external DVD drive. I have Ubuntu 11.04 and would like to use its DVD drive. It’s a bit tricky to do it in Ubuntu 11.04 box. This guide will help you how to solve the problem.
Set Automounting for the DVD
Login to your Ubuntu machine. You need to tell ubuntu to auto mounting the DVD drive with generic mounted volume so we can set it as shared volume.
sudo nano /etc/fstab
Add the following line at the end of the file.
/dev/dvd /media/dvd auto user,noauto,exec,utf8 0 0
Create the DVD mount volume:
sudo mkdir /media/dvd
I use Netatalk and AFP for file sharing with Mac. This is the only way that I know to talk to Mac OSX Lion from Ubuntu. Read my post here if you have not setup Netatalk.
Open the Netatalk configuration, AppleVolumes.Default file:
$ sudo nano /etc/netatalk/AppleVolumes.Default
then add the following line to share the DVD volume:
/media/dvd $v allow:macuser cnidscheme:dbd options:usedots,upriv
Open Finder at your Mac. Click Go from the top bar menu, select Connect to Server. Enter the Server Address using AFP format:
Change the macuser and IP to your settings. Enter password, then you will see that the DVD drive mounted is on the list. That’s it.
Disadvantage of this solution is you cannot use Remote Disc feature in Mac. Let me know if you know how to do it. But, at least this guide helps you load DVD to your diskless Mac.