Results 1 to 7 of 7

Thread: Apt-get updates & upgrade and reboot = grub rescue menu

  1. #1
    Join Date
    Jan 2021
    Beans
    9

    Apt-get updates & upgrade and reboot = grub rescue menu

    Ubuntu 18.0.4 server up and running for nearly a year, so I ran apt-get update and apt-get upgrade, and rebooted.

    Upon reboot I see the Grub rescue menu. Rebooting and choosing the hard drive from the BIOS menu leads to same Grub rescue place.

    Other sites suggest using Boot-Repair tool, but booting from Live disk and using that didn't work. Specifically I was told to run the following:

    Code:
    > sudo chroot "/mnt/boot-sav/nvme1n1p3" dpkg --configure -a
    chroot: failed to run command 'dpkg': no such file or directory
    Below is the log from the Boot-Repair tool if anyone knows how to fix this, it'd be much appreciated.

    https://pastebin.com/U4g5eUaS
    Last edited by dniven; January 8th, 2021 at 05:59 AM.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    Welcome.

    Those were 2 commands.

  3. #3
    Join Date
    Jan 2021
    Beans
    9

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    Edited: command and resulting error

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    Again, those were 2 (two) different commands that you tried to run in the same line, reason why the error message very explicitly told you "'dpkg': no such file or directory".

  5. #5
    Join Date
    May 2010
    Beans
    3,246

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    I suggest you chroot in, then run the command separately.

  6. #6
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,614
    Distro
    Ubuntu

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    Nothing in the suggested repairs for your boot repair summary suggests to run that chroot command.
    Boot repair says you're in EFI mode but have no ESP partition.
    It also says to try booting in legacy mode.
    Either the ESP partition was corrupted, making it unidentifiable,
    or you somehow reset the system to boot into EFI when it was set not to.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  7. #7
    Join Date
    Jan 2021
    Beans
    9

    Re: Apt-get updates & upgrade and reboot = grub rescue menu

    Yup, I overlooked that error message (Boot repair says you're in EFI mode but have no ESP partition). I'll explore how to reinstall EFI instead.

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
  •