• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Netatalk/Virtual Box setup and config

LaPorta

68LC040
Hi everyone,

I’ve been getting some good help from

pcamen and others setting up an AppleShare server on Virtual Box. This runs on my MacMini server. I’ve been using the pre-made Netatalk 2 setup for the Apple II sharing. It works right out of the box: the server is visible and connectable to macOS 10.14 and System 7 - exactly what I wanted. Now, I need to get this thing fine tuned. My goals thus far are:

1. Using my RAID drive as a shared drive and using it as the root for the A2Server. All of my legacy software is on there, and it will be the biggest boon to me to be able to copy software right from there to a System 7 Mac. I am not sure just how to accomplish this, however, via Linux. I have no experience whatsoever with Linux. I got some instructions from a link pcamen sent me that instruct you to install stuff to make shared drives available, but my system tells me that the command is not available. I assume this is because I have a stripped down OS running this thing...but in reality I have no idea.

Currently, that is the biggest thing. Small things like renaming the server I can get to later.

 
To be more specific, I am following the instructions below, but my client states that the command "apt" is not found. Not sure what to do about that...


Enable a shared folder in VirtualBox for Debian guest


Installing guest addition in Debian is a little different from in Arch Linux. For Debian, I will show you a more universal way that you can apply to any other distro including Arch Linux. However, the way I showed before is preferable for Arch Linux.


Prepare the system and add a shared folder


In Debian guest, open a terminal and install the build-essential, dkms, and linux-headers packages.


Code:
sudo apt install build-essential dkms linux-headers-$(uname -r)

 
Do you know which distribution of Linux you are currently running? Debian and Arch Linux systems use different package managers. This means that if you are running a distribution based upon Debian, you will use the command with apt to install something, and if you are using a distribution based on Arch, you would instead use the pacman command.

 
Thanks cheesestraws, that at least ran, but got numerous 404 errors when it could not fetch the software to install. Perhaps the components are no longer available, or named something else?

 
Try doing 'sudo apt-get update' first?

To clarify: you are having issues because this VM is based on an old version of Debian so you may need to do some massaging to get it to connect to things

 
Last edited by a moderator:
You are very welcome, I am glad to be of help :-) .  This stuff is an acquired taste, especially when you're trying to muck about with older versions of things.  Sorting out an AppleTalk/AFP fileserver is on my own list to do too, so seeing how A2Server works is very useful :-)

 
The 404s are because when a release is over a certain age, Debian move the packages/updates onto an archive server, because fewer people are using it.  So it's probably looking for where the packages used to be, rather than where they are now.  Update might not fix it, we might need to change the URL manually.  But that's not particularly tricky, I'll talk you through it if you need to :-)

 
Still a lot of 404s. Is there a way to simply update Debian to the newest version without messing this up? Strictly speaking, all I am needing to do is get the shared folder to work.

 
It finished early!

Can you send me what is in your /etc/apt/sources.list file?  Just 'cat /etc/apt/sources.list' should work.  This is the file that contains what locations it's trying to download packages from.

 
Back
Top