Results 1 to 3 of 3

Thread: Need help recovering grub menu

  1. #1
    Join Date
    Mar 2020
    Beans
    1

    Need help recovering grub menu

    Hello,

    A little background: Iím on a thinkpad x220 and was dual booted with Ubuntu/windows 7. I decided to upgrade windows 7 to windows 10. Went well but had a few issues with drivers so I installed a fresh copy of windows 10 onto the windows partition. Windows 10 now works but I lost my grub menu and can no longer boot into Ubuntu.

    Iíve tried a lot and canít seem to figure this out. I booted Ubuntu with live media. In gparted I can see my Ubuntu partition is still there. I tried running a command in cmd on windows 10 and that didnít work either.

    Iím trying to run boot repair now via the live media but Iím getting this error:

    https://imgur.com/a/EEuzh22

    Can anyone help me out? Iím really stuck.
    Thanks!

    Edit: I generated this file with boot repair if it helps


    https://drive.google.com/file/d/1Sjz...w?usp=drivesdk

  2. #2
    Join Date
    Jun 2014
    Beans
    5,779

    Re: Need help recovering grub menu

    I installed a fresh copy of windows 10 onto the windows partition. Windows 10 now works but I lost my grub menu and can no longer boot into Ubuntu.
    Well, that should not be a surprise as that is and always has been expected behavior with a windows install. It has overwritten the boot code in the MBR of the drive and now has windows code and that is why it only boots windows. A Legacy install of windows will overwrite boot code in the MBR durin the install and the user will not be asked if that is wanted nor will the user be informed that it is happening. It is possible to use bcdedit to create a boot entry for Ubuntu but it is a very convoluted process. Reinstalling Grub is possible in a variety of ways and is what you need to do. The link below explains several ways to do this including one using boot repair since you already have it. See section 2.2 at the link below.

    https://help.ubuntu.com/community/Grub2/Installing

    Once you re-install Grub and get it working, you might clean up your kernels as you have an astounding number which are not needed or used.

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

    Re: Need help recovering grub menu

    You also need to houseclean old kernels.
    New versions of Ubuntu only keep 2 kernels.

    https://help.ubuntu.com/community/RemoveOldKernels
    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.

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
  •