lubuntu wont open unless I run specific commands in emergency mode

I have lubuntu installed on a USB (not burned).

today I accidentally pulled out the USB before I turned off the pc and the installation broke. every time I boot into the USB it boots in emergency mode.

I found this thread and followed the instructions of the first answer up to the point it tells you to apt-get update. after that point i can just exit and it will boot into the OS correctly.

what I want to ask is how can i make it boot correctly without redoing the steps every single time?

Answers 1

    • I think the file system is damaged because buffered data had not been saved to the drive, when you unplugged it.

      So you could try to repair the file system, when booted from another drive. This link might help,

      Repair the partition table and file system of a pendrive

    • If too much damage, try to save/recover the most valuable files (maybe you can save the whole home directory), and reinstall, or restore from a backup. Good luck :-)

Related Questions