I am running Windows 10, Ubuntu 20.04.2 dual boot on a Lenovo Thinkpad. The setup has been working fine for me for 6+ months.
The laptop was on with the lid closed and the charging cable got disconnected, and it died. Now when I turn it on it loads grub but if I try to boot Ubuntu it goes to a black screen showing a blinking cursor, exactly like in this question. I can still boot the Windows partition without a problem.
What I've tried:
Apparently a common cause for this is an update/install gone wrong. From grub I can boot Ubuntu in recovery mode where I ran the dpkg
tool to repair any potentially broken packages but that turned up nothing, and with the lid closed long before it powered off there shouldn't have been any chance of something critical being interrupted.
A couple other common causes are lack of space (my Ubuntu partition has >80% free) and Nvidia graphics driver issues (I use intel integrated graphics).
I can access the virtual console with Ctrl+Alt+F3 where I tried the suggestions from the linked question (sudo dpkg-reconfigure gdm3
, sudo service gdm3 restart
, and editing /etc/gdm3/custom.conf
and unmcommenting #WaylandEnable=false
). None of these had any effect.
This question gives a lot of resources but none seem to apply to me. Grub seems to be working fine and I'm a bit nervous to touch it without knowing what I'm doing, since I don't want to mess up my Windows partition (but if others think it sounds grub related I will try updating/reinstalling grub).
I wanted to try fsck
so I made a bootable USB with the latest Ubuntu image and discovered something else: my laptop won't boot from USB now (it did before, that's how I did the initial install). I can boot from the USB on another Lenovo laptop but this one hangs on the splash screen as if it detects the USB is bootable but is unable to boot from it. I disabled secure boot, played with UEFI/Legacy boot options and boot order but it won't work. As soon as I unplug the USB it continues to grub.
If I can't boot from USB I can't even reinstall (at least not without a lot of pain) but I'm not sure what else to try.
update:
the USB issue was fixed by changing the USB device. I was able to run fsck
from a live cd which found no issues, even with the -f
(force) option.
I also tried running the boot-repair tool which reinstalled grub as well but had no effect.