Yesterday I was booting up my computer and it gave me this error message:
I was searching for a solution and came across this forum discussion : https://ubuntuforums.org/showthread.php?t=2326216
So then I booted into recovery mode from the grub boot menu, as someone suggested and then try to run $ sudo apt-get update
.
Here is where I started struggling. I cannot get my computer to connect to the internet.
$ ping google.com
just gives me ping: unknown host google.com
So then I tried to run $ sudo dhclient eth0
but it returned this error message:
run-parts: failed to stat component /etc/dhcp/dhclient-enter-hooks.d/debug: No such file or directory
run-parts: failed to stat component /etc/dhcp/dhclient-exit-hooks.d/debug: No such file or directory
run-parts: failed to stat component /etc/dhcp/dhclient-enter-hooks.d/debug: No such file or directory
RTNETLINK answers: File exists
run-parts: failed to stat component /etc/dhcp/dhclient-exit-hooks.d/debug: No such file or directory
How can I fix this?
EDIT: journalctl | grep modules
gives me:
systemd-modules-load[214]: Inserted module 'lp'
systemd-modules-load[214]: Inserted module 'ppdev'
systemd-modules-load[214]: Inserted module 'parport_pc'
systemd-modules-load[214]: Failed to find module 'rtc'
systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status1/FAILURE
systemd[1]: systemd-modules-load.service: Unit entered failed state
systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'
journalctl | grep modules
and you could [edit] your question to add this information ) – Zanna Aug 07 '16 at 12:03sudo mount -o rw,remount /
and thensudo dhclient eth0
(assuming eth0 is the right interface) – Zanna Aug 07 '16 at 12:32