Q. I have a MacBook and a couple of PCs. I also have an external 1TB drive on my Mac. I can mount the Macâ€™s internal hard drive on my PCs but I cannot mount the 1TB hard drive. Is this possible?
A. One of the cool things about Macintosh computers is that weâ€™ve always been able to read data on Windows drives and floppy disks. In the past there were utilities to that enabled Windows computer to run AppleTalk protocol and read Macintosh volumes.
Mac OS X includes Samba which allows users to run SMB (Server Message Block) protocol. SMB was developed by IBM, but has been highly modified by Microsoft. The open source Samba has reverse engineered SMB to provide a version for non-Microsoft systems.
By running SMB on your Macintosh you can share your files with your Windows neighbors. Go to System Preferences -> Sharing and check Windows Sharing. Then PC users can add your Mac to their Network Places or â€œmapâ€ your drive as a network drive by adding
The problem with external drives is that they are not automatically included in the smb shares. When you enable â€œWindows Sharingâ€ a configuration file is written to the Unix file system. Most configuration files are stored in the â€œ
etcâ€ directory and there youâ€™ll find the â€œ
So once again open the Terminal (Applications -> Utilities -> Terminal) and at the prompt enter â€œ
cd /etcâ€ and press enter â€“ to â€œchange directoriesâ€ the â€œetcâ€ directory. You need to be an administrator to edit the file and you should begin by backing up the file. Enter â€œ
sudo cp smb.conf smb.bakâ€ at the prompt to make a copy of the file. â€œsudoâ€ is a special command that lets you act as an administrator for a short period of time.
Check that youâ€™ve made a copy by listing the files with â€œls â€“laâ€ and Return. You should see both the original and the backup. Now edit the file with â€œedâ€, â€œviâ€ or â€œpicoâ€. With pico the display is similar to most text editors and the commands are at the bottom of the file. Enter â€œpico smb.confâ€ and scroll to the bottom (with Control V) and add the following to the bottom of the file:
path = /Volumes/LaCie_d2_156_GB
valid users = tmitra
writeable = yes
In the example above my â€œShare nameâ€ is â€œLaCieâ€ â€“ this is what the PC user will see. The Macintosh name of my drive is â€œLaCie_d2_156_GBâ€ â€“ note that I have replaced the spaces with underscores. The â€œvalid userâ€ is the name of a user on my Macintosh and â€œwriteableâ€ means that I can read and write to the drive.
Now on the PC go to â€œMy Computerâ€ and choose â€œMap Network Driveâ€ from the Tools menu. Then in the dialog enter the Macâ€™s IP as the server and the share name:
Then enter your username and password and the volume should be mounted. You can then copy files to and from your PC â€“ and share them with the Mac.