Hello everyone, when I started my Dell Optiplex 3050 computer with Ubuntu yesterday, the following error was displayed and I don’t really know what to do to fix this incident and make the PC start normally again:
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot", "systemctl default" or "exit"
to boot into default mode.
Press enter for maintenance
or press Control-D to continue.
and
Failed to start default target transaction for graphical.target/start is destructive (emergency.target has ‘start’ job queued, but ‘stop’ is included in transaction)
I read a lot of dedicated topics in the forums. And here is what I did before shutting down my PC when it was still working:
-
Connecting a Windows NFTS external drive containing movies to my Ubuntu PC
-
Downloading a movie that did not work due to lack of space on the hard drive. The goal was to download the movie from my Ubuntu PC and copy it to the external drive but I did not pay attention to the remaining space on the PC hard drive.
-
For several days, an Ubuntu update was proposed but I never installed it
I changed my screen (1920x1080) to a 4K UHD screen and when changing the screen, I did not notice anything special. I reconnected the PC to the old screen but the error is still there. I use this new screen for the Ubuntu PC and for other things like a game console.
Following my readings, I managed to delete the “*.part” file of the film and took the opportunity to empty the recycle bin, so it is no longer a space problem.
The external drive is no longer connected and I read that you have to manipulate the FSTAB file in the event of an incident of this type. I read that some people renamed the disk name UUID=0000-0000 to something else but I don’t know if that could correct the incident.
I read the logs and there are lines in white, orange and red. Here are the ones in red:
I tried the command line fsck -y /dev/sda1
but it doesn’t seem to work
My hard drive is encrypted with a pre-login password at boot time that is normally required, which allowed me to get the error message and view the logs. I don’t know what would happen if I used a bootable USB stick with Ubuntu on it to fix the problem: would I be able to access the data on the drive with the ability to enter the decryption password?
Other information that may be useful:
Thanks for reading and for your patience with those new to Ubuntu.