After installing Windows 7 on my Laptop normally running Ubuntu 18.04 LTS, I couldn't boot Ubuntu anymore. GRUB didn't show up on boot and Windows directly started.

After using the Boot Repair tool, the GRUB menu shows up again, but if I try to boot Ubuntu normally, the screen stays black with a blinking cursor in the top left corner.

Booting Ubuntu in recovery mode got stuck always at the same point:
loading some drivers, I guess? loading some drivers, I guess? here I discovered that, if I wait long enough (>5 mins), another prompt appears:
press enter to boot the system press enter to boot the system When Pressing Enter, the recovery mode menu does indeed appear.

When I select network here, the system gets stuck again showing first this:
failed to start load kernel modules failed to start load kernel modules and then this:
failed to start load kernel modules - again failed to start load kernel modules - again where it stops doing anything.

Interstingly, If I now hit Ctrl+c, ubuntu boots and I can login to my user account BUT with neither WiFi nor USB working.

On a wired network connection it seems to work somehow (but not for everything, Firefox, for example, couldn't load any website) and I was able to run sudo apt-get update and sudo apt-get upgrade where it seemed to be able to connect to the servers but didn't change the situation at all.

After reading through this Guy's post who seems to have had a very similar problem, I got the following output for sudo systemctl status systemd-modules-load.service:
many red lines many red lines Too many red lines for my taste, unfortunately, I'm too inexperienced to get what it wants to tell me. Unfortunately, the answer that helped the guy who posted the question above didn't have any healing effect on my system.

This is where I am right now. The simplest thing to do probably would be to reinstall Ubuntu, but I really would like to avoid all the setting-up-new-system stuff. Any Ideas how I can get my Ubuntu installation to boot normally again (with WiFi and USB working)?

Thanks for any advice in advance!

  • Comments are not for extended discussion; this conversation has been moved to chat. – Seth Jun 4 '18 at 22:57
  • thanks @Seth & sorry, I couldn't move the discussion to a chat because of my lack of reputation – linub Jun 4 '18 at 23:00
  • @linub The reputation requirement has been waived for this discussion :) – Seth Jun 4 '18 at 23:02

The system hanging is due to problems with your Linux kernel files. It can't find and load the needed drives and is hanging up while trying to find them.

This can be resolved by running these steps:

$ sudo apt install --reinstall linux-image-generic
$ sudo grub-install /dev/sdX

Make the variable X the drive that you want to use for booting. Under normal circumstances this drive is /dev/sda.

Other important commands to resolve the other errors is to ensure the integrity of your Ubuntu installation with these commands:

$ sudo apt update
$ sudo apt upgrade
$ sudo apt full-upgrade
$ sudo apt autoremove

Reinstalling the Linux image fixed the modules errors you were getting. That also should have fixed your problems with your network drivers and connecting to the Internet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.