0

My Ubuntu 20.10 installation was showing a blank screen after booting, so I started it in recovery mode and tried sudo fsck -f /. The error it gave was:

sudo: unable to resolve host dk: Temporary failure in name resolution
fsck from util-linux 2.36
e2fsck 1.45.6
/dev/sda3 unmounted
e2fsck: cannot continue, aborting

How can I solve this issue?

1 Answers1

0

Unmounting the system partition when it's in use is generally not a great idea, particularly when you need to read some of the files on the partition. In order to do this, it may be better to grab your installation media (the USB stick or DVD) for Ubuntu, boot into a Live Session, then run the file system check with the -nf flags:

fsck -nf /dev/sda3
Flag Meaning Action
n dry-run Check only, do not make changes
f force Force a new check

If errors are reported afterwards, run fsck again without the n flag. From there, any issues will hopefully be resolved and the file system will mount properly at boot time.