@joela85 - I found that if you pull the SD card and plug it into a windows box, you can access the /boot
path. That will allow you to edit the /boot/config.txt
file and comment out the dtoverlay
line. Edit in WordPad. Do not edit in Notepad.
Save the file, eject the SD card, put it back into your Pi. You should be able to SSH into your Pi once it boots.
I haven’t tried this procedure using an Ubuntu box, but it most likely will work.