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

Thread: Grub Rescue

  1. #1
    Join Date
    Dec 2009
    Beans
    186

    Grub Rescue

    My PC was OFF when my UPC battery failed. However, when I booted up the screen came up into "grub rescue>" mode.

    grub rescue> set yields:
    cmdpath=(hd0)
    lang=
    locale_dir=
    prefix=(hd0,msdos1)/boot/grub
    root=hd0,msdos1
    secondary_locale_dir=

    I tried grub rescue> intmod normal:
    error: symbol 'grub_calloc' not found
    I tried grub rescue> boot
    error: you need to load the kernel first (I believe the latest kerrnel is linux 5.8.0-38 generic)

    I am unable to get to the regular Terminal screen to update or upgrade Grub.

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

    Re: Grub Rescue

    Lets see details, use ppa version with your live installer (2nd option) or any working install, not Boot-Repair ISO:
    Please copy & paste the pastebin link to the Boot-info summary report ( do not post report), do not run the auto fix till reviewed.
    https://help.ubuntu.com/community/Boot-Repair
    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
    Jun 2014
    Beans
    7,343

    Re: Grub Rescue

    If you are getting grub rescue it is because the grub configuration file can't be found. When you boot, enter the command below and try it

    .
    grub> configfile (hd0,msdos1)/boot/grub/grub.cfg
    If that fails, make not of the exact error and post back.

  4. #4
    Join Date
    Dec 2009
    Beans
    186

    Re: Grub Rescue

    Need help with Oldfred's PPA and other requests.

    Tried configfile (hd0,msdos1)/boot/grub/grub.cfg:
    Unknown command 'configfile'.

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

    Re: Grub Rescue

    I do not know difference but grub rescue> and grub> are different errors.

    Best just to run Boot-Repair and post link to its Summary Report.
    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.

  6. #6
    Join Date
    Dec 2009
    Beans
    186

    Re: Grub Rescue

    I finally got Boot Repair to run out of the Grub Rescue> Safe file. The Paste file is at: https://paste.ubuntu.com/p/RWhX8TDRvp/

    I have not run the Repair part until I hear from the forum.

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

    Re: Grub Rescue

    You have two hard drives - sda has windows on it - sdb has Ubuntu on it. Make sure that the BIOS utility is giving sdb the boot priority. At the Grub menu select Advanced Options for Ubuntu. Then select a Linux kernel with Recovery mode.

    At the recovery menu select Network to set up an internet connection. Then select Root. That will give you a root shell prompt where you can run

    Code:
    update-grub
    grub-install /dev/sdb
    When finished type exit to get back to the recovery menu and select Resume to load Ubuntu with a low resolution open source video driver. If you get that far - reboot to load Ubuntu with your normal video driver.

    See how that goes.

    Regards
    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


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

    Re: Grub Rescue

    Do not run autofix from Boot-Repair as it installs grub to MBR of all drives.
    You really want Windows boot loader in MBR of sda.

    Only use Boot-Repair's advanced mode, and choose an operating system and drive to install boot loader into.
    Boot-Repair may install a Windows type (syslinux) boot loader to sda & grub to MBR of sdb.
    Otherwise use your Windows repair/recovery flash drive to install a Windows boot loader to sda.

    You have older BIOS/MBR configuration.
    While you have to have MBR for Windows to boot in BIOS mode, I suggest planning to convert any new or reformatted drive that is just Linux or data to gpt.
    That is more a longer term planning. But I started converting to gpt in 2010.
    GPT Advantages (older 2010 but still valid) see post#2 by srs5694:
    http://ubuntuforums.org/showthread.php?t=1457901 &
    https://wiki.archlinux.org/index.php...antages_of_GPT
    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
    Dec 2009
    Beans
    186

    Re: Grub Rescue

    I went completely through grahammechanical's suggestions and the PC came up correctly. I then did a Restart and several turn OFF and turn ON boots. The PC seems to be functioning normally.

    I will go through oldfred's reference posts to learn more about GPT. I did not use the Boot Repair Tools boot repair recommendations; only the Boot-Info Summary Report. If I need to use the Boot Repair Tool, please let me know.

    I will show this issue as SOLVED. Thank you!

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

    Re: Grub Rescue

    Grub only boots working Windows.
    So best to have Windows boot loader in the Windows drive and set Ubuntu drive as default boot.
    When Windows does not work you then from BIOS can directly boot Windows and maybe repair it.
    Still best to have a Windows repair/recovery flash drive for Windows.

    Windows fast start up is often turned back on with updates which sets hibernation flag.
    Then grub also will not boot it.
    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.

Page 1 of 2 12 LastLast

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
  •