Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: win8 Ubuntu14.4 UEFI boot failure

  1. #1
    Join Date
    Oct 2013
    Beans
    11

    win8 Ubuntu14.4 UEFI boot failure

    Having great difficulty with dual boot Win8 and Ubuntu.
    Tried to reinstall Ubuntu to go from 13.10 to 14.4.
    Ended up restoring the HP-G7 laptop Win8 to factory state, then install 14.4, which looked like a clean install. Laptop boots directly to Win8. Booted ubuntu dvd, installed and ran boot-repair, still boots directly to Win8.

    Here is the diag info from boot-repair.



    Please write on a paper the following URL:
    http://paste.ubuntu.com/7584715/

    In case you still experience boot problem, indicate this URL to:
    boot.repair@gmail.com or to your favorite support forum.

    No change has been performed on your computer.

    Any help would be appreciated.



    Thanks..... Jeff

  2. #2
    Join Date
    Apr 2014
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: win8 Ubuntu14.4 UEFI boot failure

    Have you turned off the secure boot in W8? Did you tinker with UEFI and legacy BIOS option? Both windows and Ubuntu need to be installed in same mode.

    -waits for oldfred to push the boat-

  3. #3
    Join Date
    Oct 2013
    Beans
    11

    Re: win8 Ubuntu14.4 UEFI boot failure

    prior to 14.4 install, did disable secure boot in win8, uefi was still enabled (not in legacy mode). used Ubuntu 14.4 dvd with internet connected, install had no errors, boots to win8 no indication of grub.

  4. #4
    Join Date
    Oct 2013
    Beans
    11

    Re: win8 Ubuntu14.4 UEFI boot failure

    I looked at the sda3 defined in the paste from boot-repair, it looks like this is an invalid or undefined format. I looked at the partition (sda3) with gparted and gparted shows a red flag and unknown as to format. Is this the problem? Where is the grub supposed to be located? Sorry I am not more knowledgeable.

  5. #5
    squakie is offline I Ubuntu, Therefore, I Am
    Join Date
    Oct 2012
    Beans
    2,238
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: win8 Ubuntu14.4 UEFI boot failure

    Don't worry about SDA3 at this point. What does boot-repair say it would do *IF* you ok'd it (but don't ok it!)?

    Also, have you read the many threads on Win 8 uefi in dual boot with ubuntu? Many, many, MANY of these. Check threads from oldfred - they are an expert on this have links to several posts to help.

    I seem to remember that besides turning off secure boot, you also have to turn off fast boot.

    I'm suspecting you just need to let boot-repair do its thing at this point. If you have just completely reloaded your system as you say you really don't have much to lose.

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

    Re: win8 Ubuntu14.4 UEFI boot failure

    Every HP I have seen so far has had issues.
    They seem to have modified UEFI to only boot Windows, even if ubuntu entry is in UEFI when viewed directly.

    Your sda3 is Windows system reserved and required by Windows. It is like unformatted scratch space for it to hide serial numbers, DRM info, etc. In MBR it used the sectors after the MBR but before first partition.
    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx

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

    Many with HP used a manual rename. You can use Boot-REpairs rename or 'buggy' UEFI fix but that can cause issues on Windows updates later.

    It seems hp firmware do not allow you to boot anything other than windows. Hence no ubuntu option in the UEFI. To work around it
    1) press esc key while booting to access start up menu 2) press F9 for boot devices menu.
    [SOLVED] Trying to install Ubuntu as dual boot on Windows 8.1 desktop HP500
    http://ubuntuforums.org/showthread.php?t=2218154

    HP 4545s Secure boot off, manually copy files.
    http://ubuntuforums.org/showthread.php?t=2133796
    HP Manually renamed files to make it work.
    http://ubuntuforums.org/showthread.php?t=2131886

    I have seen all these used:

    Systems that only boot Windows from UEFI. Work arounds -Often Sony & HP, maybe others
    A: Manually rename files either bootmfg.efi and/or bootx64.efi :
    Users who manually moved efi files around see post #6
    http://ubuntuforums.org/showthread.php?t=2101840
    http://ubuntuforums.org/showthread.php?t=2219452
    some find this changing this to be shim or grub /EFI/Boot/bootx64.efi
    Then booting device or hard drive works also.
    http://ubuntuforums.org/showthread.p...9#post13012109

    B:Boot_Repair rename Windows bootmfg.efi. But cannot boot Windows from UEFI only grub
    Always say no until proven that you only can boot Windows entry from UEFI menu.
    buggy-kernel detected. Do you want to activate [Backup and rename Windows EFI files]? yes (if any choice fails, please retry with the other)
    To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.

    Any rename either manually or with Boot-Repair will need to be redone after a Windows update as it will restore Windows files.

    C: Edit Windows BCD, one Alternative to Boot-Repairs rename of shim.
    Some systems work better to register grub/shim from inside Windows - for those that keep resetting Windows as default
    http://askubuntu.com/questions/37155...3-10-dual-boot
    bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
    https://coderwall.com/p/vfyqkg

    D: If Description has to be Windows then change UEFI description.
    sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\ubuntu\shimx64.efi"

    E: Some install rEFInd which seems to be another workaround and has nice boot icons.
    http://www.rodsbooks.com/refind/index.html
    http://www.rodsbooks.com/refind/secureboot.html
    Last edited by oldfred; December 23rd, 2014 at 06:57 PM.
    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
    Oct 2013
    Beans
    11

    Re: win8 Ubuntu14.4 UEFI boot failure

    I saw your long set of suggestions before I posted to this forum. I wish I knew enough to try one or more of your suggestions, but I do not.My efi partition looks like this:
    Boot files: /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
    /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
    /EFI/HP/BIOSUpdate/CryptRSA.efi
    /EFI/HP/BIOSUpdate/CryptRSA32.efi
    /EFI/HP/BIOSUpdate/HpBiosUpdate.efi
    /EFI/HP/BIOSUpdate/HpBiosUpdate32.efi
    /EFI/HP/SystemDiags/CryptRSA.efi
    /EFI/HP/SystemDiags/CryptRSA32.efi
    /EFI/HP/SystemDiags/SystemDiags.efi
    /EFI/HP/SystemDiags/SystemDiags32.efi
    /EFI/HP/boot/bootmgfw.efi /EFI/HP/boot/bootmgr.efi
    /EFI/HP/boot/memtest.efi
    /EFI/Microsoft/Boot/bootmgfw.efi
    /EFI/Microsoft/Boot/bootmgr.efi
    /EFI/Microsoft/Boot/memtest.efi
    /EFI/HP/EFI/Boot/bootx64.efi

    Booting with escape and pf9 shows two ubuntu items, but when selected it looks like a grub output, and choosing ubuntu gives error of /boot/vmlinuz... not found??
    unaligned pointer 0x848d9cc8 Aborted. press any key to exit.
    I never see grub on a normal boot, only from pf9.
    You indicate to do a rename, how would I do that, and what should I rename?

    Thanks for your help

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

    Re: win8 Ubuntu14.4 UEFI boot failure

    I think some with HP have said your boot method works, its only when you want to be able to set it as a default in UEFI menu.

    It is this file/folder
    /EFI/Boot/bootx64.efi

    And you copy grub or shim into the above folder and rename grub or shim to be bootx64.efi. Of course rename bootx64.efi first. Probably best to back up entire efi partition first also.
    Copy from here:

    /EFI/ubuntu/grubx64.efi
    /EFI/ubuntu/shimx64.efi
    Not sure which or if either works. I would expect you need shim if secure boot on.
    Then you should be able to set hard drive as default boot and it should work.

    But issue from one time boot key, may be something else?
    You could run the full uninstall and reinstall of grub that Boot-Repair suggests. May sure Internet is working as it has to have Internet to download a new copy of grub.

    Some systems require boot parameters.

    At grub menu you can use e for edit, scroll to linux line and replace quiet splash with nomodeset.
    How to set NOMODESET and other kernel boot options in grub2 - both BIOS liveCD & grub first boot ( also UEFI with grub)
    http://ubuntuforums.org/showthread.php?t=1613132
    Possible boot options suggested by ubfan1
    http://ubuntuforums.org/showthread.p...0#post12871710


    And a few really require the newest kernel, support software and video drivers that will be in the next Ubuntu in 14.10. There are ppa's to more easily install all that, similar to how you installed Boot-Repair.
    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.

  9. #9
    Join Date
    Oct 2013
    Beans
    11

    Re: win8 Ubuntu14.4 UEFI boot failure

    I did a reinstall of ubuntu, pointing boot loader to sda2 (the fat32 part with efi files)
    Still boots directly to win8
    ran boot-repair with defaults
    get an error in boot repair
    using pf9 at boot time I can select ubuntu and get a grub load, but only ubuntu and the win8 restore are in the list


    if I select EFI then win8 boots


    next rename /boot/efi/EFI/bootx64.efi to bootx64.efi.bkup
    copy /boot/efi/EFI/ubuntu/shimx64.efi to /boot/efi/EFI as bootx64.efi
    still boots directly to win8


    next
    copy /boot/efi/EFI/ubuntu/grubx64.efi to /boot/efi/EFI as bootx64.efi
    still boots directly to win8


    next run boot-repair using all the default selection and add check to “use the standard EFI file”
    boot repair gets to removing grub, then says grub still there????


    I notice that boot-repair installs something from 13.10, I an running 14.4, is that part of the problem?


    I found shimx64.efi in boot/efi/EFI so made a bkup and removed
    still boots directly to win8
    pf9 and select EFI boots to win8
    pf9 and select ubuntu boots grub with ubuntu and win8 for restore only, no regular win8
    select ubuntu and ubuntu boots


    looks to me that the boot process does not look at the files we have been renaming.


    Run boot-repair again using default selections
    error unable to locate package grubx64.efi.bkup ??
    then it quits
    I will remove the grubx64.efi.bkup from there and try again.
    error unable to locate package grubx64.efi.bkup even tho I removed it!!
    will reboot and try again.


    Boot-repair says efi detected, check options, so I checked use efi
    An error occurred during the repair. Not same as above.

    http://paste.ubuntu.com/7595345/


    still boots directly to win8

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

    Re: win8 Ubuntu14.4 UEFI boot failure

    You do have to go into UEFI and set hard drive as first in Boot order. Not sure with HP but most have said they could not set ubuntu entry to be first, but can set hard drive as first in boot order and that work. Otherwise you only can use one time boot key or try the other solutions I posted.

    You have this:
    BootOrder: 3001,3000,3002,2001,2002,2003
    Boot0001* Windows Boot Manager
    Boot0002* Ubuntu
    Boot2001* USB Drive (UEFI)
    Boot2002* Internal CD/DVD ROM Drive (UEFI)
    Boot3000* Internal Hard Disk or Solid State Disk
    Boot3001* Internal Hard Disk or Solid State Disk
    Boot3002* Internal Hard Disk or Solid State Disk
    But there are 4 versions starting at line 9008. Not sure why. I assume one is BIOS, one is secure boot and one is UEFI. Perhaps one is last boot? Not sure and have not seen anything that details that inside UEFI.

    sudo efibootmgr -v

    http://linux.dell.com/cgi-bin/gitweb...README;hb=HEAD
    http://software.intel.com/en-us/arti...and-scripting/

    Launch EFI Shell from File System Device
    https://wiki.archlinux.org/index.php...ace#UEFI_Shell
    Attached Images Attached Images
    Last edited by oldfred; June 5th, 2014 at 10:25 PM.
    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 3 123 LastLast

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
  •