Recreating fstab for a LUKS drive that was accidentally deleted
I was having trouble booting my system and in the process of following some directions incorrectly and trying to fix it, I accidentally overwrote my fstab file. Now I'm having trouble recreating it in order to be able to log in. Currently the system will boot, ask for the encryption password, run fsck, and then take me to the dekstop login screen. After typing in my password however, the screen will flash black for a few seconds, then return to the login screen. I'm not 100% sure this is caused by the fstab, but it started happening after I accidentally overwrote it. I was able to find this old thread with some helpful information, but I'm still having issues.
This is what my fstab currently looks like: Code:
# <file system> <mount point> <type> <options> <dump> <pass> Code:
# /etc/crypttab: mappings for encrypted partitions. Does anyone know what needs to be done to correct the fstab? Barring that, is it possible to reinstall just the OS while keeping my programs, data, and settings intact? Thanks in advance! |
I believe /l should be /home/l
That shouldn't stop it from booting though. [edit] Reinstalling will not overwrite your settings etc. as you have a separate home partition. [/edit] -glenn [edit[ Right, that should have been /home [/edit] |
Quote:
I changed the path to /home/l and still had the same issue after rebooting; got to the login screen, logged in, hung on a black screen, then dropped back on the login screen. Next I tried changing the path to /home/ and sure enough, logged in right to the desktop with no issues. I'm both overjoyed and a little annoyed the solution ended up being so simple. |
All times are GMT -5. The time now is 10:12 PM. |