Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Grub recovery not successful

  1. #1
    Join Date
    Mar 2006
    Location
    Cuddalore,India.
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Grub recovery not successful

    Hello!

    I was running a Windows 10 + Ubuntu 20.04 dual boot.

    I updated by Windows to latest and enlarged the size of my C drive. I found that that I couldn't go into Ubuntu anymore.

    I followed the instructions in https://help.ubuntu.com/community/Boot-Repair and tried to repair but I couldn't.

    Can you please help me to fix this? Below is the paste bin details

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

    Thank you!

  2. #2
    Join Date
    May 2008
    Beans
    1,431
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub recovery not successful

    Line 396 - The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode.

    Please boot your live session in UEFI mode, run the boot-repair again and post the new report.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Grub recovery not successful

    Since Windows is UEFI, you should have Ubuntu in UEFI boot mode.
    Follow tea for one's advice.

    But it looks like you have mount of ESP in fstab for UEFI boot, but no UEFI boot entry nor folder in ESP.
    And you have grub in gpt's protective MBR for BIOS boot, and bios_grub partition sda8. Grub seems to think it is sda11, but has correct sector.

    Or better to do an UEFI repair, not a BIOS type repair, since Windows is UEFI. And how you boot repair tool like Boot-Repair is then how it defaults to repair.

    You also show NTFS BS - boot sector issues. Lines 52, 62, & 72. You may just need to run chkdsk on each of those partition from Windows.
    NTFS wants BS sector info to match partition table info. May not be critical if not a bootable partition, but best to repair.

    Be sure to have good backups for both Ubuntu & Windows, before any changes.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Mar 2006
    Location
    Cuddalore,India.
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: Grub recovery not successful

    Thanks for the detailed explanations!

    I had boot Ubuntu live USB in UEFI mode this time and managed to successfully run the 'boot-repair's 'Recommended Repair' option. Now my laptop boots directly into Ubuntu and I am unable to go into Windows. Please help me fix this.

    Additional information:

    After selecting 'Recommended Repair', it prompted to run the following commands which I did

    sudo chroot "/mnt/boot-sav/sda10" dpkg --configure -a
    sudo chroot "/mnt/boot-sav/sda10" apt-get install -fy
    sudo chroot "/mnt/boot-sav/sda10" apt-get purge -y grub*-common shim-signed

    I had confirmation box with following question:

    Do you want to have all GRUB 2 files removed from /boot/grub?
    This will make the system unbootable unless another boot loader is installed.
    Remove GRUB 2 from /boot/grub?
    I confirmed by choosing 'Yes'

    Finally I ran this command

    sudo chroot "/mnt/boot-sav/sda10" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic

    I have also created a paste bin as soon as the process got finished
    https://paste.ubuntu.com/p/mcfnFFtnVf/

  5. #5
    Join Date
    May 2008
    Beans
    1,431
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub recovery not successful

    Line 21 - 23 - Falling back to read-only mount because the NTFS partition is in an
    unsafe state. Please resume and shutdown Windows fully (no hibernation
    or fast restarting.)

    Boot-repair will not recognise a Windows OS in hibernation state.
    You will need a Windows repair disk to boot into Windows 10 and then fully shut it down i.e. not hibernating nor fast start up.

    Then run boot-repair again in UEFI mode via an Ubuntu live session.
    This subsequent repair should then recognise the Windows 10 OS and add it to grub.

    Windows updates and manipulating disks within Windows tend to be unfriendly to dual boot systems.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Grub recovery not successful

    Since UEFI, you should be able to directly boot Windows from UEFI one time boot menu. You may need f8 then to get into Windows repair console.
    But best to have Windows repair disk.
    If BIOS install, you have to have a way to repair Windows when it turns fast start up back on, which it does with updates.

    Fast Start up off (always on hibernation), note that Windows turns this back on with updates, SHIFT + Shut down button
    http://ubuntuforums.org/showthread.p...2#post13488472
    http://www.tenforums.com/tutorials/4...dows-10-a.html
    http://www.tenforums.com/tutorials/2...dows-10-a.html
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Mar 2006
    Location
    Cuddalore,India.
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: Grub recovery not successful

    Earlier I did not hibernate the Windows. Probably I exited Windows using 'Restart' instead of 'Shutdown'.

    I ran the boot repair ('Recommended Repair' option - https://paste.ubuntu.com/p/w4FQhxvBQN/ ). But still I couldn't see Windows while booting.

    So in Boor Repair I went to 'Advanced Options' > 'GRUB location' tab and choose 'OS to boot by default' drop down from Ubuntu to Windows (https://paste.ubuntu.com/p/779PpTWJG7/). This didn't help either. So I repeated this step one more time (https://paste.ubuntu.com/p/HhrPTVftR6/). I did not notice any difference while booting.

  8. #8
    Join Date
    Mar 2006
    Location
    Cuddalore,India.
    Beans
    17
    Distro
    Ubuntu Breezy 5.10

    Re: Grub recovery not successful

    I am sorry, I missed to read the details in one of your link.

    I tried another time after turning off the fast startup option, but still I don't see Windows as an option

    I have created a paste bin from this run
    https://paste.ubuntu.com/p/T425ynZvzQ/

  9. #9
    Join Date
    May 2008
    Beans
    1,431
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Grub recovery not successful

    You are currently using Ubuntu (line 252)
    Boot successfully repaired (line 136)

    I would try
    Code:
    sudo update-grub
    Then power off and cold boot - see what happens.

    The concern seems to be with your partition sda8 (lines 20 - 21), although your Windows OS is on sda4.

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

    Re: Grub recovery not successful

    Both sda8 as bios_grub (which with UEFI you do not need) and sda3 as Windows system reserved are unformatted partitions.
    As unformatted they show as errors, but those can be ignored.

    Grub only boots working Windows. And that also means it cannot be hibernated. Nor fast start up which sets hibernation flag.
    And Windows turns hibernation/fast start up back on with updates. If grub does not boot Windows, you then have to directly boot Windows from UEFI and turn it off again. Then grub should boot it.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 4 123 ... 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
  •