The problem would likely be carried over. If you have an external hard drive big enough, you certainly should back it up before we try to fix anything, just in case something goes haywire. If you can boot into the recovery partition of your computer, we should be able to do everything we need there.
To back it up,
- Boot into the recovery partition by holding down Command-R while you turn on the computer, and don't release them until you see the apple logo.
- Open Disk Utility.
- Plug in your external drive (make sure it is large enough.)
- Select the indented partition (called "Macintosh HD" by default).
- Click the Restore tab.
- Make sure that "Macintosh HD" is in the Source field, then drag the external hard drive to the Destination field.
NOTE: This will completely erase the external hard drive and replace the contents with an exact duplicate of your computer's hard drive, so make sure ther eis no important data on your external hard drive.
7. Click the Restore button.
To unlock your hard drive (back it up first, if you can):
NOTE: If you find that the disk is not locked, as I am expecting it to be, reply to this thread and we'll figure something else out.
- Boot into the recovery partition by holding down Command-R while you turn on the computer, and don't release them until you see the apple logo.
- Open Disk Utility.
- Select the Disk that is indented, it will be "Macintosh HD" by default, unless it was renamed for some reason.
- Under the File menu, click on Unlock "<disk name>" and enter your password when prompted.
- After unlocking the disk, click Verify Disk and repair them if necessary.
- Then click Verify Disk Permissions and repair them if necessary.
- Restart your computer and attempt to log in.
(Watching Netflix? Finals are next week? Tsk tsk. 😉)
Edited to add directions for backing up the disk, like I suggested. (silly me.)