I am a fairly new Ubuntu user. A few days ago I edited my ~/.profile and have spotted a syntax error in it. Now, when I try to log on, it sends me back to the 'greeting screen' after some errors. I do have a guest account, but no other accounts in the admin group. I've been searching for a solution, but found nothing that has worked so far. Here's what I have already tried:
- Launching root terminal from recovery mode in GRUB. When I tried to edit my .profile with nano/vi, it said that it was read-only.
- Launching dpkg from recovery mode. This gave me an error saying the mount was terminated with status 32.
- Booting into single user mode. This gave me the same error as no. 2; mount was terminated with status 32
- Logging in with virtual terminal. I pressed ctrl+alt+f2 in greeting screen and logged in, but there was a login loop here too; it would immediately ask for my login again after I logged in.