I accidentally deleted all files inside folder /var. Now, my computer restarts but switches to Command line interface. So, how to make my system work as before?
- Just to make sure: make a backup of your personal files. You can do this from command line. Reference: How would I use tar for full backup and restore with system on SSD and home on HDD? (but there will be more like this on AU).
- Restart with a Live DVD and re-install;
- During the setup of the partitions do not format your disks.
If you do it like this you will keep all personal files and the default /var files are restored. You should get your system up and running but do not need to restore a backup. Otherwise do restore the backup.