1

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?

javajav
  • 113
  • Is there a persistent live or installed system on the USB drive? See this link ; 2. 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; 3. 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 :-)
  • – sudodus Jun 01 '18 at 18:41
  • @sudodus I think the second link will work. Thank you! if you post this as an answer ill accept. – javajav Jun 01 '18 at 20:38