Question: you are in emergency mode ubuntu server?
Answer: Step 1: Find corrupt filesystem. Run journalctl -xb in the terminal. ... 
Step 2: Live USB. After you have found the corrupt filesystem name, create a live usb. ... 
Step 3: Boot menu. Restart your laptop and boot into the live usb. ... 
Step 4: Package update. ... 
Step 5: Update e2fsck package. ... 
Step 6: Restart your laptop.