Stuck with grub rescue and can't enter in BIOS

8,631

If your system is set up to boot with UEFI, then you should be able to access BIOS (or actually UEFI setup) from GRUB rescue prompt using the fwsetup command.

Once in UEFI setup, you should remove boot option for GRUB. This will restore Windows Boot Loader as the default bootloader.

Share:
8,631

Related videos on Youtube

zalaw
Author by

zalaw

Updated on September 18, 2022

Comments

  • zalaw
    zalaw over 1 year

    I have dual boot with Windows 10 and Ubuntu and I've deleted Ubuntu and now I'm stuck with
    error: no such partition.
    Entering rescue mode...
    grub rescue>
    I read that I have to enter in BIOS before grub loads up but I can't even do that (I pressed F2, F10, F12, Delete but it's hopeless).
    I've tried to work with ls and set in grub rescue but with no success. Is there any way I can fix that or should I buy another HDD? I don't really mind losing data but don't want to buy anything for laptop just yet.

    • gronostaj
      gronostaj about 4 years
      You didn't remove Ubuntu properly. GRUB is still your default bootloader and it's missing its files which were on Ubuntu's partition. Is your system set up using UEFI or CSM? If you don't know, do you remember (at least roughly) your partition layout? Did you follow any guide that told you to disable Secure Boot? Have you reinstalled Windows by yourself on this computer? What computer model is this? (laptop model or desktop motherboard model)
    • zalaw
      zalaw about 4 years
      I'm pretty sure it is UEFI, never seen CSM during installation. I only deleted Ubuntu through Disk Management in Windows 10 (silly me). My laptop is Lenovo G580 from 2012.
    • BenjiWiebe
      BenjiWiebe about 4 years
      Just want to point out that GRUB cannot disable BIOS/UEFI configuration access. You are either pressing the wrong keys or not pressing them soon enough.
    • gronostaj
      gronostaj about 4 years
      @BenjiWiebe If fast boot is enabled in UEFI, accessing setup may be impossible. I think it may even skip keyboard initialization, but don't quote me on that.
    • BenjiWiebe
      BenjiWiebe about 4 years
      @gronostaj I've accessed setup with fast boot enabled, so it must not usually skip keyboard init. It is hard and sometimes takes me several reboots.
  • zalaw
    zalaw about 4 years
    I get unknown command when I type fwsetup