Results 1 to 7 of 7

Thread: Upgrading From 20.04 to 22.04 Failed

  1. #1
    Join Date
    Oct 2022
    Beans
    6

    Upgrading From 20.04 to 22.04 Failed

    I'm stuck. I was upgrading from Ubuntu 20.04 to 22.04 and during the install my network stopped working. I believe all packages were downloaded by that point. When I tried rebooting to get back my network (big mistake) I no longer had a working system. Booting into recovery mode I tried finishing the upgrade. For some reason the system doesn't see my /boot/efi partition even though it is mounted. My fstab file looks correct. Below is my screen when I try the upgrade command. By the way this is dual boot beside Windows which is still working. https://photos.app.goo.gl/fozqMvjWhpi2kUeF9

    I tried using boot-repair from a USB stick. it gives me the information here http://paste.ubuntu.com/p/M5KprSc7dP/
    When I tried running boot -repair to fix it , it never returned and seemed to do nothing. For 12 hours it said "Applying changes: This may take several minutes". until I stopped it. Does anyone have ideas what is wrong and how to fix this?
    Thanks,
    Jim

  2. #2
    Join Date
    May 2008
    Beans
    4,509
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Upgrading From 20.04 to 22.04 Failed

    In your image, there is the text:-
    EFI System Partition (ESP) not usable
    Your EFI System partition (ESP) is not mounted at /boot/efi
    Please ensure that it is properly configured and try again.
    Line 138 - nvme0n1 : is-GPT, no-BIOSboot, hashidESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
    I imagine that this means the ESP is hidden and therefore grub could not be restored correctly.

    Either boot into Windows and see if Disk management can adjust the ESP to "reveal or unhide or make visible".
    Or boot into a live Ubuntu session, open Gparted and double check the ESP flags.

  3. #3
    Join Date
    Oct 2022
    Beans
    6

    Re: Upgrading From 20.04 to 22.04 Failed

    Thanks after I unhid the ESP I tried running a do-release-upgrade to finish the new release upgrade process. A message told me I had to finish updating first so I ran
    sudo apt update
    and
    sudo apt upgrade
    Then I got a message stating I needed to reboot. After this I could still only boot into recovery mode and the keyboard no longer worked. I tried connecting an external keyboard and that wouldn't work either. I guess the upgrade messed things up further. Wondering where to go from here without being able to enter commands? Should I try chrooting into the system partition from a Live USB and try the do-release-upgrade that way?
    Thanks
    Jim

  4. #4
    Join Date
    Oct 2017
    Location
    /dev/sdx
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Upgrading From 20.04 to 22.04 Failed

    Quote Originally Posted by jim-ruxton View Post
    Then I got a message stating I needed to reboot. After this I could still only boot into recovery mode and the keyboard no longer worked. I tried connecting an external keyboard and that wouldn't work either. I guess the upgrade messed things up further.
    Have you tried to run a New Ubuntu 22.04 release via live usb? Its seems that you have really missed things up. If keyboard wont work anymore even in tty I prefer to run a Ubuntu 22.04 live usb for this. Regards and cheers.
    corn ubuntuforums community.
    Open Source platform where the real world of human is here. Click here for Solve thread

  5. #5
    Join Date
    Oct 2022
    Beans
    6

    Re: Upgrading From 20.04 to 22.04 Failed

    Thanks. Yes I am downloading the iso now. Time to start with a fresh install I think.

  6. #6
    Join Date
    Apr 2007
    Beans
    3,146
    Distro
    Ubuntu

    Re: Upgrading From 20.04 to 22.04 Failed

    One way to rescue your bricked update while preserving user data and config on disk is a reinstall where you do not format the target file system.

  7. #7
    Join Date
    Oct 2022
    Beans
    6

    Re: Upgrading From 20.04 to 22.04 Failed

    Thanks. Yes the only way I got back to a working system was a fresh install. I was able to save my home partition.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •