1

I was updating my Ubuntu 18.04 to 20.04.1 LTS. But forgot to plug my laptop to charging. My laptop battery died in middle of upgrade. When I turned my laptop on, it started getting stuck on ubuntu logo screen. I googled for some solutions, tried some of them.

  • Like going in Advanced Options for Ubuntu through GRUB and running in recovery mode, selecting dpkg to fix package issues. That stuck on a line saying "e2scrub_all.service is a disabled..." something.

  • Selecting newer kernel gives "end kernel panic: not syncing vfs unable to mount root fs on unknown block (0,0)"...

  • Selecting older kernel recovery mode and selecting resume normal boot continues to get stuck on some blinking underscore forever.

  • When pressing E on Ubuntu in GRUB to edit configuration, I don't see the last line of initrd which I saw in many solutions.

  • selecting a kernel in non-recovery mode showed some line below ubuntu logo that said something like "WARNING: option 'size' missing in crypttab for plan dm-crypt..."

Edit: My laptop is HP with EUFI dual boot with Windows 10 and Ubuntu 20.04

I have posted all of the things I've tried... Please help me in the right direction.

1 Answers1

0

The middle of a release-update is the worst possible time to lose power. This is precisely why the release-upgrade tools advise you to plug in your system before proceeding.

Sometimes it's recoverable. However, your description seems to indicate an incompatible, unbootable mix of old and new packages and incomplete configs.

Advice: Wipe your system and reinstall.

  1. Create a new 20.04 LiveUSB Installer on a different, working system.
  2. Use the "Try Ubuntu" environment to backup your data to some other media.
  3. Clean-install 20.04
  4. Restore your data from the backup

Doing this correctly can take a full afternoon (instead of the 40 minutes-or-so for a normal release-upgrade). That's the price you must pay for neglecting to plug in.

user535733
  • 68,493