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

Thread: Trusty Install GRUB Snafu

  1. #1
    Join Date
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,555
    Distro
    Ubuntu Development Release

    Question Trusty Install GRUB Snafu

    So, after upgrading to Trusty to test it out, attempting to install ElementaryOS later, and going back to Trusty, I now only have a GRUB prompt... no matter what, Ubuntu won't launch. I'm at wits-end... I've tried reinstalling GRUB by reinstalling the entire system AND chroot method, as well with no luck.

    I've also tried the boot-repair program and that was only helpful in getting me back into Windows.

    Any ideas where I can start debug this? Thanks, in-advance...
    Asus Zenbook: Solus 4.1 GNOME | Dell Latitude: Ubuntu 20.04 Server

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

    Re: Trusty Install GRUB Snafu

    Post the link to the Create BootInfo report. Is part of Boot-Repair:
    https://help.ubuntu.com/community/Boot-Info



    Best to see where you are at.
    Second install or Elementary probably has its grub in MBR, but Boot-Repair should have installed Ubuntu's grub to MBR?
    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
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,555
    Distro
    Ubuntu Development Release

    Re: Trusty Install GRUB Snafu

    Yeah, I was an idiot and never copied the pastbin...

    I can confirm boot-repair *did not* install grub to mbr.
    Asus Zenbook: Solus 4.1 GNOME | Dell Latitude: Ubuntu 20.04 Server

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

    Re: Trusty Install GRUB Snafu

    If you are getting a grub rescue prompt then Grub installed somewhere and is loading. But it may not be finding its grub.cfg file or a Linux kernel where it is expecting to find one.

    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


  5. #5
    Join Date
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,555
    Distro
    Ubuntu Development Release

    Re: Trusty Install GRUB Snafu

    Sorry for the long delay in responding; life took over for a while...

    Sadly, I'm not very familiar with the GRUB rescue prompt... precisely what commands can I use the actually get Ubuntu going, then?
    Asus Zenbook: Solus 4.1 GNOME | Dell Latitude: Ubuntu 20.04 Server

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

    Re: Trusty Install GRUB Snafu

    You can rerun BootInfo report and post new link.
    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.

  7. #7
    Join Date
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,555
    Distro
    Ubuntu Development Release

    Re: Trusty Install GRUB Snafu

    I'm leery to screw around with the boot any longer because I don't have the time to troubleshoot and/or not have a working computer; last time, it took me three days to get back into the Windows boot.

    Is that really the only/best option?

    EDIT
    Well, I'm clearly impatient because I went ahead and did what you suggested anyway oldfred after reading through the thread in your signature. I followed the second post by spryte in that thread--deleting my bios_grub partition and then using boot-repair--and that seemed to do it; however, even though I followed boot-repair's commands to a "T," I received any number of errors along the way... I've pasted them here, as well as my bootinfo:
    http://paste.ubuntu.com/7359264
    http://paste.ubuntu.com/7359326
    http://paste.ubuntu.com/7359351
    http://paste.ubuntu.com/7359354

    Now, I have one last question--at least for the moment: my laptop still boots into Windows boot manager by default, requiring me to continuously hit the ESC key to get a boot selection, to choose Ubuntu, and then I see GRUB with Windows listed. How, exactly, can I have it boot straight to GRUB or is that a bios thing?
    Last edited by moore.bryan; April 29th, 2014 at 02:35 PM.
    Asus Zenbook: Solus 4.1 GNOME | Dell Latitude: Ubuntu 20.04 Server

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

    Re: Trusty Install GRUB Snafu

    Boot-Repair usually includes this:
    sudo efibootmgr -v

    That should show the UEFI entries and one should be ubuntu. And then in your UEFI/BIOS you should be able to change boot order to make ubuntu first. Some have one list, others have two lists where one is hardware and the other just the efi folders or Windows & ubuntu entries.
    Many have reported that any Windows maintenance or updates reset Windows to first in boot order, but Ubuntu does not seem to do that.

    Some UEFI have been modified by the vendor to only boot Windows and there are work arounds for that.

    You still have a grub in the protective MBR that now will not work. But if you do try to boot in BIOS mode you will just get a grub error.

    It also looks like you are missing a Windows partition. Just like grub has to have a bios_grub to boot in BIOS mode because in gpt partitioning there is no space after MBR and grub put core.img into that space. But Windows also puts serial numbers, encryption info or DRM type data in that space in BIOS systems. So it now also has a small system reserved partition for that and it needs to be just in front of the first NTFS partition. You now have Ubuntu in front.
    I would shrink the sda3 by 128KB and create a system reserved partition.


    Order on drive is important: msftres
    http://en.wikipedia.org/wiki/Microso...rved_Partition

    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    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
    Feb 2006
    Location
    Hatboro, PA
    Beans
    2,555
    Distro
    Ubuntu Development Release

    Re: Trusty Install GRUB Snafu

    Thanks for the quick reply, oldfred, but you lost me in a lot of the technical stuff... I can boot into both Ubuntu and Windows now, no problem; however, I cannot set Windows to be the default OS loaded by GRUB, even though I have it set that way in /etc/default/grub. Any ideas there?
    Asus Zenbook: Solus 4.1 GNOME | Dell Latitude: Ubuntu 20.04 Server

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

    Re: Trusty Install GRUB Snafu

    What setting did you use in /etc/default/grub?
    I prefer to use descriptions, not a number.

    Does this entry work to boot Windows?

    Code:
    menuentry "Windows UEFI bootmgfw.efi" {
    search --fs-uuid --no-floppy --set=root 2407-37A0
    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
    }
    You must keep Windows fast boot or always on hibernation off, or you will have issues.

    find your windows entry in grub.cfg and copy to grub default like this Vista entry - If you edit your windows command use the edited copy as this must match the title exactly:
    gedit /boot/grub/grub.cfg
    and copy into grub_default here:
    gksudo gedit /etc/default/grub
    GRUB_DEFAULT=0
    change to comment # or delete old and add new :
    #GRUB_DEFAULT=0
    GRUB_DEFAULT="Windows Vista (on /dev/sda1)"
    Then do:
    sudo update-grub
    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
  •