No Audio with retropie

Hello, I am trying to get my HDMI audio working.

I went to sudo nano /boot/config.txt

added hdmi_drive=2

when I got to save it, it says Error Writing /boot/config.txt: No such files or directory

How can I fix my audio? I checked to see if anything was muted but it is not.

Could it be a setting on my tv?