Results 1 to 6 of 6

Thread: Other ways of entering recovery mode?(without Shift holding and esc toggle)

  1. #1
    Join Date
    May 2024
    Beans
    2

    Question Other ways of entering recovery mode?(without Shift holding and esc toggle)

    Using ubuntu 22.04 with HP-Z1-G8-Tower-Desktop-PC

    I've played a little with building softwares from source and maybe because of messing with the apt packages or the upgrade from 3 days ago might have bugged my ubuntu
    and rebooting after building (freecad and wXWidgets) the keyboard and mouse are unresponsive.
    Now I've heards somewhere you can enter from the grub menu the recovery mode and from the bash terminal there input some commands to fix the apt no keyboard and mouse detection error
    but all I'm able to access beyond the ubuntu is the HP Bios "Start up" Menu by pressing esc repeatedly and in the boot menu choose the "UEFI-ubuntu" options which just boots to the same stuck logins screen
    (Holding shift after the bios intro don't pop the grub menu)

    What are other methods to access that mono color screen of how'd access the system bash externally if for example I want to use and external nvme reader to fix it?

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

    Re: Other ways of entering recovery mode?(without Shift holding and esc toggle)

    Grub uses the same driver as UEFI/BIOS since system is not yet mounted.
    Often issue then is a setting in UEFI/BIOS for USB support or keyboard/mouse settings.

    HP - escape + F9 for UEFI boot menu, F10 for UEFI/bios settings
    But in UEFI mode Ubuntu uses escape key to get to grub menu. Just after UEFI/BIOS screen, but before grub menu would normally appear.
    You then have to try several times and/or spam the escape key to find correct timing.
    Shift was only used with BIOS installs.

    Can you boot live installer?
    Boot-Repair primarily updates or re-installs grub as fix, but report can show other configuration issues.
    Please copy & paste the pastebin link to the BootInfo summary report ( do not post report), do not run the auto fix till reviewed. Use often updated ppa version with your USB installer or any working install over somewhat older ISO.
    https://help.ubuntu.com/community/Boot-Repair &
    https://sourceforge.net/p/boot-repair/home/Home/
    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.

  3. #3
    Join Date
    May 2024
    Beans
    2

    Re: Other ways of entering recovery mode?(without Shift holding and esc toggle)

    Yes but what incase the ubuntu bios with esc doesn't work?
    Is there a way to reach the bash terminal of the broken ubuntu with another ubuntu machine (with the broken ubuntu mounted on external usb nvme reader to it)?

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

    Re: Other ways of entering recovery mode?(without Shift holding and esc toggle)

    Post link to summary report, so we can see issue.

    You can chroot into your system. And reinstall grub or make other repairs.
    UEFI chroot, must include ESP - efi system partition
    http://askubuntu.com/questions/53578...er/57380#57380
    chroot with UEFI, LVM, encryption on NVMe drive
    https://ubuntuforums.org/showthread....8#post13602088
    To chroot, you need the same 32bit or 64 bit kernel. Best to use same version.
    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.

  5. #5
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,847
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Other ways of entering recovery mode?(without Shift holding and esc toggle)

    The easy way to get to recovery mode is to show the grub menu automatically on every boot – even if just for 2 seconds. But of course, that has to be configured before your system breaks.

    I think boot repair can actually do that: unhide the grub menu. But I never tested it on recent versions of Ubuntu.

  6. #6
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Other ways of entering recovery mode?(without Shift holding and esc toggle)

    The answer to your first (main) question, is that if, at the Grub2 Boot menu, you either use a Recovery Mode Boot option, or enter 'nomodeset recovery" as kernel boot parameters... But to do either of those, you need to be able to get to the Grub2 Boot menu.

    You still need to run, the 'boot-info' info script of boot-repiar, so that people have the details to help you.

    What some have suggested... Editing the Grub2 menu to show at least 2 seconds, gives me a chance to use the Grub2 menu, in case something happens. A useful safeguard for the just-in-cases... Something I do for all my machines, and most of my customer's.

    Example, in your case: Let's say you wanted to chroot into your installed Linux OS, to edit your Grub2 defaults, so that the Grub2 Menu shows, each time you boot, so you don't have to use a hot-key to get around it being hidden... I say chroot, because that is what it would need to pick up and apply the changes on a machine that will not boot...

    "chrooting into an installed system to repair it and make change to repair it..." That is what the Ama-Gi Project LiveCD was based on to repiar Linux Systems. That is how Boot-Repair makes repairs.

    Reading all your posts... you want to do something that could be done in a chroot to repair your system. You do not provide the details to tell you how to do that. We would have to know those details of your system. We are not clairvoyant. We cannot read minds.

    I don't understand your resistance in doing that. That is shooting yourself in the foot. Without that, each additional question you ask, you will only get a generalized answer back... But not a tailored solution.

    Please run the report and post the URL to where it gets uploaded to a pastebin. Help others to be able to help you. Please be part of your own solution.
    Last edited by MAFoElffen; May 18th, 2024 at 08:39 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

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
  •