1) What you'll need:

2) Step-by-step setup for your Raspberry Pi 4 Model B

1. Download and install Raspberry Pi Imager (https://www.raspberrypi.com/software/)

2. Format your MicroSD-Card with "Festplattendienstprogramm" also called "Disc Utility" and Format the card with the file system FAT / Master Boot Record settings

3. Start the app, select RASPBERRY PI OS LITE (64-BIT) and select your 32GB SD Card then start the process, configure the installation options to activate SSH, set up your username and (secure!) password, set your Rasp4B device name

4. in the meanwhile unpack and assemble the Rasperry Pi 4 with the Aluminium Case

5. Format your new SANDISK Extreme via the Disc Utility as file system exfat / Master Boot Record and name it "EXTREME"

6. Wire everything except the Raspberry Pi 4 (power USB-hub, Sandisk Extreme to USB-hub with USB A to USB C cable, LAN-cable to router, etc) also insert the MicroSD-Card when the installation process is finished

7. put in the power of your (RaspB4) - even nicer to power it through a homekit-controllable power socket

8. the RaspB4 will now boot und will need a few minutes (just wait around 5 minutes at the first boot until all basic settings are configured automatically, if you happen to own a micro-HDMI cable or adapter, you could even watch the process on a screen, but its not necessary

9. Install web_ssh (link) on OSX (basically just a nicer terminal for SSH connections)

10. Finally we need the IP of your RaspB4 and there are several options (without looking through a microHDMI-connected display directly in the console on your RaspB4). The easiest option is to install this free app called "Network Analyzer" from the appstore on your Iphone and scan your Network "LAN" - it will resolve the IPs automatically and you'll find your RasbB4 easily by looking out for the name you've set. Second way to get the IP is to start the "terminal" on your OSX device / Macbook, write "arp - a" to display all network devices and resolve the hostname by hand for each IP-adress with the command "nslookup {IP-ADRESS}". this only works if your (wireless-) network DNS is your router (f.e. because every other DNS won't resolve the hostname which will end in an error with nslookup

11. once you've discovered the IP-adress, connect with your credentials (you've set at the installation of your microSD card) via (web_ssh) SSH (see 9) to your RaspB4

12. now let's install everything by typing this:

// updates the system:
sudo apt-get update
sudo apt-get upgrade

// installs exfat compability:
sudo apt-get install exfat-fuse
sudo apt-get install exfat-utils

// list all drives of /dev/ folder:
sudo fdisk -l

// this will result in something like this at the end of the list, look out for your SSD

Disk /dev/sda: 931.48 GiB, 1000171323904 bytes, 1953459617 sectors
Disk model: Extreme 55AE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 1048576 bytes
Disklabel type: gpt

Device Start End Sectors Size Type
/dev/sda1 2048 1953457568 1953455521 931.5G Microsoft basic data

// lists all devices / drives in a nice list to get the right name of your SSD partition:

// mounts your SSD Partition /dev/sda1/ to /media/exfat/
sudo mount /dev/sda1 /media/exfat/

// get a list of all drives with UUIDs
sudo blkid

// one line of the output will look like this
/dev/sda1: LABEL="EXTREME" UUID="XYZ" BLOCK_SIZE="512" TYPE="exfat"

// start the editor for fstab
sudo nano /etc/fstab

// copy this to the last line before the first #, change the UUID to your SSDS /dev/sda1 partitions UUID, copy exactly this syntax!!) and close it with CTRL + X > Y(es) > ENTER.
UUID=XYZ /media/exfat exfat defaults,auto,umask=000,users,rw 0 0

// mount everything, no output if everything works
sudo mount -a

// reboot your RaspB4
sudo reboot

// wait until the SSH connection will work again (reboot needs around 20-40sec) and reconnect

// show mounts

// should display something like this

└─sda1 8:1 0 931.5G 0 part /media/exfat

// set read/write rights for the /media/exfat folder
sudo chmod -R 0755 /media/exfat

// install samba
sudo apt install samba samba-common-bin

// start editor for samba.conf
sudo nano /etc/samba/smb.conf

// paste this at the bottom of the file, change the path to your set path f.e. /media/exfat and close it with CTRL + X > Y(es) > ENTER.

comment = Raspberry Pi
path = /media/exfat/
valid users = @users
force group = users
create mask = 0775
directory mask = 0775
read only = no

// define the user and a (secure!) password for your SAMBA service
sudo smbpasswd -a {NEW_SAMBA_USERNAME} > ENTER

// reboot the system
sudo systemctl reboot

// check your Rasp4B temperature 🙂
vcgencmd measure_temp

13. now you are able to connect with your Macbook (Finder > network - login with username / password) with your SAMBA server, upload and download files and login to it via multiple apps from devices like the AppleTV 4K.

Photocredit: pexels.com/@googledeepmind/