Results 1 to 7 of 7

Thread: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

  1. #1
    Join Date
    Oct 2006
    Beans
    4,619
    Distro
    Kubuntu 14.04 Trusty Tahr

    Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    I just did a fresh install of 13.10 alongside Windows 8 and grub seemed to install fine but it's not configured right. I'm dropped immediately into a grub shell and I must run the following to get the grub menu to display

    Code:
    configfile (hd0,gpt1)/efi/kubuntu/grub.cfg
    Then the menu comes up and I can boot normally. Why is it not picking up the config file by itself? I'm lost when it comes to how UEFI works.
    Last edited by FuturePilot; October 19th, 2013 at 03:31 AM.
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 2 X 1TB, 1 X 3TB HDD
    Please don't request support via PM


  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    I did not think grub.cfg was in efi partition.

    Post the link to the BootInfo report that this creates. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.
    LighterWeight (Lubuntu based) Boot-RepairCD
    http://sourceforge.net/projects/boot-repair-cd/files/
    Full Ubuntu 13.04 liveDVD or USB Flash drive Installer with Boot-Repair included (for newer computers)
    https://help.ubuntu.com/community/LinuxSecureRemix
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Mar 2011
    Beans
    511

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    I'm not familiar with Kubuntu, but for Ubuntu, the grub.cfg file (should be a 3 line stub bringing in the maintained grub.cfg from /boot/grub) is located in (EFI partition) /EFI/ubuntu/grub.cfg. This is the location grubx64.efi examines for it, so don't know if it also examines /EFI/kbuntu. Try making an ubuntu directory and putting in a copy of the grub.cfg.

  4. #4
    Join Date
    Oct 2006
    Beans
    4,619
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    Quote Originally Posted by oldfred View Post
    I did not think grub.cfg was in efi partition.

    Post the link to the BootInfo report that this creates. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.
    LighterWeight (Lubuntu based) Boot-RepairCD
    http://sourceforge.net/projects/boot-repair-cd/files/
    Full Ubuntu 13.04 liveDVD or USB Flash drive Installer with Boot-Repair included (for newer computers)
    https://help.ubuntu.com/community/LinuxSecureRemix
    The grub.cfg file that is in the EFI partition is just a stub that points to the full config file that is on the root partition. Here is the output from boot-repair

    http://paste.ubuntu.com/6264913/

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    Yours is the first I have seen with the bug fixes to the grub2's os-prober. Boot-Repair then does not have to add the additional boot stanzas in 25_custom unless it is a buggy UEFI where the Windows efi file has to be renamed.

    The buggy UEFI issue is that some vendors have modified UEFI to only boot the Windows file with secure boot on. But since grub2's shim file has the Microsoft signing key it will boot if it has the Windows name. So the work around is to rename shim to be Windows and boot into grub and from grub boot a backup copy of the actual Windows file.

    You have the signed versions installed so you should be able to boot with secure boot on or off.

    I do not think an ubuntu folder is needed. With UEFI you can have an unlimited (except for space) number of folders each with different boot files. UEFI then should offer to boot from each folder.

    I do not know details, but some UEFI still have issues. Do you have the latest UEF/BIOS from vendor.
    Some have also found that rEFInd helps. It is another boot manager. Both UEFI and grub act as boot managers, but grub also is a boot loader.

    Alternative efi boot Manager for UEFI limited systems:
    https://wiki.archlinux.org/index.php...s#Using_rEFInd
    http://www.rodsbooks.com/refind/
    http://www.rodsbooks.com/efi-bootloaders/
    http://www.rodsbooks.com/refind/getting.html
    Last edited by oldfred; October 20th, 2013 at 03:28 PM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  6. #6
    Join Date
    Mar 2011
    Beans
    511

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    @oldfred: I think the /EFI/ubuntu folder is the place grubx64.efi looks for the grub.cfg file. Putting grub.cfg in the same directory as grubx64.efi did not work for me (think I tried the /EFI/Boot directory).

  7. #7
    Join Date
    Oct 2006
    Beans
    4,619
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Fresh install grub is not configured properly, dumped to grub shell (UEFI)

    Looks like it was this bug. https://bugs.launchpad.net/ubuntu/+s...2/+bug/1242417

    I was somehow able to get it working a while ago with boot-repair. I think it had something to do with that it created an /efi/ubuntu/ dir but it should be fixed properly now according to the above bug report.
    Blog | Ubuntu User #15350 | Zsh FTW | Ubuntu Security | Nothing to hide?
    AMD Phenom II X6 1075T @ 3GHz, Nvidia GTX 650, 8GB DDR3 RAM, 2 X 1TB, 1 X 3TB HDD
    Please don't request support via PM


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
  •