Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Frozen during upgrade via GUI; will not boot

  1. #1
    Join Date
    Sep 2024
    Beans
    10

    Frozen during upgrade via GUI; will not boot

    I will preface this saying I'm not new to Ubuntu (using since '15 on the same HP laptop), but I am also not fluent with Ubuntu. I use it as an alternative to the expense of Windows. I'm also not even 50% sure of what version I was currently using when attempting to upgrade (pastebin shows 22.04), and I can only assume that upgrade was to 24.04....I was prompted ~ 09/10/24 to update. I know that's extremely vague, but I'm hoping that along with the pastebin that will provide enough information for suggestion from more experienced users.

    Approximately 1/4 to 1/3 of the way through the upgrade, the installation froze. I was unable to launch any applications, however the GUI was still "functional". I waited 24 hours, but the installation remained at the same point. This is where I should've sought advice, but I forced a shutdown/reboot via power button. CL showed multiple daemon service failures for Power Profiles and Thermal. The last messages were:
    [FAILED] Failed to start Power Profiles daemon
    [ OK ] Stopped Thermal Daemon Service
    [FAILED] Failed to start Thermal Daemon Service
    [ OK ] Finished GRUB failed boot detection
    [ OK ] Finished resolvconf-pull-resolved.service
    [ OK ] Finished Secure Boot updates for DB and DBX

    After some research here, I acquired another laptop to create a Boot-Repair-Disk and here I am. The suggestion on the documentation was to share the pastebin with the boot issue description for advice here before proceeding with "Recommended Repair". I yield to the community for suggestions. I would obviously like to repair and retain the data on my HD, either completing this installation or reverting to the old version. Thank you.

    https://paste.ubuntu.com/p/z6F3h4Fvjr/

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Frozen during upgrade via GUI; will not boot

    I am assuming that you only have Ubuntu on that machine. So, you will not see the Grub boot menu. Is the motherboard BIOS or UEFI?

    To bring up the Grub boot menu on a BIOS motherboard press the SHIFT key as the machine's splash screen loads.

    To bring up the Grub boot menu on a UEFI motherboard press the ESC key (perhaps repeatedly) as the machine's splash screen loads.

    When you get to the Grub menu select Advanced Options for Ubuntu and then select a Linux kernel with recovery mode. The machine should load Linux and show a recovery menu.

    Select Network to set up an internet connection. When back at the recovery menu select Root shell prompt. Then run

    Code:
    apt update
    followed by

    Code:
    apt upgrade
    Make a note of any error messages. The hope is that the update/upgrade will complete the online upgrade to the next Ubuntu LTS version that was interrupted. Further commands might be necessary. When finished type exit to get back to the recovery menu and then select Resume. Hopefully Ubuntu will load to the login screen and a desktop environment using an open source video driver. If Ubuntu is now usable you may be able to run more commands to fix things. You could try rebooting. That should load Ubuntu with your normal video driver (proprietary).

    You may wish to disable any proprietary video driver using Software & Updates>Additional drivers tab. I am of the opinion that before doing an online upgrade proprietary video drivers should be disabled especially Nvidia drivers as Nvidia usually drops support for its video drivers over time.

    Regards
    Last edited by grahammechanical; September 22nd, 2024 at 09:40 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Sep 2024
    Beans
    10

    Re: Frozen during upgrade via GUI; will not boot

    Yes, Ubuntu is the only OS on the device. As far as BIOS or EFI...I don't know, but I assume BIOS because... According to your instructions, holding (either) SHIFT key during boot does nothing. Repeatedly pressing ESC during boot gets me to the system BIOS. Exiting from BIOS gets me to the grub> prompt. However, the pastebin shows the following, so I'm led to believe it is EFI:

    The firmware seems EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).

    From the prompt I do not know how to get to the GRUB menu, but I assume that's not possible with the following message in the pastebin:

    => No boot loader is installed in the MBR of /dev/sda.

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

    Re: Frozen during upgrade via GUI; will not boot

    After a frozen upgrade and a forced shutdown, the first priority is to backup your personal data.
    Also, you may have damaged filesystems and fsck (file system check) may be necessary.
    Quote Originally Posted by wsmin View Post
    Repeatedly pressing ESC during boot gets me to the system BIOS. Exiting from BIOS gets me to the grub> prompt.
    Code:
    grub>normal #hit enter key
    or
    Code:
    grub>exit #hit enter key
    Anything transpire?
    Code:
    No boot loader is installed in the MBR of /dev/sda
    This is correct for UEFI systems
    You have boot files in your ESP (sda1) - see lines 7 to 15 of the boot-repair report.

  5. #5
    Join Date
    Sep 2024
    Beans
    10

    Re: Frozen during upgrade via GUI; will not boot

    I am unable to run fsck from the grub> prompt. Upon research it appears that needs to be done when I boot Live.
    Should I attempt the following process to check the filesystem, or proceed with the "recommended Repair" on the Boot-Repair?

    "For 18.04 or newer... you MUST do it this way...
    • boot to a Ubuntu Live DVD/USB
    • open a terminal window by pressing Ctrl+Alt+T
    • type sudo fdisk -l
    • identify the /dev/sdXX device name for your "Linux Filesystem"
    • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
    • repeat the fsck command if there were errors
    • type reboot


    "
    _____________

    At the grub> prompt, both 'exit' and 'normal' end in the same results:

    common_interrupt: 1.55 No irq handler for vector
    common_interrupt: 2.55 " "
    common_interrupt: 3.55 " "
    /dev/sda2: clean..........
    /usr/lib/systemd/system-generators/netplan failed with exit status 127


    idles for a few minutes, then attempts booting GUI, wherein I hit ESC to show the long list of originally posted [FAILED] and [ OK ] messages

  6. #6
    Join Date
    May 2008
    Beans
    4,453
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Frozen during upgrade via GUI; will not boot

    I did not expect you to try and run fsck from the grub prompt.
    File system check has to be run on unmounted partitions, usually during a live session

    Please confirm that you have backed up your data?.

  7. #7
    Join Date
    Sep 2024
    Beans
    10

    Re: Frozen during upgrade via GUI; will not boot

    This is where my lack of Ubuntu knowledge comes into play. I did not know an fsck can only be run on an unmounted partition.

    How would I go about backing up data at this point, or were you asking if I have a recent backup prior to this "crash" occurring? And that would be a 'no'.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Frozen during upgrade via GUI; will not boot

    You have UEFI.
    Because, no boot loader in MBR (used for BIOS boot), you have an ESP - efi system partition (used for UEFI boot) and you have ESP mounted in fstab, see line 156.

    But you booted live installer in old BIOS boot mode.
    How you boot live installer, is then how it installs or repairs.
    Only boot in UEFI mode. That should be a choice as you use one time boot key in UEFI to choose boot mode. One should clearly be UEFI.

    You seem to be using Mint for repairs, line 47? That is not an official flavor of Ubuntu.

    Do you have latest UEFI firmware? Line 51 and compare to latest version available on vendors support site for your model system.

    What model HP?
    Screenshot of HP's UEFI settings change of boot order
    https://ubuntuforums.org/showthread....2490924&page=2
    https://www.phoronix.com/news/HP-BIOSCFG-For-Linux-6.6

    HP - <kbd>escape</kbd> + <kbd>F9</kbd> for UEFI boot menu, <kbd>F10</kbd> for UEFI/bios settings
    Escape key just after HP logo, but before grub menu normally appears should get you to grub menu. Timing can be an issue.
    If UEFI fast boot on, you may not have time to press a key. Make sure UEFI fast boot is off when making system changes. Or "cold" boot from full power down.
    Last edited by oldfred; September 23rd, 2024 at 05:08 PM.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    May 2008
    Beans
    4,453
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Frozen during upgrade via GUI; will not boot

    Quote Originally Posted by wsmin View Post
    How would I go about backing up data at this point, or were you asking if I have a recent backup prior to this "crash" occurring? And that would be a 'no'.
    Boot into a “Try Ubuntu” session
    Open the file manager
    Attach a formatted external device to store your backup
    Mount the partition(s) where your data resides
    Copy and paste the important files/folders to the external location
    When finished, safely remove the backup device.

    There is a wealth of backup suggestions in these forums and throughout the internet.
    Perhaps, start here https://help.ubuntu.com/community/BackupYourSystem

  10. #10
    Join Date
    Sep 2024
    Beans
    10

    Re: Frozen during upgrade via GUI; will not boot

    Quote Originally Posted by oldfred View Post
    Only boot in UEFI mode. That should be a choice as you use one time boot key in UEFI to choose boot mode. One should clearly be UEFI.

    Screenshot of HP's UEFI settings change of boot order
    https://ubuntuforums.org/showthread....2490924&page=2
    https://www.phoronix.com/news/HP-BIOSCFG-For-Linux-6.6

    HP - <kbd>escape</kbd> + <kbd>F9</kbd> for UEFI boot menu, <kbd>F10</kbd> for UEFI/bios settings
    Escape key just after HP logo, but before grub menu normally appears should get you to grub menu. Timing can be an issue.
    If UEFI fast boot on, you may not have time to press a key. Make sure UEFI fast boot is off when making system changes. Or "cold" boot from full power down.
    When pressing ESC during bootup, that brings up Startup Menu:

    "F1 System Info
    F2 System Diag
    F9 Boot Drive Options
    F10 BIOS Setup
    F11 System Recovery
    "

    F9 options are as follows:

    "USB Hard Drive (UEFI) - KingstonDataTraveler
    ubuntu (Hitachi HTSxxxxxxxxxxxx)
    Ubuntu (Hitachi HTSxxxxxxxxxxxxx)
    Boot From EFI File
    USB Hard Drive - KingstonDataTraveler
    Notebook Hard Drive

    F10 for BIOS
    "

    In BIOS, the Boot Order is:

    "UEFI Boot Order
    Internal CD/DVD ROM Drive
    USB Diskette on Key/USB Hard Drive
    OS boot Manager
    USB CD/DVD ROM Drive
    ! Network Adapter

    Legacy Boot Order
    Internal CD/DVD ROM Drive
    USB Diskette on Key/USB Hard Drive
    Notebook Hard Drive
    USB CD/DVD ROM Drive
    ! Network Adapter
    "

    I do not see an option for UEFI fast boot.

    Quote Originally Posted by oldfred View Post
    You seem to be using Mint for repairs, line 47? That is not an official flavor of Ubuntu.
    I initially tried researching a solution which led me to https://help.ubuntu.com/community/Boot-Repair
    The "1st Option" link led to https://sourceforge.net/projects/boot-repair-cd/ , which is the Mint I downloaded and created a Boot-Repair USB.

    Quote Originally Posted by oldfred View Post
    Do you have latest UEFI firmware? Line 51 and compare to latest version available on vendors support site for your model system.
    Line 51 shows F.21. Latest firmware on HP shows F.19, but that is only for Windows; Linux redirects to Kernal archives but that is completely foreign to me.

    Quote Originally Posted by oldfred View Post
    What model HP?
    Envy M6, born 05/15/2013

Page 1 of 2 12 LastLast

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
  •